/external/llvm/lib/Target/R600/ |
H A D | AMDGPUTargetTransformInfo.cpp | 107 const AllocaInst *Alloca = dyn_cast<AllocaInst>(GetUnderlyingObject(Ptr)); local 108 if (Alloca) {
|
H A D | AMDGPUPromoteAlloca.cpp | 42 return "AMDGPU Promote Alloca"; 148 static bool tryPromoteAllocaToVector(AllocaInst *Alloca) { argument 149 Type *AllocaTy = Alloca->getAllocatedType(); 151 DEBUG(dbgs() << "Alloca Candidate for vectorization \n"); 165 for (User *AllocaUser : Alloca->users()) { 206 Value *BitCast = Builder.CreateBitCast(Alloca, VectorTy->getPointerTo(0)); 216 Value *BitCast = Builder.CreateBitCast(Alloca, VectorTy->getPointerTo(0));
|
/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); 260 DBuilder.insertDeclare(Alloca, Variable, Store);
|
/external/llvm/include/llvm/CodeGen/ |
H A D | MachineFrameInfo.h | 104 /// Alloca - If this stack object is originated from an Alloca instruction 106 const AllocaInst *Alloca; member in struct:llvm::MachineFrameInfo::StackObject 115 isSpillSlot(isSS), Alloca(Val), PreAllocated(false) {} 397 /// getObjectAllocation - Return the underlying Alloca of the specified 402 return Objects[ObjectIdx+NumFixedObjects].Alloca; 525 const AllocaInst *Alloca = nullptr); 545 int CreateVariableSizedObject(unsigned Alignment, const AllocaInst *Alloca);
|
/external/llvm/lib/CodeGen/ |
H A D | MachineFunction.cpp | 514 bool isSS, const AllocaInst *Alloca) { 520 Objects.push_back(StackObject(Size, Alignment, 0, false, isSS, Alloca)); 548 const AllocaInst *Alloca) { 553 Objects.push_back(StackObject(0, Alignment, 0, false, false, Alloca)); 577 /*Alloca*/ nullptr)); 593 /*Alloca*/ nullptr)); 513 CreateStackObject(uint64_t Size, unsigned Alignment, bool isSS, const AllocaInst *Alloca) argument 547 CreateVariableSizedObject(unsigned Alignment, const AllocaInst *Alloca) argument
|
/external/clang/lib/CodeGen/ |
H A D | CGBlocks.cpp | 1153 llvm::AllocaInst *Alloca = CreateTempAlloca(BlockPointer->getType(), local 1156 Alloca->setAlignment(Align); 1160 Builder.CreateAlignedStore(BlockPointer, Alloca, Align); 1161 BlockPointerDbgLoc = Alloca;
|
H A D | CGCall.cpp | 1502 llvm::AllocaInst *Alloca = CreateMemTemp(Ty, Arg->getName()); local 1511 Alloca->setAlignment(AlignmentToUse); 1512 llvm::Value *V = Alloca; 1583 llvm::AllocaInst *Alloca = CreateMemTemp(Ty); local 1585 Alloca->setAlignment(Align.getQuantity()); 1586 LValue LV = MakeAddrLValue(Alloca, Ty, Align); 1588 ArgVals.push_back(ValueAndIsPtr(Alloca, HavePointer));
|
/external/llvm/examples/Kaleidoscope/Chapter7/ |
H A D | toy.cpp | 787 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); local 794 Builder.CreateStore(StartVal, Alloca); 809 NamedValues[VarName] = Alloca; 833 Value *CurVar = Builder.CreateLoad(Alloca, VarName.c_str()); 835 Builder.CreateStore(NextVar, Alloca); 885 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); local 886 Builder.CreateStore(InitVal, Alloca); 893 NamedValues[VarName] = Alloca; 952 AllocaInst *Alloca = CreateEntryBlockAlloca(F, Args[Idx]); local 955 Builder.CreateStore(AI, Alloca); [all...] |
/external/llvm/examples/Kaleidoscope/MCJIT/cached/ |
H A D | toy-jit.cpp | 814 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); local 821 Builder.CreateStore(StartVal, Alloca); 836 NamedValues[VarName] = Alloca; 860 Value *CurVar = Builder.CreateLoad(Alloca, VarName.c_str()); 862 Builder.CreateStore(NextVar, Alloca); 912 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); local 913 Builder.CreateStore(InitVal, Alloca); 920 NamedValues[VarName] = Alloca; 976 AllocaInst *Alloca = CreateEntryBlockAlloca(F, Args[Idx]); local 979 Builder.CreateStore(AI, Alloca); [all...] |
H A D | toy.cpp | 1178 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); local 1185 Builder.CreateStore(StartVal, Alloca); 1200 NamedValues[VarName] = Alloca; 1224 Value *CurVar = Builder.CreateLoad(Alloca, VarName.c_str()); 1226 Builder.CreateStore(NextVar, Alloca); 1276 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); local 1277 Builder.CreateStore(InitVal, Alloca); 1284 NamedValues[VarName] = Alloca; 1347 AllocaInst *Alloca = CreateEntryBlockAlloca(F, Args[Idx]); local 1350 Builder.CreateStore(AI, Alloca); [all...] |
/external/llvm/examples/Kaleidoscope/MCJIT/complete/ |
H A D | toy.cpp | 1356 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); local 1363 Builder.CreateStore(StartVal, Alloca); 1378 NamedValues[VarName] = Alloca; 1402 Value *CurVar = Builder.CreateLoad(Alloca, VarName.c_str()); 1404 Builder.CreateStore(NextVar, Alloca); 1454 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); local 1455 Builder.CreateStore(InitVal, Alloca); 1462 NamedValues[VarName] = Alloca; 1528 AllocaInst *Alloca = CreateEntryBlockAlloca(F, Args[Idx]); local 1531 Builder.CreateStore(AI, Alloca); [all...] |
/external/llvm/examples/Kaleidoscope/MCJIT/initial/ |
H A D | toy.cpp | 1036 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); local 1043 Builder.CreateStore(StartVal, Alloca); 1058 NamedValues[VarName] = Alloca; 1082 Value *CurVar = Builder.CreateLoad(Alloca, VarName.c_str()); 1084 Builder.CreateStore(NextVar, Alloca); 1134 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); local 1135 Builder.CreateStore(InitVal, Alloca); 1142 NamedValues[VarName] = Alloca; 1205 AllocaInst *Alloca = CreateEntryBlockAlloca(F, Args[Idx]); local 1208 Builder.CreateStore(AI, Alloca); [all...] |
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/ |
H A D | toy-jit.cpp | 796 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); local 803 Builder.CreateStore(StartVal, Alloca); 818 NamedValues[VarName] = Alloca; 842 Value *CurVar = Builder.CreateLoad(Alloca, VarName.c_str()); 844 Builder.CreateStore(NextVar, Alloca); 894 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); local 895 Builder.CreateStore(InitVal, Alloca); 902 NamedValues[VarName] = Alloca; 958 AllocaInst *Alloca = CreateEntryBlockAlloca(F, Args[Idx]); local 961 Builder.CreateStore(AI, Alloca); [all...] |
H A D | toy.cpp | 1076 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); local 1083 Builder.CreateStore(StartVal, Alloca); 1098 NamedValues[VarName] = Alloca; 1122 Value *CurVar = Builder.CreateLoad(Alloca, VarName.c_str()); 1124 Builder.CreateStore(NextVar, Alloca); 1174 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); local 1175 Builder.CreateStore(InitVal, Alloca); 1182 NamedValues[VarName] = Alloca; 1245 AllocaInst *Alloca = CreateEntryBlockAlloca(F, Args[Idx]); local 1248 Builder.CreateStore(AI, Alloca); [all...] |
/external/llvm/bindings/ocaml/llvm/ |
H A D | llvm.ml | 173 | Alloca Constructor in type:Opcode/t
|
/external/llvm/lib/Transforms/IPO/ |
H A D | GlobalOpt.cpp | 1756 AllocaInst *Alloca = new AllocaInst(ElemTy, nullptr, local 1759 new StoreInst(GV->getInitializer(), Alloca, &FirstI); 1761 GV->replaceAllUsesWith(Alloca);
|