Home
last modified time | relevance | path

Searched refs:FIE (Results 1 – 11 of 11) sorted by relevance

/llvm-project-15.0.7/bolt/lib/Passes/
H A DFrameAnalysis.cpp80 OS << "FrameIndexEntry<IsLoad: " << FIE.IsLoad << ", IsStore: " << FIE.IsStore in operator <<()
83 if (FIE.StackOffset < 0) in operator <<()
120 FrameIndexEntry FIE; member in llvm::bolt::__anon1bb11fe30111::FrameAccessAnalysis
128 Inst, FIE.IsLoad, FIE.IsStore, FIE.IsStoreFromReg, Reg, SrcImm, in decodeFrameAccess()
129 FIE.StackPtrReg, StackOffset, FIE.Size, FIE.IsSimple, IsIndexed)) { in decodeFrameAccess()
133 if (IsIndexed || (!FIE.Size && (FIE.IsLoad || FIE.IsStore))) { in decodeFrameAccess()
141 assert(FIE.Size != 0 || (!FIE.IsLoad && !FIE.IsStore)); in decodeFrameAccess()
143 FIE.RegOrImm = SrcImm; in decodeFrameAccess()
144 if (FIE.IsLoad || FIE.IsStoreFromReg) in decodeFrameAccess()
145 FIE.RegOrImm = Reg; in decodeFrameAccess()
[all …]
H A DShrinkWrapping.cpp54 if ((!FIE->IsSimple || FIE->StackOffset >= 0) && FIE->IsStore && in analyzeSaves()
62 if (!FIE->IsStore || !FIE->IsStoreFromReg || in analyzeSaves()
108 SaveFIEByReg[FIE->RegOrImm] = &*FIE; in analyzeSaves()
111 OffsetsByReg[FIE->RegOrImm] = FIE->StackOffset; in analyzeSaves()
129 if (!FIE->IsLoad || !CalleeSaved[FIE->RegOrImm]) { in analyzeRestores()
139 if (!FIE->IsSimple || FIE->StackOffset >= 0 || in analyzeRestores()
148 if (FIE->StackOffset != OffsetsByReg[FIE->RegOrImm]) { in analyzeRestores()
160 LoadFIEByReg[FIE->RegOrImm] = &*FIE; in analyzeRestores()
446 if (!FIE) in canCollapseRegion()
470 if (!FIE) in collapseRegion()
[all …]
H A DStackAvailableExpressions.cpp37 ErrorOr<const FrameIndexEntry &> FIE = FA.getFIEFor(Inst); in preflight() local
38 if (!FIE) in preflight()
40 if (FIE->IsStore == true && FIE->IsSimple == true) { in preflight()
125 if (ErrorOr<const FrameIndexEntry &> FIE = FA.getFIEFor(Point)) { in computeNext() local
126 if (FIE->IsStore == true && FIE->IsSimple == true) in computeNext()
H A DValidateInternalCalls.cpp230 FrameIndexEntry FIE; in analyzeFunction() local
236 if (!BC.MIB->isStackAccess(*TargetInst, FIE.IsLoad, FIE.IsStore, in analyzeFunction()
237 FIE.IsStoreFromReg, Reg, SrcImm, in analyzeFunction()
238 FIE.StackPtrReg, StackOffset, FIE.Size, in analyzeFunction()
239 FIE.IsSimple, IsIndexed)) { in analyzeFunction()
246 if (!FIE.IsLoad || FIE.StackPtrReg != BC.MIB->getStackPointer() || in analyzeFunction()
H A DStackReachingUses.cpp72 if (ErrorOr<const FrameIndexEntry &> FIE = FA.getFIEFor(Inst)) { in preflight() local
73 if (FIE->IsLoad == true) { in preflight()
116 if (ErrorOr<const FrameIndexEntry &> FIE = FA.getFIEFor(Point)) { in computeNext() local
117 if (FIE->IsLoad == true) in computeNext()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DIfConversion.cpp299 MachineBasicBlock::iterator FIE = FBBInfo.BB->end(); in MeetIfcvtSizeLimit() local
333 for (auto &I : make_range(FIE, FBBInfo.BB->end())) { in MeetIfcvtSizeLimit()
361 for (auto &I : make_range(FIB, FIE)) { in MeetIfcvtSizeLimit()
737 MachineBasicBlock::iterator &FIE, in CountDuplicatedInstructions() argument
741 while (TIB != TIE && FIB != FIE) { in CountDuplicatedInstructions()
744 FIB = skipDebugInstructionsForward(FIB, FIE, false); in CountDuplicatedInstructions()
745 if (TIB == TIE || FIB == FIE) in CountDuplicatedInstructions()
762 if (TIB == TIE || FIB == FIE) in CountDuplicatedInstructions()
800 FIE = std::next(RFIE.getReverse()); in CountDuplicatedInstructions()
936 MachineBasicBlock::iterator FIE = FalseBBI.BB->end(); in ValidForkedDiamond() local
[all …]
H A DRegisterScavenging.cpp456 int FIB = MFI.getObjectIndexBegin(), FIE = MFI.getObjectIndexEnd(); in spill() local
462 if (FI < FIB || FI >= FIE) in spill()
484 Scavenged.push_back(ScavengedInfo(FIE)); in spill()
495 if (FI < FIB || FI >= FIE) { in spill()
H A DBranchFolding.cpp1920 MachineBasicBlock::iterator FIE = FBB->end(); in HoistCommonCodeInSuccs() local
1921 while (TIB != TIE && FIB != FIE) { in HoistCommonCodeInSuccs()
1924 FIB = skipDebugInstructionsForward(FIB, FIE, false); in HoistCommonCodeInSuccs()
1925 if (TIB == TIE || FIB == FIE) in HoistCommonCodeInSuccs()
/llvm-project-15.0.7/bolt/include/bolt/Passes/
H A DFrameAnalysis.h74 raw_ostream &operator<<(raw_ostream &OS, const FrameIndexEntry &FIE);
144 void addFIEFor(MCInst &Inst, const FrameIndexEntry &FIE);
H A DShrinkWrapping.h338 WorklistItem(ActionType Action, const FrameIndexEntry &FIE, in WorklistItem()
340 : Action(Action), FIEToInsert(FIE), AffectedReg(AffectedReg) {} in WorklistItem()
470 MCInst createStackAccess(int SPVal, int FPVal, const FrameIndexEntry &FIE,
/llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfDebug.cpp309 for (const auto &FIE : V.FrameIndexExprs) in addMMIEntry() local
312 return FIE.FI == Other.FI && FIE.Expr == Other.Expr; in addMMIEntry()
314 FrameIndexExprs.push_back(FIE); in addMMIEntry()
318 [](FrameIndexExpr &FIE) { in addMMIEntry() argument
319 return FIE.Expr && FIE.Expr->isFragment(); in addMMIEntry()