Home
last modified time | relevance | path

Searched refs:CurMF (Results 1 – 8 of 8) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVGlobalRegistry.cpp97 assignSPIRVTypeToVReg(SpirvType, VReg, *CurMF); in assignIntTypeToVReg()
106 assignSPIRVTypeToVReg(SpirvType, VReg, *CurMF); in assignFloatTypeToVReg()
115 assignSPIRVTypeToVReg(SpirvType, VReg, *CurMF); in assignVectTypeToVReg()
154 const SPIRVSubtarget &ST = cast<SPIRVSubtarget>(CurMF->getSubtarget()); in adjustOpTypeIntWidth()
234 auto LastInsertedType = LastInsertedTypeMap.find(CurMF); in createOpType()
251 auto Result = LastInsertedTypeMap.try_emplace(CurMF, nullptr); in createOpType()
287 LLVMContext &Ctx = CurMF->getFunction().getContext(); in getOrCreateConstFP()
289 const MachineInstr *MI = findMI(CF, CurMF); in getOrCreateConstFP()
302 Register Res = CurMF->getRegInfo().createGenericVirtualRegister(LLTy); in createConstFP()
303 CurMF->getRegInfo().setRegClass(Res, &SPIRV::fIDRegClass); in createConstFP()
[all …]
H A DSPIRVPostLegalizer.cpp87 setRegClassType(ResVReg, ResType, GR, &MRI, *GR->CurMF, true); in processNewInstrs()
106 setRegClassType(ResVReg, ResVType, GR, &MRI, *GR->CurMF, true); in processNewInstrs()
H A DSPIRVGlobalRegistry.h113 MachineFunction *CurMF; variable
357 MachineFunction *Ret = CurMF; in setCurrentFunc()
358 CurMF = &MF; in setCurrentFunc()
H A DSPIRVISelLowering.cpp322 MachineFunction *CurMF = in validateFunCallMachineDef() local
326 GR.setCurrentFunc(*CurMF); in validateFunCallMachineDef()
H A DSPIRVInstructionSelector.cpp1284 Function &CurFunction = GR.CurMF->getFunction(); in selectMemOperation()
1301 GR.addGlobalObject(GV, GR.CurMF, VarReg); in selectMemOperation()
1332 GR.CurMF->getFunction().getContext(), MemOp->getSyncScopeID())); in selectAtomicRMW()
1388 GR.assignSPIRVTypeToVReg(ResType, ResVReg, *GR.CurMF); in selectUnmergeValues()
1409 getMemScope(GR.CurMF->getFunction().getContext(), Ord)); in selectFence()
1497 GR.CurMF->getFunction().getContext(), MemOp->getSyncScopeID())); in selectAtomicCmpXchg()
2486 Type *LLVMTy = IntegerType::get(GR.CurMF->getFunction().getContext(), 32); in buildI32Constant()
2491 Register NewReg = GR.find(ConstInt, GR.CurMF); in buildI32Constant()
3896 Register NewReg = GR.find(ConstVal, GR.CurMF); in selectGlobalValue()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DSwitchLoweringUtils.cpp239 MachineFunction *CurMF = FuncInfo.MF; in buildJumpTable() local
241 CurMF->CreateMachineBasicBlock(SI->getParent()); in buildJumpTable()
253 unsigned JTI = CurMF->getOrCreateJumpTableInfo(TLI->getJumpTableEncoding()) in buildJumpTable()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DIRTranslator.cpp1002 MachineFunction *CurMF = SwitchMBB->getParent(); in lowerJumpTableWorkItem() local
1010 CurMF->insert(BBI, JumpMBB); in lowerJumpTableWorkItem()
1221 MachineFunction *CurMF = SwitchMBB->getParent(); in lowerBitTestWorkItem() local
1226 CurMF->insert(BBI, BTC.ThisBB); in lowerBitTestWorkItem()
1258 MachineFunction *CurMF = FuncInfo.MF; in lowerSwitchWorkItem() local
1305 Fallthrough = CurMF->CreateMachineBasicBlock(CurMBB->getBasicBlock()); in lowerSwitchWorkItem()
1306 CurMF->insert(BBI, Fallthrough); in lowerSwitchWorkItem()
3984 bool IRTranslator::runOnMachineFunction(MachineFunction &CurMF) { in runOnMachineFunction() argument
3985 MF = &CurMF; in runOnMachineFunction()
3998 EntryBuilder = std::make_unique<CSEMIRBuilder>(CurMF); in runOnMachineFunction()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp12075 MachineFunction *CurMF = FuncInfo.MF; in lowerWorkItem() local
12181 Fallthrough = CurMF->CreateMachineBasicBlock(CurMBB->getBasicBlock()); in lowerWorkItem()
12182 CurMF->insert(BBI, Fallthrough); in lowerWorkItem()
12196 CurMF->insert(BBI, JumpMBB); in lowerWorkItem()
12228 Function &CurFunc = CurMF->getFunction(); in lowerWorkItem()
12256 CurMF->insert(BBI, BTC.ThisBB); in lowerWorkItem()