Searched refs:CurMF (Results 1 – 6 of 6) sorted by relevance
| /openbsd-src/gnu/llvm/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVGlobalRegistry.cpp | 33 assignSPIRVTypeToVReg(SpirvType, VReg, *CurMF); in assignIntTypeToVReg() 42 assignSPIRVTypeToVReg(SpirvType, VReg, *CurMF); in assignVectTypeToVReg() 127 LLVMIntTy = IntegerType::getInt32Ty(CurMF->getFunction().getContext()); in getOrCreateConstIntReg() 131 Register Res = DT.find(CI, CurMF); in getOrCreateConstIntReg() 135 Res = CurMF->getRegInfo().createGenericVirtualRegister(LLTy); in getOrCreateConstIntReg() 140 DT.add(CI, CurMF, Res); in getOrCreateConstIntReg() 171 const auto &ST = CurMF->getSubtarget(); in getOrCreateConstInt() 214 const auto &Subtarget = CurMF->getSubtarget(); in buildConstantInt() 252 Register Res = DT.find(CA, CurMF); in getOrCreateIntCompositeOrNull() 264 CurMF->getRegInfo().createGenericVirtualRegister(LLTy); in getOrCreateIntCompositeOrNull() [all …]
|
| H A D | SPIRVGlobalRegistry.h | 69 MachineFunction *CurMF; variable 156 void setCurrentFunc(MachineFunction &MF) { CurMF = &MF; } in setCurrentFunc()
|
| H A D | SPIRVInstructionSelector.cpp | 642 IntegerType::get(GR.CurMF->getFunction().getContext(), 8), Num); in selectMemOperation() 646 GR.add(GV, GR.CurMF, VarReg); in selectMemOperation() 1039 Type *LLVMTy = IntegerType::get(GR.CurMF->getFunction().getContext(), 32); in buildI32Constant() 1044 Register NewReg = GR.find(ConstInt, GR.CurMF); in buildI32Constant() 1047 GR.add(ConstInt, GR.CurMF, NewReg); in buildI32Constant() 1488 Register NewReg = GR.find(ConstVal, GR.CurMF); in selectGlobalValue() 1493 GR.add(ConstVal, GR.CurMF, NewReg); in selectGlobalValue()
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/ |
| H A D | SwitchLoweringUtils.cpp | 236 MachineFunction *CurMF = FuncInfo.MF; in buildJumpTable() local 238 CurMF->CreateMachineBasicBlock(SI->getParent()); in buildJumpTable() 250 unsigned JTI = CurMF->getOrCreateJumpTableInfo(TLI->getJumpTableEncoding()) in buildJumpTable()
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/GlobalISel/ |
| H A D | IRTranslator.cpp | 910 MachineFunction *CurMF = SwitchMBB->getParent(); in lowerJumpTableWorkItem() local 918 CurMF->insert(BBI, JumpMBB); in lowerJumpTableWorkItem() 1129 MachineFunction *CurMF = SwitchMBB->getParent(); in lowerBitTestWorkItem() local 1134 CurMF->insert(BBI, BTC.ThisBB); in lowerBitTestWorkItem() 1166 MachineFunction *CurMF = FuncInfo.MF; in lowerSwitchWorkItem() local 1213 Fallthrough = CurMF->CreateMachineBasicBlock(CurMBB->getBasicBlock()); in lowerSwitchWorkItem() 1214 CurMF->insert(BBI, Fallthrough); in lowerSwitchWorkItem() 3381 bool IRTranslator::runOnMachineFunction(MachineFunction &CurMF) { in runOnMachineFunction() argument 3382 MF = &CurMF; in runOnMachineFunction() 3394 EntryBuilder = std::make_unique<CSEMIRBuilder>(CurMF); in runOnMachineFunction() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAGBuilder.cpp | 10995 MachineFunction *CurMF = FuncInfo.MF; in lowerWorkItem() local 11101 Fallthrough = CurMF->CreateMachineBasicBlock(CurMBB->getBasicBlock()); in lowerWorkItem() 11102 CurMF->insert(BBI, Fallthrough); in lowerWorkItem() 11116 CurMF->insert(BBI, JumpMBB); in lowerWorkItem() 11162 CurMF->insert(BBI, BTC.ThisBB); in lowerWorkItem()
|