Home
last modified time | relevance | path

Searched refs:getAllocaAddrSpace (Results 1 – 25 of 46) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DDemoteRegToStack.cpp36 Slot = new AllocaInst(I.getType(), DL.getAllocaAddrSpace(), nullptr, in DemoteRegToStack()
39 Slot = new AllocaInst(I.getType(), DL.getAllocaAddrSpace(), nullptr, in DemoteRegToStack()
143 Slot = new AllocaInst(P->getType(), DL.getAllocaAddrSpace(), nullptr, in DemotePHIToStack()
147 Slot = new AllocaInst(P->getType(), DL.getAllocaAddrSpace(), nullptr, in DemotePHIToStack()
H A DCodeExtractor.cpp856 PointerType::get(output->getType(), DL.getAllocaAddrSpace())); in constructFunction()
872 StructTy, ArgsInZeroAddressSpace ? 0 : DL.getAllocaAddrSpace())); in constructFunction()
1190 new AllocaInst(output->getType(), DL.getAllocaAddrSpace(), in emitCallAndSwitchStatement()
1210 StructArgTy, DL.getAllocaAddrSpace(), nullptr, "structArg", in emitCallAndSwitchStatement()
1214 if (ArgsInZeroAddressSpace && DL.getAllocaAddrSpace() != 0) { in emitCallAndSwitchStatement()
H A DMemoryTaggingSupport.cpp272 IRB.getPtrTy(M->getDataLayout().getAllocaAddrSpace())); in getFP()
/freebsd/contrib/llvm-project/llvm/lib/FuzzMutate/
H A DRandomIRBuilder.cpp71 AllocaInst *Alloca = new AllocaInst(Ty, DL.getAllocaAddrSpace(), "A", in createStackMemory()
430 new AllocaInst(RetTy, DL.getAllocaAddrSpace(), "RP", BB); in createFunctionDefinition()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCallLowering.cpp779 auto AllocaAddressSpace = MF.getDataLayout().getAllocaAddrSpace(); in handleAssignments()
1006 PointerType::get(RetTy->getContext(), DL.getAllocaAddrSpace()); in insertSRetLoads()
1036 unsigned AS = DL.getAllocaAddrSpace(); in insertSRetStores()
1054 unsigned AS = DL.getAllocaAddrSpace(); in insertSRetIncomingArgument()
1078 unsigned AS = DL.getAllocaAddrSpace(); in insertSRetOutgoingArgument()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86PreAMXConfig.cpp
H A DX86LowerAMXType.cpp110 unsigned AllocaAS = DL.getAllocaAddrSpace(); in createAllocaInstAtEntry()
459 unsigned AllocaAS = DL.getAllocaAddrSpace(); in getAllocaPos()
H A DX86WinEHState.cpp340 TheModule->getDataLayout().getAllocaAddrSpace())), in emitExceptionRegistrationRecord()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPURewriteOutArguments.cpp157 if (!ArgTy || (ArgTy->getAddressSpace() != DL->getAllocaAddrSpace() && in getOutArgumentType()
/freebsd/contrib/llvm-project/llvm/include/llvm/Target/
H A DTargetMachine.h203 return DL.getPointerSize(DL.getAllocaAddrSpace()); in getAllocaPointerSize()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroElide.cpp241 auto *Frame = new AllocaInst(FrameTy, DL.getAllocaAddrSpace(), "", InsertPt); in elideHeapAllocations()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DExpandVariadics.cpp388 Addrspace = DL.getAllocaAddrSpace(); in runOnModule()
764 new AllocaInst(VarargsTy, DL.getAllocaAddrSpace(), nullptr, AllocaAlign), in expandCall()
H A DGlobalOpt.cpp1467 GV->getType()->getAddressSpace() == DL.getAllocaAddrSpace() && in processInternalGlobal()
1479 AllocaInst *Alloca = new AllocaInst(ElemTy, DL.getAllocaAddrSpace(), in processInternalGlobal()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DDataLayout.h276 unsigned getAllocaAddrSpace() const { return AllocaAddrSpace; } in getAllocaAddrSpace() function
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXLowerArgs.cpp477 unsigned AS = DL.getAllocaAddrSpace(); in handleByValParam()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DSjLjEHPrepare.cpp204 FuncCtx = new AllocaInst(FunctionContextTy, DL.getAllocaAddrSpace(), nullptr, in setupFunctionContext()
H A DWinEHPrepare.cpp1236 SpillSlot = new AllocaInst(PN->getType(), DL->getAllocaAddrSpace(), nullptr, in insertPHILoads()
1321 SpillSlot = new AllocaInst(V->getType(), DL->getAllocaAddrSpace(), nullptr, in replaceUseWithLoad()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DABIInfoImpl.cpp224 unsigned AllocaAS = CGF.CGM.getDataLayout().getAllocaAddrSpace(); in emitVoidPtrVAArg()
H A DCGDecl.cpp1363 CGM.getDataLayout().getAllocaAddrSpace() && in EmitLifetimeStart()
1375 CGM.getDataLayout().getAllocaAddrSpace() && in EmitLifetimeEnd()
2637 CGM.getDataLayout().getAllocaAddrSpace()); in EmitParmDecl()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoadStoreVectorizer.cpp803 bool IsAllocaAccess = AS == DL.getAllocaAddrSpace() && in splitChainByAlignment()
876 if (AS == DL.getAllocaAddrSpace()) { in vectorizeChain()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DTailRecursionElimination.cpp605 AggTy, DL.getAllocaAddrSpace(), nullptr, Alignment, in copyByValueOperandIntoLocalTemp()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DAMDGPU.cpp306 getABIInfo().getDataLayout().getAllocaAddrSpace()); in getASTAllocaAddressSpace()
/freebsd/contrib/llvm-project/llvm/tools/llvm-stress/
H A Dllvm-stress.cpp471 PT->push_back(new AllocaInst(Tp, DL.getAllocaAddrSpace(), in Act()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/GISel/
H A DRISCVCallLowering.cpp474 const LLT p0 = LLT::pointer(MF.getDataLayout().getAllocaAddrSpace(), in saveVarArgRegisters()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DDataFlowSanitizer.cpp3021 new AllocaInst(LabelVATy, getDataLayout().getAllocaAddrSpace(), in addShadowArguments()
3038 DFSF.DFS.PrimitiveShadowTy, getDataLayout().getAllocaAddrSpace(), in addShadowArguments()
3061 new AllocaInst(OriginVATy, getDataLayout().getAllocaAddrSpace(), in addOriginArguments()
3076 DFSF.DFS.OriginTy, getDataLayout().getAllocaAddrSpace(), in addOriginArguments()

12