Lines Matching full:instruction
22 #include "llvm/IR/Instruction.h"
49 Instruction *Inst = DI++;
67 "Dead Instruction Elimination", false, false)
103 std::vector<Instruction*> WorkList;
113 Instruction *I = WorkList.back();
116 if (isInstructionTriviallyDead(I, TLI)) { // If the instruction is dead.
117 // Loop over all of the values that the instruction uses, if there are
122 if (Instruction *Used = dyn_cast<Instruction>(*OI))
125 // Remove the instruction.
128 // Remove the instruction from the worklist if it still exists in it.