HomeSort by relevance Sort by last modified time
    Searched refs:Alloca (Results 1 - 25 of 44) sorted by null

1 2

  /external/llvm/lib/Target/R600/
AMDGPUTargetTransformInfo.cpp 107 const AllocaInst *Alloca = dyn_cast<AllocaInst>(GetUnderlyingObject(Ptr));
108 if (Alloca) {
109 // We want to do whatever we can to limit the number of alloca
113 // alloca ptr, then we want to use a higher than normal loop unroll
AMDGPUPromoteAlloca.cpp 22 #define DEBUG_TYPE "amdgpu-promote-alloca"
42 return "AMDGPU Promote Alloca";
148 static bool tryPromoteAllocaToVector(AllocaInst *Alloca) {
149 Type *AllocaTy = Alloca->getAllocatedType();
151 DEBUG(dbgs() << "Alloca Candidate for vectorization \n");
165 for (User *AllocaUser : Alloca->users()) {
178 // promote this alloca to vector.
195 DEBUG(dbgs() << " Converting alloca to vector "
206 Value *BitCast = Builder.CreateBitCast(Alloca, VectorTy->getPointerTo(0));
216 Value *BitCast = Builder.CreateBitCast(Alloca, VectorTy->getPointerTo(0))
    [all...]
  /external/llvm/include/llvm/CodeGen/
MachineFrameInfo.h 68 /// variable sized alloca's in the source program are the only source of
104 /// Alloca - If this stack object is originated from an Alloca instruction
106 const AllocaInst *Alloca;
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/
toy.cpp 615 /// CreateEntryBlockAlloca - Create an alloca instruction in the entry block of
765 // var = alloca double
786 // Create an alloca for the variable in the entry block.
787 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
793 // Store the value into the alloca.
794 Builder.CreateStore(StartVal, Alloca);
809 NamedValues[VarName] = Alloca;
831 // Reload, increment, and restore the alloca. This handles the case where
833 Value *CurVar = Builder.CreateLoad(Alloca, VarName.c_str());
835 Builder.CreateStore(NextVar, Alloca);
    [all...]
  /external/llvm/examples/Kaleidoscope/MCJIT/cached/
toy-jit.cpp 632 /// CreateEntryBlockAlloca - Create an alloca instruction in the entry block of
792 // var = alloca double
813 // Create an alloca for the variable in the entry block.
814 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
820 // Store the value into the alloca.
821 Builder.CreateStore(StartVal, Alloca);
836 NamedValues[VarName] = Alloca;
858 // Reload, increment, and restore the alloca. This handles the case where
860 Value *CurVar = Builder.CreateLoad(Alloca, VarName.c_str());
862 Builder.CreateStore(NextVar, Alloca);
    [all...]
toy.cpp 1003 /// CreateEntryBlockAlloca - Create an alloca instruction in the entry block of
    [all...]
  /external/llvm/examples/Kaleidoscope/MCJIT/initial/
toy.cpp 861 /// CreateEntryBlockAlloca - Create an alloca instruction in the entry block of
1014 // var = alloca double
1035 // Create an alloca for the variable in the entry block.
1036 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
1042 // Store the value into the alloca.
1043 Builder.CreateStore(StartVal, Alloca);
1058 NamedValues[VarName] = Alloca;
1080 // Reload, increment, and restore the alloca. This handles the case where
1082 Value *CurVar = Builder.CreateLoad(Alloca, VarName.c_str());
1084 Builder.CreateStore(NextVar, Alloca);
    [all...]
  /external/llvm/examples/Kaleidoscope/MCJIT/lazy/
toy-jit.cpp 617 /// CreateEntryBlockAlloca - Create an alloca instruction in the entry block of
774 // var = alloca double
795 // Create an alloca for the variable in the entry block.
796 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
802 // Store the value into the alloca.
803 Builder.CreateStore(StartVal, Alloca);
818 NamedValues[VarName] = Alloca;
840 // Reload, increment, and restore the alloca. This handles the case where
842 Value *CurVar = Builder.CreateLoad(Alloca, VarName.c_str());
844 Builder.CreateStore(NextVar, Alloca);
    [all...]
toy.cpp 901 /// CreateEntryBlockAlloca - Create an alloca instruction in the entry block of
1054 // var = alloca double
1075 // Create an alloca for the variable in the entry block.
1076 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
1082 // Store the value into the alloca.
1083 Builder.CreateStore(StartVal, Alloca);
1098 NamedValues[VarName] = Alloca;
1120 // Reload, increment, and restore the alloca. This handles the case where
1122 Value *CurVar = Builder.CreateLoad(Alloca, VarName.c_str())
    [all...]
  /external/llvm/examples/Kaleidoscope/MCJIT/complete/
toy.cpp     [all...]
  /external/llvm/unittests/Transforms/Utils/
Cloning.cpp 248 AllocaInst* Alloca = IBuilder.CreateAlloca(IntegerType::getInt32Ty(C));
251 Instruction* Store = IBuilder.CreateStore(AllocaContent, Alloca);
255 // Create a local variable around the alloca
260 DBuilder.insertDeclare(Alloca, Variable, Store);
  /external/llvm/lib/CodeGen/
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));
656 // any calls or alloca's, align to the target's StackAlignment value to
657 // ensure that the callee's frame or the alloca data is suitably aligned;
    [all...]
TargetLoweringBase.cpp     [all...]
  /external/llvm/lib/Transforms/ObjCARC/
ObjCARCUtil.cpp 215 case Instruction::Alloca: case Instruction::VAArg:
ObjCARCOpts.cpp 179 /// alloca.
    [all...]
  /external/llvm/lib/IR/
Instruction.cpp 221 case Alloca: return "alloca";
Instructions.cpp 836 : UnaryInstruction(PointerType::getUnqual(Ty), Alloca,
845 : UnaryInstruction(PointerType::getUnqual(Ty), Alloca,
854 : UnaryInstruction(PointerType::getUnqual(Ty), Alloca,
863 : UnaryInstruction(PointerType::getUnqual(Ty), Alloca,
    [all...]
  /external/clang/lib/CodeGen/
CGCall.cpp     [all...]
CGBlocks.cpp 1181 llvm::AllocaInst *alloca = local
    [all...]
  /external/llvm/include/llvm/IR/
InstrTypes.h 116 return I->getOpcode() == Instruction::Alloca ||
    [all...]
  /external/lldb/source/Expression/
IRInterpreter.cpp 394 // 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:
    [all...]
  /external/llvm/lib/AsmParser/
LLLexer.cpp 733 INSTKEYWORD(alloca, Alloca);
  /external/llvm/lib/Analysis/
ValueTracking.cpp 596 case Instruction::Alloca: {
    [all...]
  /external/llvm/lib/Transforms/IPO/
GlobalOpt.cpp     [all...]
  /external/llvm/lib/CodeGen/SelectionDAG/
FastISel.cpp     [all...]

Completed in 1444 milliseconds

1 2