/external/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyRegNumbering.cpp | 62 WebAssemblyFunctionInfo &MFI = *MF.getInfo<WebAssemblyFunctionInfo>(); local 66 MFI.initWARegs(); 77 MFI.setWAReg(MI.getOperand(0).getReg(), MI.getOperand(1).getImm()); 86 unsigned NumArgRegs = MFI.getParams().size(); 93 if (MFI.isVRegStackified(VReg)) { 94 MFI.setWAReg(VReg, INT32_MIN | NumStackRegs++); 100 if (MFI.getWAReg(VReg) == WebAssemblyFunctionInfo::UnusedReg) 101 MFI.setWAReg(VReg, NumArgRegs + CurReg++); 105 MFI.addPReg(WebAssembly::SP32, CurReg++);
|
H A D | WebAssemblyPEI.cpp | 145 const MachineFrameInfo *MFI = Fn.getFrameInfo(); local 152 if (MFI->getSavePoint()) { 153 SaveBlocks.push_back(MFI->getSavePoint()); 154 assert(MFI->getRestorePoint() && "Both restore and save must be set"); 155 MachineBasicBlock *RestoreBlock = MFI->getRestorePoint(); 242 MachineFrameInfo *MFI = Fn.getFrameInfo(); local 243 uint64_t StackSize = MFI->getStackSize(); 261 MachineFrameInfo *MFI = Fn.getFrameInfo(); local 264 bool AdjustsStack = MFI->adjustsStack(); 293 MFI 329 MachineFrameInfo *MFI = F.getFrameInfo(); local 388 MachineFrameInfo *MFI = MF.getFrameInfo(); local 448 MachineFrameInfo *MFI = Fn.getFrameInfo(); local 517 AdjustStackOffset(MachineFrameInfo *MFI, int FrameIdx, bool StackGrowsDown, int64_t &Offset, unsigned &MaxAlign, unsigned Skew) argument 546 AssignProtectedObjSet(const StackObjSet &UnassignedObjs, SmallSet<int, 16> &ProtectedObjs, MachineFrameInfo *MFI, bool StackGrowsDown, int64_t &Offset, unsigned &MaxAlign, unsigned Skew) argument 570 MachineFrameInfo *MFI = Fn.getFrameInfo(); local [all...] |
H A D | WebAssemblyPeephole.cpp | 51 WebAssemblyFunctionInfo &MFI = *MF.getInfo<WebAssemblyFunctionInfo>(); local 79 MFI.stackifyVReg(NewReg); 80 MFI.addWAReg(NewReg, WebAssemblyFunctionInfo::UnusedReg);
|
H A D | WebAssemblyAsmPrinter.cpp | 45 const WebAssemblyFunctionInfo *MFI; member in class:__anon12768::final 49 : AsmPrinter(TM, std::move(Streamer)), MRI(nullptr), MFI(nullptr) {} 62 MFI = MF.getInfo<WebAssemblyFunctionInfo>(); 109 assert(!MFI->isVRegStackified(RegNo)); 110 unsigned WAReg = MFI->getWAReg(RegNo); 149 if (!MFI->getParams().empty()) { 152 for (MVT VT : MFI->getParams()) 174 unsigned WAReg = MFI->getWAReg(VReg); 179 if (WAReg < MFI->getParams().size()) 187 auto &PhysRegs = MFI [all...] |
H A D | WebAssemblyFrameLowering.cpp | 46 const MachineFrameInfo *MFI = MF.getFrameInfo(); local 49 return MFI->hasVarSizedObjects() || MFI->isFrameAddressTaken() || 50 MFI->hasStackMap() || MFI->hasPatchPoint() || 127 auto *MFI = MF.getFrameInfo(); local 128 assert(MFI->getCalleeSavedInfo().empty() && 131 uint64_t StackSize = MFI->getStackSize(); 132 if (!StackSize && (!MFI->adjustsStack() || MFI [all...] |
/external/llvm/lib/Target/XCore/ |
H A D | XCoreMachineFunctionInfo.cpp | 39 MachineFrameInfo *MFI = MF.getFrameInfo(); local 42 LRSpillSlot = MFI->CreateFixedObject(RC->getSize(), 0, true); 44 LRSpillSlot = MFI->CreateStackObject(RC->getSize(), RC->getAlignment(), true); 55 MachineFrameInfo *MFI = MF.getFrameInfo(); local 56 FPSpillSlot = MFI->CreateStackObject(RC->getSize(), RC->getAlignment(), true); 66 MachineFrameInfo *MFI = MF.getFrameInfo(); local 67 EHSpillSlot[0] = MFI->CreateStackObject(RC->getSize(), RC->getAlignment(), true); 68 EHSpillSlot[1] = MFI->CreateStackObject(RC->getSize(), RC->getAlignment(), true);
|
H A D | XCoreFrameToArgsOffsetElim.cpp | 49 for (MachineFunction::iterator MFI = MF.begin(), E = MF.end(); MFI != E; 50 ++MFI) { 51 MachineBasicBlock &MBB = *MFI;
|
/external/llvm/lib/Target/Mips/ |
H A D | MipsFrameLowering.cpp | 97 const MachineFrameInfo *MFI = MF.getFrameInfo(); local 101 MFI->hasVarSizedObjects() || MFI->isFrameAddressTaken() || 106 const MachineFrameInfo *MFI = MF.getFrameInfo(); local 109 return MFI->hasVarSizedObjects() && TRI->needsStackRealignment(MF); 113 const MachineFrameInfo *MFI = MF.getFrameInfo(); local 119 for (int I = MFI->getObjectIndexBegin(); I != 0; ++I) 120 Offset = std::max(Offset, -MFI->getObjectOffset(I)); 128 unsigned MaxAlign = MFI->getMaxAlignment(); 132 assert(!MFI [all...] |
H A D | Mips16FrameLowering.cpp | 38 MachineFrameInfo *MFI = MF.getFrameInfo(); local 47 uint64_t StackSize = MFI->getStackSize(); 50 if (StackSize == 0 && !MFI->adjustsStack()) return; 65 const std::vector<CalleeSavedInfo> &CSI = MFI->getCalleeSavedInfo(); 68 const std::vector<CalleeSavedInfo> &CSI = MFI->getCalleeSavedInfo(); 72 int64_t Offset = MFI->getObjectOffset(I->getFrameIdx()); 90 MachineFrameInfo *MFI = MF.getFrameInfo(); local 94 uint64_t StackSize = MFI->getStackSize(); 153 const MachineFrameInfo *MFI = MF.getFrameInfo(); local 156 return isInt<15>(MFI [all...] |
/external/llvm/lib/Target/NVPTX/ |
H A D | NVPTXPrologEpilogPass.cpp | 84 AdjustStackOffset(MachineFrameInfo *MFI, int FrameIdx, argument 89 Offset += MFI->getObjectSize(FrameIdx); 91 unsigned Align = MFI->getObjectAlignment(FrameIdx); 102 MFI->setObjectOffset(FrameIdx, -Offset); // Set the computed offset 105 MFI->setObjectOffset(FrameIdx, Offset); 106 Offset += MFI->getObjectSize(FrameIdx); 119 MachineFrameInfo *MFI = Fn.getFrameInfo(); local 136 for (int i = MFI->getObjectIndexBegin(); i != 0; ++i) { 142 FixedOff = -MFI->getObjectOffset(i); 146 FixedOff = MFI [all...] |
/external/llvm/lib/CodeGen/ |
H A D | LocalStackSlotAllocation.cpp | 70 void AdjustStackOffset(MachineFrameInfo *MFI, int FrameIdx, int64_t &Offset, 74 MachineFrameInfo *MFI, bool StackGrowsDown, 105 MachineFrameInfo *MFI = MF.getFrameInfo(); local 107 unsigned LocalObjectCount = MFI->getObjectIndexEnd(); 115 LocalOffsets.resize(MFI->getObjectIndexEnd()); 123 // Tell MFI whether any base registers were allocated. PEI will only 128 MFI->setUseLocalStackAllocationBlock(UsedBaseRegs); 134 void LocalStackSlotPass::AdjustStackOffset(MachineFrameInfo *MFI, argument 140 Offset += MFI->getObjectSize(FrameIdx); 142 unsigned Align = MFI 167 AssignProtectedObjSet(const StackObjSet &UnassignedObjs, SmallSet<int, 16> &ProtectedObjs, MachineFrameInfo *MFI, bool StackGrowsDown, int64_t &Offset, unsigned &MaxAlign) argument 186 MachineFrameInfo *MFI = Fn.getFrameInfo(); local 276 MachineFrameInfo *MFI = Fn.getFrameInfo(); local [all...] |
H A D | PseudoSourceValue.cpp | 57 const MachineFrameInfo *MFI) const { 58 return MFI && MFI->isImmutableObjectIndex(FI); 61 bool FixedStackPseudoSourceValue::isAliased(const MachineFrameInfo *MFI) const { 62 if (!MFI) 64 return MFI->isAliasedObjectIndex(FI); 67 bool FixedStackPseudoSourceValue::mayAlias(const MachineFrameInfo *MFI) const { 68 if (!MFI) 71 return !MFI->isSpillSlotObjectIndex(FI);
|
H A D | PrologEpilogInserter.cpp | 131 const MachineFrameInfo *MFI = Fn.getFrameInfo(); local 138 if (MFI->getSavePoint()) { 139 SaveBlocks.push_back(MFI->getSavePoint()); 140 assert(MFI->getRestorePoint() && "Both restore and save must be set"); 141 MachineBasicBlock *RestoreBlock = MFI->getRestorePoint(); 226 MachineFrameInfo *MFI = Fn.getFrameInfo(); local 227 uint64_t StackSize = MFI->getStackSize(); 245 MachineFrameInfo *MFI = Fn.getFrameInfo(); local 248 bool AdjustsStack = MFI->adjustsStack(); 277 MFI 313 MachineFrameInfo *MFI = F.getFrameInfo(); local 372 MachineFrameInfo *MFI = MF.getFrameInfo(); local 432 MachineFrameInfo *MFI = Fn.getFrameInfo(); local 501 AdjustStackOffset(MachineFrameInfo *MFI, int FrameIdx, bool StackGrowsDown, int64_t &Offset, unsigned &MaxAlign, unsigned Skew) argument 530 AssignProtectedObjSet(const StackObjSet &UnassignedObjs, SmallSet<int, 16> &ProtectedObjs, MachineFrameInfo *MFI, bool StackGrowsDown, int64_t &Offset, unsigned &MaxAlign, unsigned Skew) argument 554 MachineFrameInfo *MFI = Fn.getFrameInfo(); local [all...] |
H A D | TargetFrameLoweringImpl.cpp | 42 const MachineFrameInfo *MFI = MF.getFrameInfo(); local 50 return MFI->getObjectOffset(FI) + MFI->getStackSize() - 51 getOffsetOfLocalArea() + MFI->getOffsetAdjustment();
|
H A D | MIRPrinter.cpp | 82 const MachineFrameInfo &MFI); 88 const MachineFrameInfo &MFI, MachineModuleInfo &MMI, 243 const MachineFrameInfo &MFI) { 244 YamlMFI.IsFrameAddressTaken = MFI.isFrameAddressTaken(); 245 YamlMFI.IsReturnAddressTaken = MFI.isReturnAddressTaken(); 246 YamlMFI.HasStackMap = MFI.hasStackMap(); 247 YamlMFI.HasPatchPoint = MFI.hasPatchPoint(); 248 YamlMFI.StackSize = MFI.getStackSize(); 249 YamlMFI.OffsetAdjustment = MFI.getOffsetAdjustment(); 250 YamlMFI.MaxAlignment = MFI 241 convert(ModuleSlotTracker &MST, yaml::MachineFrameInfo &YamlMFI, const MachineFrameInfo &MFI) argument 269 convertStackObjects(yaml::MachineFunction &MF, const MachineFrameInfo &MFI, MachineModuleInfo &MMI, ModuleSlotTracker &MST, const TargetRegisterInfo *TRI) argument [all...] |
H A D | ProcessImplicitDefs.cpp | 148 for (MachineFunction::iterator MFI = MF.begin(), MFE = MF.end(); 149 MFI != MFE; ++MFI) { 151 for (MachineBasicBlock::instr_iterator MBBI = MFI->instr_begin(), 152 MBBE = MFI->instr_end(); MBBI != MBBE; ++MBBI) 159 DEBUG(dbgs() << "BB#" << MFI->getNumber() << " has " << WorkList.size()
|
/external/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUFrameLowering.cpp | 77 const MachineFrameInfo *MFI = MF.getFrameInfo(); local 87 int UpperBound = FI == -1 ? MFI->getNumObjects() : FI; 89 for (int i = MFI->getObjectIndexBegin(); i < UpperBound; ++i) { 90 OffsetBytes = RoundUpToAlignment(OffsetBytes, MFI->getObjectAlignment(i)); 91 OffsetBytes += MFI->getObjectSize(i); 98 OffsetBytes = RoundUpToAlignment(OffsetBytes, MFI->getObjectAlignment(FI));
|
H A D | AMDGPUAsmPrinter.cpp | 104 const SIMachineFunctionInfo *MFI = MF->getInfo<SIMachineFunctionInfo>(); local 106 if (MFI->isKernel() && STM.isAmdHsaOS()) { 235 R600MachineFunctionInfo *MFI = MF.getInfo<R600MachineFunctionInfo>(); local 237 Twine("SQ_PGM_RESOURCES:STACK_SIZE = " + Twine(MFI->StackSize))); 264 const R600MachineFunctionInfo *MFI = MF.getInfo<R600MachineFunctionInfo>(); local 288 switch (MFI->getShaderType()) { 297 switch (MFI->getShaderType()) { 308 S_STACK_SIZE(MFI->StackSize), 4); 312 if (MFI->getShaderType() == ShaderType::COMPUTE) { 314 OutStreamer->EmitIntValue(RoundUpToAlignment(MFI 321 const SIMachineFunctionInfo *MFI = MF.getInfo<SIMachineFunctionInfo>(); local 536 const SIMachineFunctionInfo *MFI = MF.getInfo<SIMachineFunctionInfo>(); local 572 const SIMachineFunctionInfo *MFI = MF.getInfo<SIMachineFunctionInfo>(); local [all...] |
H A D | SIFrameLowering.cpp | 56 SIMachineFunctionInfo *MFI = MF.getInfo<SIMachineFunctionInfo>(); local 63 if (hasOnlySGPRSpills(MFI, MF.getFrameInfo())) 72 unsigned ScratchRsrcReg = MFI->getScratchRSrcReg(); 75 unsigned ScratchWaveOffsetReg = MFI->getScratchWaveOffsetReg(); 121 unsigned NumPreloaded = MFI->getNumPreloadedSGPRs() / 4; 131 MFI->setScratchRSrcReg(ScratchRsrcReg); 141 unsigned NumPreloaded = MFI->getNumPreloadedSGPRs(); 151 MFI->setScratchWaveOffsetReg(ScratchWaveOffsetReg); 227 MachineFrameInfo *MFI = MF.getFrameInfo(); local 229 if (!MFI [all...] |
/external/llvm/lib/Target/X86/ |
H A D | X86FixupLEAs.cpp | 41 bool processBasicBlock(MachineFunction &MF, MachineFunction::iterator MFI); 51 MachineFunction::iterator MFI); 58 MachineFunction::iterator MFI); 63 MachineFunction::iterator MFI); 68 MachineFunction::iterator MFI) const; 79 MachineFunction::iterator MFI); 84 MachineInstr *postRAConvertToLEA(MachineFunction::iterator &MFI, 105 FixupLEAPass::postRAConvertToLEA(MachineFunction::iterator &MFI, argument 123 MFI->insert(MBBI, NewMI); // Insert the new inst 153 return TII->convertToThreeAddress(MFI, MBB 198 getPreviousInstr(MachineBasicBlock::iterator &I, MachineFunction::iterator MFI) argument 212 searchBackwards(MachineOperand &p, MachineBasicBlock::iterator &I, MachineFunction::iterator MFI) argument 290 processInstruction(MachineBasicBlock::iterator &I, MachineFunction::iterator MFI) argument 310 seekLEAFixup(MachineOperand &p, MachineBasicBlock::iterator &I, MachineFunction::iterator MFI) argument 329 processInstructionForSLM(MachineBasicBlock::iterator &I, MachineFunction::iterator MFI) argument 394 processBasicBlock(MachineFunction &MF, MachineFunction::iterator MFI) argument [all...] |
/external/llvm/lib/Target/MSP430/ |
H A D | MSP430BranchSelector.cpp | 65 for (MachineFunction::iterator MFI = Fn.begin(), E = Fn.end(); MFI != E; 66 ++MFI) { 67 MachineBasicBlock *MBB = &*MFI; 101 for (MachineFunction::iterator MFI = Fn.begin(), E = Fn.end(); MFI != E; 102 ++MFI) { 103 MachineBasicBlock &MBB = *MFI;
|
/external/mesa3d/src/gallium/drivers/radeon/ |
H A D | AMDILFrameLowering.cpp | 31 const MachineFrameInfo *MFI = MF.getFrameInfo(); local 32 return MFI->getObjectOffset(FI);
|
/external/llvm/lib/Target/Sparc/ |
H A D | SparcFrameLowering.cpp | 90 MachineFrameInfo *MFI = MF.getFrameInfo(); local 106 if (!NeedsStackRealignment && MFI->getMaxAlignment() > getStackAlignment()) 112 int NumBytes = (int) MFI->getStackSize(); 139 if (MFI->adjustsStack() && hasReservedCallFrame(MF)) 140 NumBytes += MFI->getMaxCallFrameSize(); 148 if (MFI->getMaxAlignment() > 0) { 149 NumBytes = RoundUpToAlignment(NumBytes, MFI->getMaxAlignment()); 153 MFI->setStackSize(NumBytes); 181 int MaxAlign = MFI->getMaxAlignment(); 216 MachineFrameInfo *MFI local 236 const MachineFrameInfo *MFI = MF.getFrameInfo(); local 247 const MachineFrameInfo *MFI = MF.getFrameInfo(); local 306 MachineFrameInfo *MFI = MF.getFrameInfo(); local 363 SparcMachineFunctionInfo *MFI = MF.getInfo<SparcMachineFunctionInfo>(); local [all...] |
/external/llvm/include/llvm/CodeGen/ |
H A D | MIRYamlMapping.h | 360 static void mapping(IO &YamlIO, MachineFrameInfo &MFI) { argument 361 YamlIO.mapOptional("isFrameAddressTaken", MFI.IsFrameAddressTaken); 362 YamlIO.mapOptional("isReturnAddressTaken", MFI.IsReturnAddressTaken); 363 YamlIO.mapOptional("hasStackMap", MFI.HasStackMap); 364 YamlIO.mapOptional("hasPatchPoint", MFI.HasPatchPoint); 365 YamlIO.mapOptional("stackSize", MFI.StackSize); 366 YamlIO.mapOptional("offsetAdjustment", MFI.OffsetAdjustment); 367 YamlIO.mapOptional("maxAlignment", MFI.MaxAlignment); 368 YamlIO.mapOptional("adjustsStack", MFI.AdjustsStack); 369 YamlIO.mapOptional("hasCalls", MFI [all...] |
/external/llvm/lib/Target/ARM/ |
H A D | Thumb1InstrInfo.cpp | 86 MachineFrameInfo &MFI = *MF.getFrameInfo(); local 89 MFI.getObjectSize(FI), MFI.getObjectAlignment(FI)); 112 MachineFrameInfo &MFI = *MF.getFrameInfo(); local 115 MFI.getObjectSize(FI), MFI.getObjectAlignment(FI));
|