reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Transforms/InstCombine/InstructionCombining.cpp
 3392       if (isInstructionTriviallyDead(Inst, TLI)) {
 3394         LLVM_DEBUG(dbgs() << "IC: DCE: " << *Inst << '\n');
 3395         if (!salvageDebugInfo(*Inst))
 3396           replaceDbgUsesWithUndef(Inst);
 3397         Inst->eraseFromParent();
 3403       if (!Inst->use_empty() &&
 3404           (Inst->getNumOperands() == 0 || isa<Constant>(Inst->getOperand(0))))
 3404           (Inst->getNumOperands() == 0 || isa<Constant>(Inst->getOperand(0))))
 3405         if (Constant *C = ConstantFoldInstruction(Inst, DL, TLI)) {
 3406           LLVM_DEBUG(dbgs() << "IC: ConstFold to: " << *C << " from: " << *Inst
 3408           Inst->replaceAllUsesWith(C);
 3410           if (isInstructionTriviallyDead(Inst, TLI))
 3411             Inst->eraseFromParent();
 3417       for (Use &U : Inst->operands()) {
 3429           LLVM_DEBUG(dbgs() << "IC: ConstFold operand of: " << *Inst
 3439       if (!isa<DbgInfoIntrinsic>(Inst))
 3440         InstrsForInstCombineWorklist.push_back(Inst);