Home
last modified time | relevance | path

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

123

/llvm-project-15.0.7/llvm/unittests/Analysis/
H A DMemorySSATest.cpp605 Value *Alloca = B.CreateAlloca(Int8, ConstantInt::get(Int8, 1), "A"); in TEST_F()
636 Value *Alloca = B.CreateAlloca(Int8, ConstantInt::get(Int8, 1), "A"); in TEST_F()
712 Value *AllocA = B.CreateAlloca(Int8, One, "a"); in TEST_F()
713 Value *AllocB = B.CreateAlloca(Int8, One, "b"); in TEST_F()
775 Value *AllocA = B.CreateAlloca(Int8, One, ""); in TEST_F()
835 Value *A = B.CreateAlloca(Int8, ConstantInt::get(Int8, 1), "A"); in TEST_F()
836 Value *B_ = B.CreateAlloca(Int8, ConstantInt::get(Int8, 1), "B"); in TEST_F()
837 Value *C = B.CreateAlloca(Int8, ConstantInt::get(Int8, 1), "C"); in TEST_F()
934 Value *A = B.CreateAlloca(B.getInt8Ty()); in TEST_F()
979 Value *X = B.CreateAlloca(B.getInt8Ty()); in TEST_F()
[all …]
H A DBasicAliasAnalysisTest.cpp116 AllocaInst *I8 = B.CreateAlloca(B.getInt8Ty(), B.getInt32(2)); in TEST_F()
/llvm-project-15.0.7/llvm/unittests/Frontend/
H A DOpenMPIRBuilderTest.cpp3122 AllocaInst *XVal = Builder.CreateAlloca(Int32); in TEST_F()
3124 AllocaInst *VVal = Builder.CreateAlloca(Int32); in TEST_F()
3210 AllocaInst *XVal = Builder.CreateAlloca(Int32); in TEST_F()
3249 AllocaInst *XVal = Builder.CreateAlloca(Int32); in TEST_F()
3388 AllocaInst *XVal = Builder.CreateAlloca(IntTy); in TEST_F()
3456 AllocaInst *XVal = Builder.CreateAlloca(Int32); in TEST_F()
3458 AllocaInst *VVal = Builder.CreateAlloca(Int32); in TEST_F()
3950 SumReduced = Builder.CreateAlloca(SumType); in TEST_F()
3951 XorReduced = Builder.CreateAlloca(XorType); in TEST_F()
4192 SumReduced = Builder.CreateAlloca(SumType); in TEST_F()
[all …]
/llvm-project-15.0.7/polly/lib/CodeGen/
H A DLoopGeneratorsGOMP.cpp129 Value *LBPtr = Builder.CreateAlloca(LongType, nullptr, "polly.par.LBPtr"); in createSubFn()
130 Value *UBPtr = Builder.CreateAlloca(LongType, nullptr, "polly.par.UBPtr"); in createSubFn()
H A DLoopGeneratorsKMP.cpp156 Value *LBPtr = Builder.CreateAlloca(LongType, nullptr, "polly.par.LBPtr"); in createSubFn()
157 Value *UBPtr = Builder.CreateAlloca(LongType, nullptr, "polly.par.UBPtr"); in createSubFn()
158 Value *IsLastPtr = Builder.CreateAlloca(Builder.getInt32Ty(), nullptr, in createSubFn()
161 Builder.CreateAlloca(LongType, nullptr, "polly.par.StridePtr"); in createSubFn()
/llvm-project-15.0.7/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp912 AllocaInst *TIDAddr = Builder.CreateAlloca(Int32, nullptr, "tid.addr"); in createParallel()
967 Builder.CreateAlloca(Int32, nullptr, "tid.addr.local"); in createParallel()
2057 Value *PStride = Builder.CreateAlloca(IVTy, nullptr, "p.stride"); in applyStaticWorkshareLoop()
2144 Builder.CreateAlloca(InternalIVTy, nullptr, "p.lowerbound"); in applyStaticChunkedWorkshareLoop()
2146 Builder.CreateAlloca(InternalIVTy, nullptr, "p.upperbound"); in applyStaticChunkedWorkshareLoop()
2387 Value *PStride = Builder.CreateAlloca(IVTy, nullptr, "p.stride"); in applyDynamicWorkshareLoop()
3303 AllocaInst *ArgsBase = Builder.CreateAlloca(ArrI64Ty, nullptr, Name); in createOrderedDepend()
3810 AllocaInst *ArgsBase = Builder.CreateAlloca(ArrI8PtrTy); in createMapperAllocas()
3811 AllocaInst *Args = Builder.CreateAlloca(ArrI8PtrTy); in createMapperAllocas()
3812 AllocaInst *ArgSizes = Builder.CreateAlloca(ArrI64Ty); in createMapperAllocas()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86WinEHState.cpp283 RegNode = Builder.CreateAlloca(RegNodeTy); in emitExceptionRegistrationRecord()
310 RegNode = Builder.CreateAlloca(RegNodeTy); in emitExceptionRegistrationRecord()
312 EHGuardNode = Builder.CreateAlloca(Int32Ty); in emitExceptionRegistrationRecord()
/llvm-project-15.0.7/llvm/unittests/IR/
H A DIRBuilderTest.cpp425 AllocaInst *Var1 = Builder.CreateAlloca(Builder.getInt8Ty()); in TEST_F()
426 AllocaInst *Var2 = Builder.CreateAlloca(Builder.getInt32Ty()); in TEST_F()
427 AllocaInst *Var3 = Builder.CreateAlloca(Builder.getInt8Ty(), in TEST_F()
829 AllocaInst *I = Builder.CreateAlloca(Builder.getInt8Ty()); in TEST_F()
854 AllocaInst *I = Builder.CreateAlloca(Builder.getInt8Ty()); in TEST_F()
H A DBasicBlockTest.cpp119 AllocaInst *Var = Builder1.CreateAlloca(Builder1.getInt8Ty()); in TEST()
/llvm-project-15.0.7/llvm/examples/ExceptionDemo/
H A DExceptionDemo.cpp204 llvm::AllocaInst *ret = tmp.CreateAlloca(type, 0, varName); in createEntryBlockAlloca()
873 stringVar = builder.CreateAlloca(stringConstant->getType()); in generateStringPrint()
917 stringVar = builder.CreateAlloca(stringConstant->getType()); in generateIntegerPrint()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DShadowStackGCLowering.cpp321 AtEntry.CreateAlloca(ConcreteStackEntryTy, nullptr, "gc_frame"); in runOnFunction()
H A DSafeStack.cpp447 DynamicTop = IRB.CreateAlloca(StackPtrTy, /*ArraySize=*/nullptr, in createStackRestorePoints()
813 StackGuardSlot = IRB.CreateAlloca(StackPtrTy, nullptr); in run()
H A DStackProtector.cpp422 AI = B.CreateAlloca(PtrTy, nullptr, "StackGuardSlot"); in CreatePrologue()
H A DAtomicExpandPass.cpp1822 AllocaCASExpected = AllocaBuilder.CreateAlloca(CASExpected->getType()); in expandAtomicOpToLibcall()
1840 AllocaValue = AllocaBuilder.CreateAlloca(ValueOperand->getType()); in expandAtomicOpToLibcall()
1852 AllocaResult = AllocaBuilder.CreateAlloca(I->getType()); in expandAtomicOpToLibcall()
/llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/
H A DAddressSanitizer.cpp2932 AllocaInst *AI = IRB.CreateAlloca( in copyArgsPassedByValToAllocas()
2961 Alloca = IRB.CreateAlloca(IRB.getInt8Ty(), in createAllocaForLayout()
2965 Alloca = IRB.CreateAlloca(ArrayType::get(IRB.getInt8Ty(), L.FrameSize), in createAllocaForLayout()
2978 DynamicAllocaLayout = IRB.CreateAlloca(IntptrTy, nullptr); in createDynamicAllocasInitStorage()
3168 IRB.CreateAlloca(IntptrTy, nullptr, "asan_local_stack_base"); in processStaticAllocas()
3406 AllocaInst *NewAlloca = IRB.CreateAlloca(IRB.getInt8Ty(), NewSize); in handleDynamicAllocaCall()
H A DMemorySanitizer.cpp4390 VAArgTLSCopy = IRB.CreateAlloca(Type::getInt8Ty(*MS.C), CopySize); in finalizeInstrumentation()
4393 VAArgTLSOriginCopy = IRB.CreateAlloca(Type::getInt8Ty(*MS.C), CopySize); in finalizeInstrumentation()
4538 VAArgTLSCopy = IRB.CreateAlloca(Type::getInt8Ty(*MS.C), CopySize); in finalizeInstrumentation()
4729 VAArgTLSCopy = IRB.CreateAlloca(Type::getInt8Ty(*MS.C), CopySize); in finalizeInstrumentation()
4976 VAArgTLSCopy = IRB.CreateAlloca(Type::getInt8Ty(*MS.C), CopySize); in finalizeInstrumentation()
5293 VAArgTLSCopy = IRB.CreateAlloca(Type::getInt8Ty(*MS.C), CopySize); in finalizeInstrumentation()
5296 VAArgTLSOriginCopy = IRB.CreateAlloca(Type::getInt8Ty(*MS.C), CopySize); in finalizeInstrumentation()
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DArgumentPromotion.cpp349 AllocaInst *NewAlloca = IRB.CreateAlloca( in doPromotion()
/llvm-project-15.0.7/llvm/lib/Transforms/Coroutines/
H A DCoroFrame.cpp2177 auto Alloca = Builder.CreateAlloca(Builder.getInt8Ty(), AI->getSize()); in lowerLocalAllocas()
2335 auto Alloca = Builder.CreateAlloca(ValueTy, ArgTy->getAddressSpace()); in eliminateSwiftErrorArgument()
2615 Cached = Builder.CreateAlloca(Storage->getType(), 0, nullptr, in salvageDebugInfo()
H A DCoroSplit.cpp639 auto Alloca = Builder.CreateAlloca(ValueTy); in replaceSwiftErrorOps()
1398 auto *Frame = Builder.CreateAlloca(Shape.FrameTy); in handleNoSuspendCoroutine()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/MCJIT/cached/
H A Dtoy-jit.cpp638 return TmpB.CreateAlloca(Type::getDoubleTy(TheContext), 0, VarName.c_str()); in CreateEntryBlockAlloca()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/MCJIT/lazy/
H A Dtoy-jit.cpp623 return TmpB.CreateAlloca(Type::getDoubleTy(TheContext), 0, VarName.c_str()); in CreateEntryBlockAlloca()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/
H A Dtoy.cpp733 return TmpB.CreateAlloca(Type::getDoubleTy(*TheContext), nullptr, VarName); in CreateEntryBlockAlloca()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/Chapter8/
H A Dtoy.cpp738 return TmpB.CreateAlloca(Type::getDoubleTy(*TheContext), nullptr, VarName); in CreateEntryBlockAlloca()
/llvm-project-15.0.7/llvm/unittests/Transforms/Utils/
H A DLocalTest.cpp1081 Value *Alloca = B.CreateAlloca(PtrPtr, (unsigned)0); in TEST()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/
H A Dtoy.cpp716 return TmpB.CreateAlloca(Type::getDoubleTy(*TheContext), nullptr, VarName); in CreateEntryBlockAlloca()

123