Home | History | Annotate | Download | only in AArch64

Lines Matching full:instruction

15 // constant pool during instruction selection already; therefore, the access
120 typedef DenseMap<Instruction *, Uses> InsertionPoints;
126 Instruction *findInsertionPoint(Use &Use);
135 /// \pre NewPt and all instruction in InsertPts belong to the same function
138 bool isDominated(Instruction *NewPt, Use &Use, InsertionPoints &InsertPts);
147 /// \pre NewPt and all instruction in InsertPts belong to the same function
152 bool tryAndMerge(Instruction *NewPt, Use &Use, InsertionPoints &InsertPts);
186 static void appendAndTransferDominatedUses(Instruction *NewPt, Use &Use,
195 Instruction *OldInstr = IPI->first;
234 /// Check if the given use (Instruction + OpIdx) of Cst should be converted into
239 static bool shouldConvertUse(const Constant *Cst, const Instruction *Instr,
241 // shufflevector instruction expects a const for the mask argument, i.e., the
246 // extractvalue instruction expects a const idx.
250 // extractvalue instruction expects a const idx.
270 // Give up on that instruction.
274 // Switch instruction expects constants to compare to.
331 Instruction *AArch64PromoteConstant::findInsertionPoint(Use &Use) {
332 Instruction *User = cast<Instruction>(Use.getUser());
342 bool AArch64PromoteConstant::isDominated(Instruction *NewPt, Use &Use,
352 // When IPI.first is a terminator instruction, DT may think that
368 bool AArch64PromoteConstant::tryAndMerge(Instruction *NewPt, Use &Use,
401 "Instruction has not been rejected during isDominated check!");
402 // Take the last instruction of the CommonDominator as insertion point
422 Instruction *User = dyn_cast<Instruction>(Use.getUser());
424 // If the user is not an Instruction, we cannot modify it.
436 Instruction *InsertionPoint = findInsertionPoint(Use);
543 for (Instruction &I : inst_range(&F)) {