/external/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUTargetTransformInfo.cpp | 47 const AllocaInst *Alloca = local 49 if (Alloca) {
|
H A D | AMDGPUPromoteAlloca.cpp | 42 const char *getPassName() const override { return "AMDGPU Promote Alloca"; } 153 static bool tryPromoteAllocaToVector(AllocaInst *Alloca) { argument 154 Type *AllocaTy = Alloca->getAllocatedType(); 156 DEBUG(dbgs() << "Alloca Candidate for vectorization \n"); 170 for (User *AllocaUser : Alloca->users()) { 173 if (!canVectorizeInst(cast<Instruction>(AllocaUser), Alloca)) 211 Value *BitCast = Builder.CreateBitCast(Alloca, VectorTy->getPointerTo(0)); 221 Value *BitCast = Builder.CreateBitCast(Alloca, VectorTy->getPointerTo(0));
|
/external/llvm/include/llvm/CodeGen/ |
H A D | WinEHFuncInfo.h | 67 const AllocaInst *Alloca; member in union:llvm::WinEHHandlerType::__anon11944
|
H A D | MachineFrameInfo.h | 104 /// If this stack object is originated from an Alloca instruction 106 const AllocaInst *Alloca; member in struct:llvm::MachineFrameInfo::StackObject 121 isSpillSlot(isSS), Alloca(Val), PreAllocated(false), isAliased(A) {} 422 /// Return the underlying Alloca of the specified 427 return Objects[ObjectIdx+NumFixedObjects].Alloca; 568 const AllocaInst *Alloca = nullptr); 583 int CreateVariableSizedObject(unsigned Alignment, const AllocaInst *Alloca);
|
/external/llvm/lib/CodeGen/MIRParser/ |
H A D | MIRParser.cpp | 473 const AllocaInst *Alloca = nullptr; local 476 Alloca = dyn_cast_or_null<AllocaInst>( 478 if (!Alloca) 485 ObjectIdx = MFI.CreateVariableSizedObject(Object.Alignment, Alloca); 489 Object.Type == yaml::MachineStackObject::SpillSlot, Alloca);
|
/external/llvm/unittests/Transforms/Utils/ |
H A D | Cloning.cpp | 248 AllocaInst* Alloca = IBuilder.CreateAlloca(IntegerType::getInt32Ty(C)); local 251 Instruction* Store = IBuilder.CreateStore(AllocaContent, Alloca); 262 DBuilder.insertDeclare(Alloca, Variable, E, DL, Store);
|
/external/llvm/examples/Kaleidoscope/Chapter7/ |
H A D | toy.cpp | 888 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); local 896 Builder.CreateStore(StartVal, Alloca); 912 NamedValues[VarName] = Alloca; 938 Value *CurVar = Builder.CreateLoad(Alloca, VarName.c_str()); 940 Builder.CreateStore(NextVar, Alloca); 990 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); local 991 Builder.CreateStore(InitVal, Alloca); 998 NamedValues[VarName] = Alloca; 1053 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, Arg.getName()); local 1056 Builder.CreateStore(&Arg, Alloca); [all...] |
/external/llvm/lib/CodeGen/ |
H A D | MachineFunction.cpp | 538 bool isSS, const AllocaInst *Alloca) { 542 Objects.push_back(StackObject(Size, Alignment, 0, false, isSS, Alloca, 566 const AllocaInst *Alloca) { 570 Objects.push_back(StackObject(0, Alignment, 0, false, false, Alloca, true)); 591 /*Alloca*/ nullptr, isAliased)); 605 /*Alloca*/ nullptr, 537 CreateStackObject(uint64_t Size, unsigned Alignment, bool isSS, const AllocaInst *Alloca) argument 565 CreateVariableSizedObject(unsigned Alignment, const AllocaInst *Alloca) argument
|
/external/clang/lib/CodeGen/ |
H A D | CGBlocks.cpp | 1202 Address Alloca = CreateTempAlloca(BlockPointer->getType(), local 1208 Builder.CreateStore(BlockPointer, Alloca); 1209 BlockPointerDbgLoc = Alloca.getPointer();
|
/external/llvm/examples/Kaleidoscope/Chapter8/ |
H A D | toy.cpp | 1079 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); local 1089 Builder.CreateStore(StartVal, Alloca); 1105 NamedValues[VarName] = Alloca; 1131 Value *CurVar = Builder.CreateLoad(Alloca, VarName.c_str()); 1133 Builder.CreateStore(NextVar, Alloca); 1183 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); local 1184 Builder.CreateStore(InitVal, Alloca); 1191 NamedValues[VarName] = Alloca; 1270 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, Arg.getName()); local 1277 DBuilder->insertDeclare(Alloca, [all...] |
/external/llvm/examples/Kaleidoscope/MCJIT/cached/ |
H A D | toy-jit.cpp | 813 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); local 820 Builder.CreateStore(StartVal, Alloca); 835 NamedValues[VarName] = Alloca; 859 Value *CurVar = Builder.CreateLoad(Alloca, VarName.c_str()); 861 Builder.CreateStore(NextVar, Alloca); 911 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); local 912 Builder.CreateStore(InitVal, Alloca); 919 NamedValues[VarName] = Alloca; 975 AllocaInst *Alloca = CreateEntryBlockAlloca(F, Args[Idx]); local 978 Builder.CreateStore(AI, Alloca); [all...] |
H A D | toy.cpp | 1177 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); local 1184 Builder.CreateStore(StartVal, Alloca); 1199 NamedValues[VarName] = Alloca; 1223 Value *CurVar = Builder.CreateLoad(Alloca, VarName.c_str()); 1225 Builder.CreateStore(NextVar, Alloca); 1275 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); local 1276 Builder.CreateStore(InitVal, Alloca); 1283 NamedValues[VarName] = Alloca; 1346 AllocaInst *Alloca = CreateEntryBlockAlloca(F, Args[Idx]); local 1349 Builder.CreateStore(AI, Alloca); [all...] |
/external/llvm/examples/Kaleidoscope/MCJIT/complete/ |
H A D | toy.cpp | 1255 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); local 1262 Builder.CreateStore(StartVal, Alloca); 1277 NamedValues[VarName] = Alloca; 1301 Value *CurVar = Builder.CreateLoad(Alloca, VarName.c_str()); 1303 Builder.CreateStore(NextVar, Alloca); 1353 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); local 1354 Builder.CreateStore(InitVal, Alloca); 1361 NamedValues[VarName] = Alloca; 1424 AllocaInst *Alloca = CreateEntryBlockAlloca(F, Args[Idx]); local 1427 Builder.CreateStore(AI, Alloca); [all...] |
/external/llvm/examples/Kaleidoscope/MCJIT/initial/ |
H A D | toy.cpp | 1035 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); local 1042 Builder.CreateStore(StartVal, Alloca); 1057 NamedValues[VarName] = Alloca; 1081 Value *CurVar = Builder.CreateLoad(Alloca, VarName.c_str()); 1083 Builder.CreateStore(NextVar, Alloca); 1133 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); local 1134 Builder.CreateStore(InitVal, Alloca); 1141 NamedValues[VarName] = Alloca; 1204 AllocaInst *Alloca = CreateEntryBlockAlloca(F, Args[Idx]); local 1207 Builder.CreateStore(AI, Alloca); [all...] |
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/ |
H A D | toy-jit.cpp | 795 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); local 802 Builder.CreateStore(StartVal, Alloca); 817 NamedValues[VarName] = Alloca; 841 Value *CurVar = Builder.CreateLoad(Alloca, VarName.c_str()); 843 Builder.CreateStore(NextVar, Alloca); 893 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); local 894 Builder.CreateStore(InitVal, Alloca); 901 NamedValues[VarName] = Alloca; 957 AllocaInst *Alloca = CreateEntryBlockAlloca(F, Args[Idx]); local 960 Builder.CreateStore(AI, Alloca); [all...] |
H A D | toy.cpp | 1075 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); local 1082 Builder.CreateStore(StartVal, Alloca); 1097 NamedValues[VarName] = Alloca; 1121 Value *CurVar = Builder.CreateLoad(Alloca, VarName.c_str()); 1123 Builder.CreateStore(NextVar, Alloca); 1173 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); local 1174 Builder.CreateStore(InitVal, Alloca); 1181 NamedValues[VarName] = Alloca; 1244 AllocaInst *Alloca = CreateEntryBlockAlloca(F, Args[Idx]); local 1247 Builder.CreateStore(AI, Alloca); [all...] |
/external/llvm/examples/Kaleidoscope/Orc/fully_lazy/ |
H A D | toy.cpp | 920 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); local 927 C.getBuilder().CreateStore(StartVal, Alloca); 942 C.NamedValues[VarName] = Alloca; 966 Value *CurVar = C.getBuilder().CreateLoad(Alloca, VarName.c_str()); 968 C.getBuilder().CreateStore(NextVar, Alloca); 1016 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); local 1017 C.getBuilder().CreateStore(InitVal, Alloca); 1024 C.NamedValues[VarName] = Alloca; 1085 AllocaInst *Alloca = CreateEntryBlockAlloca(F, Args[Idx]); local 1088 C.getBuilder().CreateStore(&*AI, Alloca); [all...] |
/external/llvm/examples/Kaleidoscope/Orc/initial/ |
H A D | toy.cpp | 919 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); local 926 C.getBuilder().CreateStore(StartVal, Alloca); 941 C.NamedValues[VarName] = Alloca; 965 Value *CurVar = C.getBuilder().CreateLoad(Alloca, VarName.c_str()); 967 C.getBuilder().CreateStore(NextVar, Alloca); 1015 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); local 1016 C.getBuilder().CreateStore(InitVal, Alloca); 1023 C.NamedValues[VarName] = Alloca; 1084 AllocaInst *Alloca = CreateEntryBlockAlloca(F, Args[Idx]); local 1087 C.getBuilder().CreateStore(&*AI, Alloca); [all...] |
/external/llvm/examples/Kaleidoscope/Orc/lazy_codegen/ |
H A D | toy.cpp | 919 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); local 926 C.getBuilder().CreateStore(StartVal, Alloca); 941 C.NamedValues[VarName] = Alloca; 965 Value *CurVar = C.getBuilder().CreateLoad(Alloca, VarName.c_str()); 967 C.getBuilder().CreateStore(NextVar, Alloca); 1015 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); local 1016 C.getBuilder().CreateStore(InitVal, Alloca); 1023 C.NamedValues[VarName] = Alloca; 1084 AllocaInst *Alloca = CreateEntryBlockAlloca(F, Args[Idx]); local 1087 C.getBuilder().CreateStore(&*AI, Alloca); [all...] |
/external/llvm/examples/Kaleidoscope/Orc/lazy_irgen/ |
H A D | toy.cpp | 919 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); local 926 C.getBuilder().CreateStore(StartVal, Alloca); 941 C.NamedValues[VarName] = Alloca; 965 Value *CurVar = C.getBuilder().CreateLoad(Alloca, VarName.c_str()); 967 C.getBuilder().CreateStore(NextVar, Alloca); 1015 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); local 1016 C.getBuilder().CreateStore(InitVal, Alloca); 1023 C.NamedValues[VarName] = Alloca; 1084 AllocaInst *Alloca = CreateEntryBlockAlloca(F, Args[Idx]); local 1087 C.getBuilder().CreateStore(&*AI, Alloca); [all...] |
/external/llvm/bindings/ocaml/llvm/ |
H A D | llvm.ml | 180 | Alloca Constructor in type:Opcode/t
|
/external/llvm/lib/Transforms/IPO/ |
H A D | GlobalOpt.cpp | 1886 AllocaInst *Alloca = new AllocaInst(ElemTy, nullptr, local 1889 new StoreInst(GV->getInitializer(), Alloca, &FirstI); 1893 GV->replaceAllUsesWith(Alloca);
|
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCompares.cpp | 733 Instruction *InstCombiner::FoldAllocaCmp(ICmpInst &ICI, AllocaInst *Alloca, argument 754 for (Use &U : Alloca->uses()) { 3291 if (auto *Alloca = dyn_cast<AllocaInst>(GetUnderlyingObject(Op0, DL))) 3292 if (Instruction *New = FoldAllocaCmp(I, Alloca, Op1)) 3294 if (auto *Alloca = dyn_cast<AllocaInst>(GetUnderlyingObject(Op1, DL))) 3295 if (Instruction *New = FoldAllocaCmp(I, Alloca, Op0))
|
/external/llvm/lib/Transforms/Scalar/ |
H A D | RewriteStatepointsForGC.cpp | 1663 Value *Alloca = AllocaMap[OriginalValue]; local 1673 cast<AllocaInst>(Alloca)->getAllocatedType(), 1676 StoreInst *Store = new StoreInst(CastedRelocatedValue, Alloca); 1699 Value *Alloca = AllocaMap[OriginalValue]; local 1701 StoreInst *Store = new StoreInst(RematerializedValue, Alloca); 1734 AllocaInst *Alloca = new AllocaInst(LiveValue->getType(), "", 1736 AllocaMap[LiveValue] = Alloca; 1737 PromotableAllocas.push_back(Alloca); 1793 AllocaInst *Alloca = cast<AllocaInst>(Pair.second); local 1799 ToClobber.push_back(Alloca); 1826 Value *Alloca = Pair.second; local 1977 AllocaInst *Alloca = local 2021 AllocaInst *Alloca = AllocaMap[V]; local [all...] |
/external/llvm/lib/Transforms/Instrumentation/ |
H A D | AddressSanitizer.cpp | 619 // Finds all Alloca instructions and puts 675 /// \brief Collect Alloca instructions we want (and can) handle. 1800 AllocaInst *Alloca; local 1802 Alloca = IRB.CreateAlloca(IRB.getInt8Ty(), 1806 Alloca = IRB.CreateAlloca(ArrayType::get(IRB.getInt8Ty(), L.FrameSize), 1808 assert(Alloca->isStaticAlloca()); 1812 Alloca->setAlignment(FrameAlignment); 1813 return IRB.CreatePointerCast(Alloca, IntptrTy); 1944 // Replace Alloca instructions with base+offset.
|