Searched refs:Alloca (Results 1 - 25 of 41) sorted by relevance

12

/external/llvm/lib/Target/R600/
H A DAMDGPUTargetTransformInfo.cpp107 const AllocaInst *Alloca = dyn_cast<AllocaInst>(GetUnderlyingObject(Ptr)); local
108 if (Alloca) {
H A DAMDGPUPromoteAlloca.cpp42 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/include/llvm/CodeGen/
H A DMachineFrameInfo.h104 /// 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/examples/Kaleidoscope/Chapter7/
H A Dtoy.cpp787 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 Dtoy-jit.cpp814 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 Dtoy.cpp1178 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/initial/
H A Dtoy.cpp1036 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 Dtoy-jit.cpp796 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 Dtoy.cpp1076 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/examples/Kaleidoscope/MCJIT/complete/
H A Dtoy.cpp1356 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/unittests/Transforms/Utils/
H A DCloning.cpp248 AllocaInst* Alloca = IBuilder.CreateAlloca(IntegerType::getInt32Ty(C)); local
251 Instruction* Store = IBuilder.CreateStore(AllocaContent, Alloca);
260 DBuilder.insertDeclare(Alloca, Variable, Store);
/external/llvm/lib/CodeGen/
H A DMachineFunction.cpp514 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
H A DTargetLoweringBase.cpp1360 case Alloca: return 0;
/external/llvm/lib/Transforms/ObjCARC/
H A DObjCARCUtil.cpp215 case Instruction::Alloca: case Instruction::VAArg:
H A DObjCARCOpts.cpp2785 if (AllocaInst *Alloca = dyn_cast<AllocaInst>(Arg)) {
2786 for (User *U : Alloca->users()) {
2798 for (auto UI = Alloca->user_begin(), UE = Alloca->user_end(); UI != UE;) {
2814 Alloca->eraseFromParent();
/external/llvm/lib/IR/
H A DInstruction.cpp221 case Alloca: return "alloca";
H A DInstructions.cpp836 : UnaryInstruction(PointerType::getUnqual(Ty), Alloca,
845 : UnaryInstruction(PointerType::getUnqual(Ty), Alloca,
854 : UnaryInstruction(PointerType::getUnqual(Ty), Alloca,
863 : UnaryInstruction(PointerType::getUnqual(Ty), Alloca,
872 : UnaryInstruction(PointerType::getUnqual(Ty), Alloca,
881 : UnaryInstruction(PointerType::getUnqual(Ty), Alloca,
/external/clang/lib/CodeGen/
H A DCGCall.cpp1502 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));
H A DCGBlocks.cpp1153 llvm::AllocaInst *Alloca = CreateTempAlloca(BlockPointer->getType(), local
1156 Alloca->setAlignment(Align);
1160 Builder.CreateAlignedStore(BlockPointer, Alloca, Align);
1161 BlockPointerDbgLoc = Alloca;
/external/lldb/source/Expression/
H A DIRInterpreter.cpp394 // Fall back and allocate space [allocation type Alloca]
464 case Instruction::Alloca:
729 case Instruction::Alloca:
736 log->Printf("getOpcode() returns Alloca, but instruction is not an AllocaInst");
751 // The semantics of Alloca are:
/external/llvm/include/llvm/IR/
H A DInstrTypes.h116 return I->getOpcode() == Instruction::Alloca ||
/external/llvm/lib/AsmParser/
H A DLLLexer.cpp733 INSTKEYWORD(alloca, Alloca);
/external/llvm/lib/Analysis/
H A DValueTracking.cpp596 case Instruction::Alloca: {
2052 case Instruction::Alloca:
2073 // Alloca never returns null, malloc might.
/external/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp1756 AllocaInst *Alloca = new AllocaInst(ElemTy, nullptr, local
1759 new StoreInst(GV->getInitializer(), Alloca, &FirstI);
1761 GV->replaceAllUsesWith(Alloca);
/external/llvm/lib/CodeGen/SelectionDAG/
H A DFastISel.cpp1159 case Instruction::Alloca:

Completed in 486 milliseconds

12