Home
last modified time | relevance | path

Searched refs:FI (Results 1 – 25 of 405) sorted by relevance

12345678910>>...17

/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/MCTargetDesc/
H A DNVPTXTargetStreamer.cpp45 static bool isDwarfSection(const MCObjectFileInfo *FI, in isDwarfSection() argument
51 return Section == FI->getDwarfAbbrevSection() || in isDwarfSection()
52 Section == FI->getDwarfInfoSection() || in isDwarfSection()
53 Section == FI->getDwarfMacinfoSection() || in isDwarfSection()
54 Section == FI->getDwarfFrameSection() || in isDwarfSection()
55 Section == FI->getDwarfAddrSection() || in isDwarfSection()
56 Section == FI->getDwarfRangesSection() || in isDwarfSection()
57 Section == FI->getDwarfARangesSection() || in isDwarfSection()
58 Section == FI->getDwarfLocSection() || in isDwarfSection()
59 Section == FI->getDwarfStrSection() || in isDwarfSection()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopFlatten.cpp468 static bool checkPHIs(FlattenInfo &FI, const TargetTransformInfo *TTI) { in checkPHIs() argument
484 SafeOuterPHIs.insert(FI.OuterInductionPHI); in checkPHIs()
488 for (PHINode &InnerPHI : FI.InnerLoop->getHeader()->phis()) { in checkPHIs()
491 if (&InnerPHI == FI.InnerInductionPHI) in checkPHIs()
493 if (FI.isNarrowInductionPhi(&InnerPHI)) in checkPHIs()
500 InnerPHI.getIncomingValueForBlock(FI.InnerLoop->getLoopPreheader()); in checkPHIs()
502 InnerPHI.getIncomingValueForBlock(FI.InnerLoop->getLoopLatch()); in checkPHIs()
508 if (!OuterPHI || OuterPHI->getParent() != FI.OuterLoop->getHeader()) { in checkPHIs()
518 OuterPHI->getIncomingValueForBlock(FI.OuterLoop->getLoopLatch())); in checkPHIs()
536 FI.InnerPHIsToTransform.insert(&InnerPHI); in checkPHIs()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMIRYamlMapping.cpp22 FrameIndex::FrameIndex(int FI, const llvm::MachineFrameInfo &MFI) { in FrameIndex() argument
23 IsFixed = MFI.isFixedObjectIndex(FI); in FrameIndex()
25 FI -= MFI.getObjectIndexBegin(); in FrameIndex()
26 this->FI = FI; in FrameIndex()
31 int FI = this->FI; in getFI() local
33 if (unsigned(FI) >= MFI.getNumFixedObjects()) in getFI() local
35 formatv("invalid fixed frame index {0}", FI).str(), in getFI()
37 FI += MFI.getObjectIndexBegin(); in getFI()
39 if (unsigned(FI + MFI.getNumFixedObjects()) >= MFI.getNumObjects()) in getFI()
40 return make_error<StringError>(formatv("invalid frame index {0}", FI).str(), in getFI()
[all …]
H A DFixupStatepointCallerSaved.cpp183 void recordReload(Register Reg, int FI, const MachineBasicBlock *MBB) { in recordReload() argument
184 RegSlotPair RSP(Reg, FI); in recordReload()
191 bool hasReload(Register Reg, int FI, const MachineBasicBlock *MBB) { in hasReload() argument
192 RegSlotPair RSP(Reg, FI); in hasReload()
259 int FI = Idx->second; in getFrameIndex() local
260 LLVM_DEBUG(dbgs() << "Found global FI " << FI << " for register " in getFrameIndex()
263 assert(ReservedSlots.count(FI) && "using unreserved slot"); in getFrameIndex()
264 return FI; in getFrameIndex()
271 int FI = Line.Slots[Line.Index++]; in getFrameIndex() local
272 if (ReservedSlots.count(FI)) in getFrameIndex()
[all …]
H A DStackSlotColoring.cpp217 int FI = MO.getIndex(); in ScanForSpillSlotRefs() local
218 if (FI < 0) in ScanForSpillSlotRefs()
220 if (!LS->hasInterval(FI)) in ScanForSpillSlotRefs()
222 LiveInterval &li = LS->getInterval(FI); in ScanForSpillSlotRefs()
231 int FI = FSV->getFrameIndex(); in ScanForSpillSlotRefs() local
232 if (FI >= 0) in ScanForSpillSlotRefs()
233 SSRefs[FI].push_back(MMO); in ScanForSpillSlotRefs()
270 int FI = Register::stackSlot2Index(li.reg()); in InitializeSlots() local
271 if (MFI->isDeadObjectIndex(FI)) in InitializeSlots()
275 OrigAlignments[FI] = MFI->getObjectAlign(FI); in InitializeSlots()
[all …]
H A DPseudoSourceValue.cpp61 return MFI && MFI->isImmutableObjectIndex(FI); in isConstant()
67 return MFI->isAliasedObjectIndex(FI); in isAliased()
74 return !MFI->isSpillSlotObjectIndex(FI); in mayAlias()
78 OS << "FixedStack" << FI; in printCustom()
125 PseudoSourceValueManager::getFixedStack(int FI) { in getFixedStack() argument
128 unsigned Idx = (2 * unsigned(FI)) ^ (FI >> (sizeof(FI) * 8 - 1)); in getFixedStack()
133 V = std::make_unique<FixedStackPseudoSourceValue>(FI, TM); in getFixedStack()
H A DBasicBlockSectionsProfileReader.cpp134 auto FI = ProgramPathAndClusterInfo.end(); in ReadV1Profile() local
178 FI = ProgramPathAndClusterInfo.end(); in ReadV1Profile()
193 FI = R.first; in ReadV1Profile()
204 if (FI == ProgramPathAndClusterInfo.end()) in ReadV1Profile()
217 FI->second.ClusterInfo.emplace_back(BBClusterInfo{ in ReadV1Profile()
225 if (FI == ProgramPathAndClusterInfo.end()) in ReadV1Profile()
228 FI->second.ClonePaths.push_back({}); in ReadV1Profile()
238 FI->second.ClonePaths.back().push_back(BaseBBID); in ReadV1Profile()
252 auto FI = ProgramPathAndClusterInfo.end(); in ReadV0Profile() local
273 if (FI == ProgramPathAndClusterInfo.end()) in ReadV0Profile()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64StackTaggingPreRA.cpp74 void uncheckUsesOf(unsigned TaggedReg, int FI);
176 void AArch64StackTaggingPreRA::uncheckUsesOf(unsigned TaggedReg, int FI) {
180 // FI operand is always the one before the immediate offset. in uncheckUsesOf()
184 UseI.getOperand(OpIdx).ChangeToFrameIndex(FI); in uncheckUsesOf()
188 uncheckUsesOf(UseI.getOperand(0).getReg(), FI); in uncheckUsesOf()
196 int FI = I->getOperand(1).getIndex(); in uncheckLoadsAndStores()
197 uncheckUsesOf(TaggedReg, FI); in uncheckLoadsAndStores() local
203 int FI;
205 SlotWithTag(int FI, int Tag) : FI(F
177 uncheckUsesOf(unsigned TaggedReg,int FI) uncheckUsesOf() argument
204 int FI; global() member
229 isSlotPreAllocated(MachineFrameInfo * MFI,int FI) isSlotPreAllocated() argument
358 int FI = I.getOperand(1).getIndex(); runOnMachineFunction() local
368 for (int FI : TaggedSlots) runOnMachineFunction() local
385 int FI = I->getOperand(1).getIndex(); runOnMachineFunction() local
[all...]
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUPerfHintAnalysis.cpp219 AMDGPUPerfHintAnalysis::FuncInfo &FI = FIM[&F]; in visit() local
234 FI.IAMInstCost += Size; in visit()
236 FI.LSMInstCost += Size; in visit()
237 FI.MemInstCost += Size; in visit()
238 FI.InstCost += Size; in visit()
244 ++FI.InstCost; in visit()
254 FI.MemInstCost += Loc->second.MemInstCost; in visit()
255 FI.InstCost += Loc->second.InstCost; in visit()
256 FI.IAMInstCost += Loc->second.IAMInstCost; in visit()
257 FI.LSMInstCost += Loc->second.LSMInstCost; in visit()
[all …]
H A DAMDGPUArgumentUsageInfo.cpp65 for (const auto &FI : ArgInfoMap) { in print() local
66 OS << "Arguments for " << FI.first->getName() << '\n' in print()
67 << " PrivateSegmentBuffer: " << FI.second.PrivateSegmentBuffer in print()
68 << " DispatchPtr: " << FI.second.DispatchPtr in print()
69 << " QueuePtr: " << FI.second.QueuePtr in print()
70 << " KernargSegmentPtr: " << FI.second.KernargSegmentPtr in print()
71 << " DispatchID: " << FI.second.DispatchID in print()
72 << " FlatScratchInit: " << FI.second.FlatScratchInit in print()
73 << " PrivateSegmentSize: " << FI.second.PrivateSegmentSize in print()
74 << " WorkGroupIDX: " << FI.second.WorkGroupIDX in print()
[all …]
H A DR600FrameLowering.cpp19 R600FrameLowering::getFrameIndexReference(const MachineFunction &MF, int FI, in getFrameIndexReference() argument
32 int UpperBound = FI == -1 ? MFI.getNumObjects() : FI; in getFrameIndexReference()
42 if (FI != -1) in getFrameIndexReference()
43 OffsetBytes = alignTo(OffsetBytes, MFI.getObjectAlign(FI)); in getFrameIndexReference()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DOcamlGCPrinter.cpp115 for (std::unique_ptr<GCFunctionInfo> &FI : in finishAssembly()
117 if (FI->getStrategy().getName() != getStrategy().getName()) in finishAssembly()
120 NumDescriptors += FI->size(); in finishAssembly()
130 for (std::unique_ptr<GCFunctionInfo> &FI : in finishAssembly()
132 if (FI->getStrategy().getName() != getStrategy().getName()) in finishAssembly()
136 uint64_t FrameSize = FI->getFrameSize(); in finishAssembly()
139 report_fatal_error("Function '" + FI->getFunction().getName() + in finishAssembly()
145 Twine(reinterpret_cast<uintptr_t>(FI.get())) + ")"); in finishAssembly()
149 Twine(FI->getFunction().getName())); in finishAssembly()
152 for (GCFunctionInfo::iterator J = FI->begin(), JE = FI->end(); J != JE; in finishAssembly()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCanonicalizeFreezeInLoops.cpp94 FreezeInst *FI = nullptr; member
104 bool operator==(const FrozenIndPHIInfo &Other) { return FI == Other.FI; } in operator ==()
119 return DenseMapInfo<FreezeInst *>::getHashValue(Val.FI); in getHashValue()
124 return LHS.FI == RHS.FI; in isEqual()
183 if (auto *FI = dyn_cast<FreezeInst>(U)) { in run() local
184 LLVM_DEBUG(dbgs() << "canonfr: found: " << *FI << "\n"); in run()
185 Info.FI = FI; in run()
221 auto *FI = Item.FI; in run() local
222 LLVM_DEBUG(dbgs() << "canonfr: removing " << *FI << "\n"); in run()
223 SE.forgetValue(FI); in run()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DFaultMapParser.cpp43 const FaultMapParser::FunctionInfoAccessor &FI) { in operator <<() argument
44 OS << "FunctionAddress: " << format_hex(FI.getFunctionAddr(), 8) in operator <<()
45 << ", NumFaultingPCs: " << FI.getNumFaultingPCs() << "\n"; in operator <<()
46 for (unsigned I = 0, E = FI.getNumFaultingPCs(); I != E; ++I) in operator <<()
47 OS << FI.getFunctionFaultInfoAt(I) << "\n"; in operator <<()
58 FaultMapParser::FunctionInfoAccessor FI; in operator <<() local
61 FI = (I == 0) ? FMP.getFirstFunctionInfo() : FI.getNextFunctionInfo(); in operator <<()
62 OS << FI; in operator <<()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/
H A DDwarfTransformer.cpp222 FunctionInfo &FI, InlineInfo &Parent, in parseInlineInfo() argument
290 parseInlineInfo(Gsym, Out, CUI, ChildDie, Depth + 1, FI, II, in parseInlineInfo()
308 parseInlineInfo(Gsym, Out, CUI, ChildDie, Depth + 1, FI, Parent, in parseInlineInfo()
315 FunctionInfo &FI) { in convertFunctionLineTable() argument
317 const uint64_t StartAddress = FI.startAddress(); in convertFunctionLineTable()
318 const uint64_t EndAddress = FI.endAddress(); in convertFunctionLineTable()
346 FI.OptLineTable = LineTable(); in convertFunctionLineTable()
347 FI.OptLineTable->push(LE); in convertFunctionLineTable()
352 FI.OptLineTable = LineTable(); in convertFunctionLineTable()
379 if (!FI.Range.contains(RowAddress)) { in convertFunctionLineTable()
[all …]
H A DFunctionInfo.cpp28 raw_ostream &llvm::gsym::operator<<(raw_ostream &OS, const FunctionInfo &FI) { in operator <<() argument
29 OS << FI.Range << ": " << "Name=" << HEX32(FI.Name) << '\n'; in operator <<()
30 if (FI.OptLineTable) in operator <<()
31 OS << FI.OptLineTable << '\n'; in operator <<()
32 if (FI.Inline) in operator <<()
33 OS << FI.Inline << '\n'; in operator <<()
39 FunctionInfo FI; in decode() local
44 FI.Range = {BaseAddr, BaseAddr + Data.getU32(&Offset)}; in decode()
48 FI in decode()
[all...]
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/
H A DM68kInstrBuilder.h59 addFrameReference(const MachineInstrBuilder &MIB, int FI, int Offset = 0) {
70 MachinePointerInfo::getFixedStack(MF, FI, Offset), Flags,
71 MFI.getObjectSize(FI), MFI.getObjectAlign(FI));
72 return MIB.addImm(Offset).addFrameIndex(FI).addMemOperand(MMO);
76 addMemOperand(const MachineInstrBuilder &MIB, int FI, int Offset = 0) {
87 MachinePointerInfo::getFixedStack(MF, FI, Offset), Flags,
88 MFI.getObjectSize(FI), MFI.getObjectAlign(FI));
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DRegisterScavenging.h43 ScavengedInfo(int FI = -1) : FrameIndex(FI) {}
64 /// Record that \p Reg is in use at scavenging index \p FI. This is for
70 void assignRegToScavengingIndex(int FI, Register Reg,
73 if (Slot.FrameIndex == FI) {
112 void addScavengingFrameIndex(int FI) {
113 Scavenged.push_back(ScavengedInfo(FI));
117 bool isScavengingFrameIndex(int FI) const {
119 if (SI.FrameIndex == FI) in backward()
143 addScavengingFrameIndex(int FI) addScavengingFrameIndex() argument
148 isScavengingFrameIndex(int FI) isScavengingFrameIndex() argument
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCFixup.h90 MCFixup FI; variable
91 FI.Value = Value;
92 FI.Offset = Offset;
93 FI.Kind = Kind;
94 FI.Loc = Loc;
95 return FI;
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZInstrBuilder.h25 addFrameReference(const MachineInstrBuilder &MIB, int FI) { in addFrameReference() argument
37 MachinePointerInfo::getFixedStack(MF, FI, Offset), Flags, in addFrameReference()
38 MFFrame.getObjectSize(FI), MFFrame.getObjectAlign(FI)); in addFrameReference()
39 return MIB.addFrameIndex(FI).addImm(Offset).addReg(0).addMemOperand(MMO); in addFrameReference()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DThumb1InstrInfo.cpp116 Register SrcReg, bool isKill, int FI, in storeRegToStackSlot() argument
132 MachinePointerInfo::getFixedStack(MF, FI), MachineMemOperand::MOStore, in storeRegToStackSlot()
133 MFI.getObjectSize(FI), MFI.getObjectAlign(FI)); in storeRegToStackSlot()
136 .addFrameIndex(FI) in storeRegToStackSlot()
145 Register DestReg, int FI, in loadRegFromStackSlot() argument
161 MachinePointerInfo::getFixedStack(MF, FI), MachineMemOperand::MOLoad, in loadRegFromStackSlot()
162 MFI.getObjectSize(FI), MFI.getObjectAlign(FI)); in loadRegFromStackSlot()
164 .addFrameIndex(FI) in loadRegFromStackSlot()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCFrameLowering.cpp301 const PPCFunctionInfo *FI = MF.getInfo<PPCFunctionInfo>(); in determineFrameLayout() local
319 !FI->mustSaveTOC() && // No need to save TOC. in determineFrameLayout()
566 PPCFunctionInfo *FI = MF.getInfo<PPCFunctionInfo>(); in stackUpdateCanBeMoved() local
569 if (!RegInfo || !FI) in stackUpdateCanBeMoved()
599 if (FI->hasFastCall() || FI->usesPICBase()) in stackUpdateCanBeMoved()
640 PPCFunctionInfo *FI = MF.getInfo<PPCFunctionInfo>(); in emitPrologue() local
641 bool MustSaveLR = FI->mustSaveLR(); in emitPrologue()
642 bool MustSaveTOC = FI->mustSaveTOC(); in emitPrologue()
643 const SmallVectorImpl<Register> &MustSaveCRs = FI->getMustSaveCRs(); in emitPrologue()
701 int FPIndex = FI->getFramePointerSaveIndex(); in emitPrologue()
[all …]
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DLanai.cpp30 void computeInfo(CGFunctionInfo &FI) const override { in computeInfo()
34 if (FI.getHasRegParm()) { in computeInfo()
35 State.FreeRegs = FI.getRegParm(); in computeInfo()
40 if (!getCXXABI().classifyReturnType(FI)) in computeInfo()
41 FI.getReturnInfo() = classifyReturnType(FI.getReturnType()); in computeInfo()
42 for (auto &I : FI.arguments()) in computeInfo()
H A DPNaCl.cpp29 void computeInfo(CGFunctionInfo &FI) const override;
40 void PNaClABIInfo::computeInfo(CGFunctionInfo &FI) const { in computeInfo()
41 if (!getCXXABI().classifyReturnType(FI)) in computeInfo()
42 FI.getReturnInfo() = classifyReturnType(FI.getReturnType()); in computeInfo()
44 for (auto &I : FI.arguments()) in computeInfo()
H A DVE.cpp26 void computeInfo(CGFunctionInfo &FI) const override;
48 void VEABIInfo::computeInfo(CGFunctionInfo &FI) const { in computeInfo()
49 FI.getReturnInfo() = classifyReturnType(FI.getReturnType()); in computeInfo()
50 for (auto &Arg : FI.arguments()) in computeInfo()

12345678910>>...17