reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
148 if (!Inst) return V; 151 bool isInput = is_contained(InstInputs, Inst); 155 if (Inst->getParent() != CurBB) { 158 return Inst; 165 InstInputs.erase(find(InstInputs, Inst)); 168 if (PHINode *PN = dyn_cast<PHINode>(Inst)) 173 if (!CanPHITrans(Inst)) 178 for (unsigned i = 0, e = Inst->getNumOperands(); i != e; ++i) 179 if (Instruction *Op = dyn_cast<Instruction>(Inst->getOperand(i))) 187 if (CastInst *Cast = dyn_cast<CastInst>(Inst)) { 214 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(Inst)) { 253 if (Inst->getOpcode() == Instruction::Add && 254 isa<ConstantInt>(Inst->getOperand(1))) { 256 Constant *RHS = cast<ConstantInt>(Inst->getOperand(1)); 257 bool isNSW = cast<BinaryOperator>(Inst)->hasNoSignedWrap(); 258 bool isNUW = cast<BinaryOperator>(Inst)->hasNoUnsignedWrap(); 260 Value *LHS = PHITranslateSubExpr(Inst->getOperand(0), CurBB, PredBB, DT); 287 if (LHS == Inst->getOperand(0) && RHS == Inst->getOperand(1)) 287 if (LHS == Inst->getOperand(0) && RHS == Inst->getOperand(1)) 288 return Inst;