Home
last modified time | relevance | path

Searched refs:Alloca (Results 1 – 25 of 37) sorted by relevance

12

/external/llvm/examples/Kaleidoscope/Chapter7/
Dtoy.cpp785 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); in Codegen() local
792 Builder.CreateStore(StartVal, Alloca); in Codegen()
807 NamedValues[VarName] = Alloca; in Codegen()
831 Value *CurVar = Builder.CreateLoad(Alloca, VarName.c_str()); in Codegen()
833 Builder.CreateStore(NextVar, Alloca); in Codegen()
883 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); in Codegen() local
884 Builder.CreateStore(InitVal, Alloca); in Codegen()
891 NamedValues[VarName] = Alloca; in Codegen()
950 AllocaInst *Alloca = CreateEntryBlockAlloca(F, Args[Idx]); in CreateArgumentAllocas() local
953 Builder.CreateStore(AI, Alloca); in CreateArgumentAllocas()
[all …]
/external/llvm/lib/Target/R600/
DAMDGPUFrameLowering.cpp81 const AllocaInst *Alloca = MFI->getObjectAllocation(i); in getFrameIndexOffset() local
83 const Type *AllocaType = Alloca->getAllocatedType(); in getFrameIndexOffset()
/external/llvm/include/llvm/CodeGen/
DMachineFrameInfo.h110 const AllocaInst *Alloca; member
119 isSpillSlot(isSS), MayNeedSP(NSP), Alloca(Val), PreAllocated(false) {} in StackObject()
379 return Objects[ObjectIdx+NumFixedObjects].Alloca; in getObjectAllocation()
503 bool MayNeedSP = false, const AllocaInst *Alloca = 0);
/external/llvm/test/Assembler/
D2002-04-29-NameBinding.ll14 %v1 = alloca i32 ;; Alloca should have one use!
/external/llvm/docs/tutorial/
DLangImpl7.rst377 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
384 Builder.CreateStore(StartVal, Alloca);
393 Value *CurVar = Builder.CreateLoad(Alloca);
395 Builder.CreateStore(NextVar, Alloca);
414 AllocaInst *Alloca = CreateEntryBlockAlloca(F, Args[Idx]);
417 Builder.CreateStore(AI, Alloca);
420 NamedValues[Args[Idx]] = Alloca;
798 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
799 Builder.CreateStore(InitVal, Alloca);
806 NamedValues[VarName] = Alloca;
[all …]
/external/llvm/lib/Transforms/ObjCARC/
DObjCARCUtil.cpp202 case Instruction::Alloca: case Instruction::VAArg: in GetInstructionClass()
DObjCARCOpts.cpp2417 if (AllocaInst *Alloca = dyn_cast<AllocaInst>(Arg)) { in OptimizeWeakCalls() local
2418 for (Value::use_iterator UI = Alloca->use_begin(), in OptimizeWeakCalls()
2419 UE = Alloca->use_end(); UI != UE; ++UI) { in OptimizeWeakCalls()
2431 for (Value::use_iterator UI = Alloca->use_begin(), in OptimizeWeakCalls()
2432 UE = Alloca->use_end(); UI != UE; ) { in OptimizeWeakCalls()
2448 Alloca->eraseFromParent(); in OptimizeWeakCalls()
/external/bison/tests/
Dtorture.at463 ## Exploding the Stack Size with Alloca. ##
466 AT_SETUP([Exploding the Stack Size with Alloca])
/external/clang/lib/CodeGen/
DCGCall.cpp1314 llvm::AllocaInst *Alloca = CreateMemTemp(Ty, Arg->getName()); in EmitFunctionProlog() local
1323 Alloca->setAlignment(AlignmentToUse); in EmitFunctionProlog()
1324 llvm::Value *V = Alloca; in EmitFunctionProlog()
1391 llvm::AllocaInst *Alloca = CreateMemTemp(Ty); in EmitFunctionProlog() local
1393 Alloca->setAlignment(Align.getQuantity()); in EmitFunctionProlog()
1394 LValue LV = MakeAddrLValue(Alloca, Ty, Align); in EmitFunctionProlog()
1396 EmitParmDecl(*Arg, Alloca, ArgNo); in EmitFunctionProlog()
DCodeGenModule.cpp2925 if (llvm::AllocaInst *Alloca = dyn_cast<llvm::AllocaInst>(Addr)) { in EmitDeclMetadata() local
2927 Alloca->setMetadata(DeclPtrKind, llvm::MDNode::get(Context, DAddr)); in EmitDeclMetadata()
/external/llvm/include/llvm/IR/
DInstruction.def132 HANDLE_MEMORY_INST(26, Alloca, AllocaInst) // Stack management
DInstrTypes.h116 return I->getOpcode() == Instruction::Alloca || in classof()
/external/llvm/lib/CodeGen/
DMachineFunction.cpp483 bool isSS, bool MayNeedSP, const AllocaInst *Alloca) { in CreateStackObject() argument
488 Alloca)); in CreateStackObject()
DTargetLoweringBase.cpp1209 case Alloca: return 0; in InstructionOpcodeToISD()
/external/llvm/lib/IR/
DInstruction.cpp217 case Alloca: return "alloca"; in getOpcodeName()
DInstructions.cpp836 : UnaryInstruction(PointerType::getUnqual(Ty), Alloca, in AllocaInst()
845 : UnaryInstruction(PointerType::getUnqual(Ty), Alloca, in AllocaInst()
854 : UnaryInstruction(PointerType::getUnqual(Ty), Alloca, in AllocaInst()
863 : UnaryInstruction(PointerType::getUnqual(Ty), Alloca, in AllocaInst()
872 : UnaryInstruction(PointerType::getUnqual(Ty), Alloca, in AllocaInst()
881 : UnaryInstruction(PointerType::getUnqual(Ty), Alloca, in AllocaInst()
/external/llvm/lib/Transforms/IPO/
DFunctionAttrs.cpp529 case Instruction::Alloca: in IsFunctionMallocLike()
DGlobalOpt.cpp1962 AllocaInst *Alloca = new AllocaInst(ElemTy, NULL, GV->getName(), &FirstI); in ProcessInternalGlobal() local
1964 new StoreInst(GV->getInitializer(), Alloca, &FirstI); in ProcessInternalGlobal()
1966 GV->replaceAllUsesWith(Alloca); in ProcessInternalGlobal()
/external/llvm/lib/AsmParser/
DLLLexer.cpp671 INSTKEYWORD(alloca, Alloca); in LexIdentifier()
/external/llvm/lib/Analysis/
DValueTracking.cpp609 case Instruction::Alloca: { in ComputeMaskedBits()
2002 case Instruction::Alloca: in isSafeToSpeculativelyExecute()
/external/llvm/lib/Transforms/Scalar/
DReassociate.cpp170 I->getOpcode() == Instruction::Alloca || in isUnmovableInstruction()
/external/llvm/lib/CodeGen/SelectionDAG/
DFastISel.cpp1032 case Instruction::Alloca: in SelectOperator()
/external/llvm/lib/ExecutionEngine/Interpreter/
DExecution.cpp767 if (I.getOpcode() == Instruction::Alloca) in visitAllocaInst()
/external/compiler-rt/lib/msan/tests/
Dmsan_test.cc1819 TEST(MemorySanitizerOrigins, Alloca) { in TEST() argument
/external/llvm/bindings/ocaml/llvm/
Dllvm.ml169 | Alloca Constructor

12