Home | History | Annotate | Download | only in InstCombine

Lines Matching refs:Instruction

14 #include "llvm/Instruction.h"
26 SmallVector<Instruction*, 256> Worklist;
27 DenseMap<Instruction*, unsigned> WorklistMap;
36 /// Add - Add the specified instruction to the worklist if it isn't already
38 void Add(Instruction *I) {
46 if (Instruction *I = dyn_cast<Instruction>(V))
53 void AddInitialGroup(Instruction *const *List, unsigned NumEntries) {
59 Instruction *I = List[NumEntries-1];
66 void Remove(Instruction *I) {
67 DenseMap<Instruction*, unsigned>::iterator It = WorklistMap.find(I);
76 Instruction *RemoveOne() {
77 Instruction *I = Worklist.back();
83 /// AddUsersToWorkList - When an instruction is simplified, add all users of
84 /// the instruction to the work lists because they might get more simplified
87 void AddUsersToWorkList(Instruction &I) {
90 Add(cast<Instruction>(*UI));