Home
last modified time | relevance | path

Searched refs:CreateAlloca (Results 1 – 25 of 36) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp378 Builder.CreateAlloca(Builder.getInt32Ty(), nullptr, Name + ".addr"); in createFakeIntVal()
1163 Builder.CreateAlloca(OpenMPIRBuilder::KernelArgs, nullptr, "kernel_args"); in emitTargetKernel()
1323 Builder.CreateAlloca(ArrayType::get(PtrTy, NumCapturedVars)); in targetParallelCallback()
1517 AllocaInst *TIDAddrAlloca = Builder.CreateAlloca(Int32, nullptr, "tid.addr"); in createParallel()
1519 Builder.CreateAlloca(Int32, nullptr, "zero.addr"); in createParallel()
1574 Builder.CreateAlloca(Int32, nullptr, "tid.addr.local"); in createParallel()
1690 Builder.CreateAlloca(V.getType(), nullptr, V.getName() + ".reloaded"); in createParallel()
1874 DepArray = Builder.CreateAlloca(DepArrayTy, nullptr, ".dep.arr.addr"); in emitTaskDependencies()
2389 Value *CastItem = Builder.CreateAlloca(ToType); in castValueToType()
2540 AllocaInst *DestAlloca = Builder.CreateAlloca(RI.ElementType, nullptr, in emitReductionListCopy()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyRefTypeMem2Local.cpp64 auto *NewAI = IRB.CreateAlloca(AI.getAllocatedType(), in visitAllocaInst()
H A DWebAssemblyLowerEmscriptenEHSjLj.cpp1281 IRB.CreateAlloca(IRB.getInt32Ty(), nullptr, "functionInvocationId"); in runSjLjOnFunction()
/freebsd/contrib/llvm-project/llvm/lib/Frontend/Atomic/
H A DAtomic.cpp125 CreateAlloca(Ty, getAtomicPointer()->getName() + "atomic.temp.load"); in EmitAtomicLoadLibcall()
163 Value *SourceAlloca = Builder->CreateAlloca(Source->getType()); in EmitAtomicStoreLibcall()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64Arm64ECCallLowering.cpp435 Args.push_back(IRB.CreateAlloca(RetTy)); in buildExitThunk()
459 Value *Mem = IRB.CreateAlloca(Arg.getType()); in buildExitThunk()
485 Value *CastAlloca = IRB.CreateAlloca(RetTy); in buildExitThunk()
540 Value *CastAlloca = IRB.CreateAlloca(ArgTy); in buildEntryThunk()
583 Value *CastAlloca = IRB.CreateAlloca(X64RetType); in buildEntryThunk()
/freebsd/contrib/llvm-project/llvm/include/llvm/Frontend/Atomic/
H A DAtomic.h46 virtual AllocaInst *CreateAlloca(Type *Ty, const Twine &Name) const = 0;
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86WinEHState.cpp286 RegNode = Builder.CreateAlloca(RegNodeTy); in emitExceptionRegistrationRecord()
312 RegNode = Builder.CreateAlloca(RegNodeTy); in emitExceptionRegistrationRecord()
314 EHGuardNode = Builder.CreateAlloca(Int32Ty); in emitExceptionRegistrationRecord()
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILDataScalarization.cpp138 Builder.CreateAlloca(NewType, nullptr, AI.getName() + ".scalarize"); in visitAllocaInst()
198 Builder.CreateAlloca(ArrTy, nullptr, Name + ".alloca"); in createArrayFromVector()
H A DDXILFlattenArrays.cpp208 Builder.CreateAlloca(FattenedArrayType, nullptr, AI.getName() + ".1dim"); in visitAllocaInst()
H A DDXILLegalizePass.cpp298 auto *NewAlloca = Builder.CreateAlloca(SmallestType); in upcastI8AllocasAndUses()
H A DDXILOpLowering.cpp418 Value *Alloca = IRB.CreateAlloca(ArrayTy); in replaceResRetUses()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DExpandVariadics.cpp578 Builder.CreateAlloca(VaListTy, nullptr, "va_start"); in defineVariadicWrapper()
674 Builder.CreateAlloca(UnderlyingType, nullptr, "IndirectAlloca"); in expandCall()
763 VaList = Builder.CreateAlloca(VaListTy, nullptr, "va_argument"); in expandCall()
H A DArgumentPromotion.cpp364 AllocaInst *NewAlloca = IRB.CreateAlloca( in doPromotion()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DSafeStack.cpp446 DynamicTop = IRB.CreateAlloca(StackPtrTy, /*ArraySize=*/nullptr, in createStackRestorePoints()
829 StackGuardSlot = IRB.CreateAlloca(StackPtrTy, nullptr); in run()
H A DShadowStackGCLowering.cpp355 AtEntry.CreateAlloca(ConcreteStackEntryTy, nullptr, "gc_frame"); in runOnFunction()
H A DStackProtector.cpp563 AI = B.CreateAlloca(PtrTy, nullptr, "StackGuardSlot"); in CreatePrologue()
H A DAtomicExpandPass.cpp2013 AllocaCASExpected = AllocaBuilder.CreateAlloca(CASExpected->getType()); in expandAtomicOpToLibcall()
2027 AllocaValue = AllocaBuilder.CreateAlloca(ValueOperand->getType()); in expandAtomicOpToLibcall()
2037 AllocaResult = AllocaBuilder.CreateAlloca(I->getType()); in expandAtomicOpToLibcall()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DAddressSanitizer.cpp3313 AllocaInst *AI = IRB.CreateAlloca( in copyArgsPassedByValToAllocas()
3342 Alloca = IRB.CreateAlloca(IRB.getInt8Ty(), in createAllocaForLayout()
3346 Alloca = IRB.CreateAlloca(ArrayType::get(IRB.getInt8Ty(), L.FrameSize), in createAllocaForLayout()
3359 DynamicAllocaLayout = IRB.CreateAlloca(IntptrTy, nullptr); in createDynamicAllocasInitStorage()
3575 IRB.CreateAlloca(IntptrTy, nullptr, "asan_local_stack_base"); in processStaticAllocas()
3815 AllocaInst *NewAlloca = IRB.CreateAlloca(IRB.getInt8Ty(), NewSize); in handleDynamicAllocaCall()
H A DMemorySanitizer.cpp1475 Value *ShadowAlloca = IRB.CreateAlloca(ConvertedShadow2->getType(), 0u); in materializeOneCheck()
1594 MS.MsanMetadataAlloca = IRB.CreateAlloca(MS.MsanMetadata, 0u); in insertKmsanPrologue()
6659 VAArgTLSCopy = IRB.CreateAlloca(Type::getInt8Ty(*MS.C), CopySize); in finalizeInstrumentation()
6670 VAArgTLSOriginCopy = IRB.CreateAlloca(Type::getInt8Ty(*MS.C), CopySize); in finalizeInstrumentation()
6859 VAArgTLSCopy = IRB.CreateAlloca(Type::getInt8Ty(*MS.C), CopySize); in finalizeInstrumentation()
7071 VAArgTLSCopy = IRB.CreateAlloca(Type::getInt8Ty(*MS.C), CopySize); in finalizeInstrumentation()
7207 VAArgTLSCopy = IRB.CreateAlloca(Type::getInt8Ty(*MS.C), CopySize); in finalizeInstrumentation()
7543 VAArgTLSCopy = IRB.CreateAlloca(Type::getInt8Ty(*MS.C), CopySize); in finalizeInstrumentation()
7554 VAArgTLSOriginCopy = IRB.CreateAlloca(Type::getInt8Ty(*MS.C), CopySize); in finalizeInstrumentation()
7646 VAArgTLSCopy = IRB.CreateAlloca(Type::getInt8Ty(*MS.C), CopySize); in finalizeInstrumentation()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroFrame.cpp1570 auto Alloca = Builder.CreateAlloca(Builder.getInt8Ty(), AI->getSize()); in lowerLocalAllocas()
1697 auto Alloca = Builder.CreateAlloca(ValueTy, ArgTy->getAddressSpace()); in eliminateSwiftErrorArgument()
1897 Cached = Builder.CreateAlloca(Storage->getType(), 0, nullptr, in salvageDebugInfoImpl()
H A DCoroSplit.cpp585 auto Alloca = Builder.CreateAlloca(ValueTy); in replaceSwiftErrorOps()
1176 auto *Frame = Builder.CreateAlloca(Shape.FrameTy); in handleNoSuspendCoroutine()
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXLowerArgs.cpp510 AllocaInst *AllocA = IRB.CreateAlloca(StructType, nullptr, Arg.getName()); in copyByValParam()
/freebsd/contrib/llvm-project/llvm/include/llvm/Frontend/OpenMP/
H A DOMPIRBuilder.h507 llvm::AllocaInst *CreateAlloca(llvm::Type *Ty, in CreateAlloca() function
509 llvm::AllocaInst *allocaInst = Builder->CreateAlloca(Ty); in CreateAlloca()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DAMDGPU.cpp654 auto *BlockPtr = Builder.CreateAlloca(BlockTy, nullptr); in createEnqueuedBlockKernel()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp201 AllocaInst *New = IC.Builder.CreateAlloca(NewTy, AI.getAddressSpace(), in simplifyAllocaArraySize()

12