Lines Matching full:instruction
53 Instruction *Inst;
55 SimpleValue(Instruction *I) : Inst(I) {
60 return Inst == DenseMapInfo<Instruction *>::getEmptyKey() ||
61 Inst == DenseMapInfo<Instruction *>::getTombstoneKey();
64 static bool canHandle(Instruction *Inst) {
80 return DenseMapInfo<Instruction *>::getEmptyKey();
83 return DenseMapInfo<Instruction *>::getTombstoneKey();
91 Instruction *Inst = Val.Inst;
138 "Invalid/unknown instruction");
147 Instruction *LHSI = LHS.Inst, *RHSI = RHS.Inst;
157 // If we're not strictly identical, we still might be a commutable instruction
163 "same opcode, but different instruction type?");
181 "same opcode, but different instruction type?");
200 Instruction *Inst;
202 CallValue(Instruction *I) : Inst(I) {
207 return Inst == DenseMapInfo<Instruction *>::getEmptyKey() ||
208 Inst == DenseMapInfo<Instruction *>::getTombstoneKey();
211 static bool canHandle(Instruction *Inst) {
227 return DenseMapInfo<Instruction *>::getEmptyKey();
230 return DenseMapInfo<Instruction *>::getTombstoneKey();
238 Instruction *Inst = Val.Inst;
246 Instruction *LHSI = LHS.Inst, *RHSI = RHS.Inst;
384 ParseMemoryInst(Instruction *Inst, const TargetTransformInfo &TTI)
445 assert(isa<IntrinsicInst>(Inst) && "Instruction not supported");
465 /// as long as there in no instruction that reads memory. If we see a store
468 Instruction *LastStore = nullptr;
476 Instruction *Inst = I++;
496 // If the instruction can be simplified (e.g. X+0 = X) then replace it with
507 // If this is a simple instruction that we can value number, process it.
509 // See if the instruction has an available value. If so, use it.
537 // generation, replace this instruction.
554 // Otherwise, remember that we have this instruction.
561 // If this instruction may read from memory, forget LastStore.
573 // generation, replace this instruction.
586 // Otherwise, remember that we have this instruction.