Home | History | Annotate | Download | only in Scalar

Lines Matching full:instruction

22 #include "llvm/IR/Instruction.h"
45 Instruction *Inst = DI++;
63 "Dead Instruction Elimination", false, false)
95 std::vector<Instruction*> WorkList;
105 Instruction *I = WorkList.back();
108 if (isInstructionTriviallyDead(I, TLI)) { // If the instruction is dead.
109 // Loop over all of the values that the instruction uses, if there are
114 if (Instruction *Used = dyn_cast<Instruction>(*OI))
117 // Remove the instruction.
120 // Remove the instruction from the worklist if it still exists in it.