Searched refs:CurMF (Results 1 – 8 of 8) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
H A D | SPIRVGlobalRegistry.cpp | 38 assignSPIRVTypeToVReg(SpirvType, VReg, *CurMF); in assignIntTypeToVReg() 47 assignSPIRVTypeToVReg(SpirvType, VReg, *CurMF); in assignFloatTypeToVReg() 56 assignSPIRVTypeToVReg(SpirvType, VReg, *CurMF); in assignVectTypeToVReg() 96 const SPIRVSubtarget &ST = cast<SPIRVSubtarget>(CurMF->getSubtarget()); in adjustOpTypeIntWidth() 169 LLVMIntTy = IntegerType::getInt32Ty(CurMF->getFunction().getContext()); in getOrCreateConstIntReg() 173 Register Res = DT.find(CI, CurMF); in getOrCreateConstIntReg() 179 Res = CurMF->getRegInfo().createGenericVirtualRegister(LLTy); in getOrCreateConstIntReg() 180 CurMF->getRegInfo().setRegClass(Res, &SPIRV::IDRegClass); in getOrCreateConstIntReg() 185 DT.add(CI, CurMF, Res); in getOrCreateConstIntReg() 197 LLVMContext &Ctx = CurMF->getFunction().getContext(); in getOrCreateConstFloatReg() [all …]
|
H A D | SPIRVPostLegalizer.cpp | 108 GR->assignSPIRVTypeToVReg(ResType, ResVReg, *GR->CurMF); in processNewInstrs() 130 GR->assignSPIRVTypeToVReg(ResVType, ResVReg, *GR->CurMF); in processNewInstrs()
|
H A D | SPIRVGlobalRegistry.h | 103 MachineFunction *CurMF; variable 341 MachineFunction *Ret = CurMF; in setCurrentFunc() 342 CurMF = &MF; in setCurrentFunc()
|
H A D | SPIRVISelLowering.cpp | 271 MachineFunction *CurMF = in validateFunCallMachineDef() local 275 GR.setCurrentFunc(*CurMF); in validateFunCallMachineDef()
|
H A D | SPIRVInstructionSelector.cpp | 853 Function &CurFunction = GR.CurMF->getFunction(); in selectMemOperation() 861 GR.add(GV, GR.CurMF, VarReg); in selectMemOperation() 949 GR.assignSPIRVTypeToVReg(ResType, ResVReg, *GR.CurMF); in selectUnmergeValues() 1581 Type *LLVMTy = IntegerType::get(GR.CurMF->getFunction().getContext(), 32); in buildI32Constant() 1586 Register NewReg = GR.find(ConstInt, GR.CurMF); in buildI32Constant() 1589 GR.add(ConstInt, GR.CurMF, NewReg); in buildI32Constant() 2232 Register NewReg = GR.find(ConstVal, GR.CurMF); in selectGlobalValue() 2235 GR.add(ConstVal, GR.CurMF, NewReg); in selectGlobalValue()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | SwitchLoweringUtils.cpp | 239 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 D | IRTranslator.cpp | 988 MachineFunction *CurMF = SwitchMBB->getParent(); in lowerJumpTableWorkItem() local 996 CurMF->insert(BBI, JumpMBB); in lowerJumpTableWorkItem() 1207 MachineFunction *CurMF = SwitchMBB->getParent(); in lowerBitTestWorkItem() local 1212 CurMF->insert(BBI, BTC.ThisBB); in lowerBitTestWorkItem() 1244 MachineFunction *CurMF = FuncInfo.MF; in lowerSwitchWorkItem() local 1291 Fallthrough = CurMF->CreateMachineBasicBlock(CurMBB->getBasicBlock()); in lowerSwitchWorkItem() 1292 CurMF->insert(BBI, Fallthrough); in lowerSwitchWorkItem() 3833 bool IRTranslator::runOnMachineFunction(MachineFunction &CurMF) { in runOnMachineFunction() argument 3834 MF = &CurMF; in runOnMachineFunction() 3847 EntryBuilder = std::make_unique<CSEMIRBuilder>(CurMF); in runOnMachineFunction() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | SelectionDAGBuilder.cpp | 11924 MachineFunction *CurMF = FuncInfo.MF; in lowerWorkItem() local 12030 Fallthrough = CurMF->CreateMachineBasicBlock(CurMBB->getBasicBlock()); in lowerWorkItem() 12031 CurMF->insert(BBI, Fallthrough); in lowerWorkItem() 12045 CurMF->insert(BBI, JumpMBB); in lowerWorkItem() 12077 Function &CurFunc = CurMF->getFunction(); in lowerWorkItem() 12105 CurMF->insert(BBI, BTC.ThisBB); in lowerWorkItem()
|