Home
last modified time | relevance | path

Searched refs:AllocA (Results 1 – 4 of 4) sorted by relevance

/external/llvm-project/llvm/lib/Target/NVPTX/
DNVPTXLowerArgs.cpp164 AllocaInst *AllocA = new AllocaInst(StructType, AS, Arg->getName(), FirstInst); in handleByValParam() local
168 AllocA->setAlignment(Func->getParamAlign(Arg->getArgNo()) in handleByValParam()
170 Arg->replaceAllUsesWith(AllocA); in handleByValParam()
180 /*isVolatile=*/false, AllocA->getAlign(), FirstInst); in handleByValParam()
181 new StoreInst(LI, AllocA, FirstInst); in handleByValParam()
/external/llvm/lib/Target/NVPTX/
DNVPTXLowerKernelArgs.cpp151 AllocaInst *AllocA = new AllocaInst(StructType, Arg->getName(), FirstInst); in handleByValParam() local
155 AllocA->setAlignment(Func->getParamAlignment(Arg->getArgNo() + 1)); in handleByValParam()
156 Arg->replaceAllUsesWith(AllocA); in handleByValParam()
162 new StoreInst(LI, AllocA, FirstInst); in handleByValParam()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DNVPTXLowerArgs.cpp163 AllocaInst *AllocA = new AllocaInst(StructType, AS, Arg->getName(), FirstInst); in handleByValParam() local
167 AllocA->setAlignment(MaybeAlign(Func->getParamAlignment(Arg->getArgNo()))); in handleByValParam()
168 Arg->replaceAllUsesWith(AllocA); in handleByValParam()
175 new StoreInst(LI, AllocA, FirstInst); in handleByValParam()
/external/llvm-project/llvm/unittests/Analysis/
DMemorySSATest.cpp710 Value *AllocA = B.CreateAlloca(Int8, One, "a"); in TEST_F() local
718 Instruction *FirstStore = B.CreateStore(Zero, AllocA); in TEST_F()
720 Instruction *ALoad0 = B.CreateLoad(Int8, AllocA, ""); in TEST_F()
724 Instruction *KillStore = B.CreateStore(Zero, AllocA); in TEST_F()
725 Instruction *ALoad = B.CreateLoad(Int8, AllocA, ""); in TEST_F()
729 Instruction *BelowPhi = B.CreateStore(Zero, AllocA); in TEST_F()
773 Value *AllocA = B.CreateAlloca(Int8, One, ""); in TEST_F() local
775 Instruction *Store = B.CreateStore(One, AllocA); in TEST_F()
776 Instruction *Load = B.CreateLoad(Int8, AllocA); in TEST_F()
1357 Value *AllocA = B.CreateAlloca(Int8, ConstantInt::get(Int8, 1), "A"); in TEST_F() local
[all …]