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

1 2

  /external/clang/lib/CodeGen/
CGCUDABuiltin.cpp 60 // char* buf = alloca(sizeof(Tmp));
103 llvm::Value *Alloca = CreateTempAlloca(AllocaTy);
106 llvm::Value *P = Builder.CreateStructGEP(AllocaTy, Alloca, I - 1);
110 BufferPtr = Builder.CreatePointerCast(Alloca, llvm::Type::getInt8PtrTy(Ctx));
CGBlocks.cpp 1230 Address alloca = local
    [all...]
  /external/llvm/lib/Target/AMDGPU/
AMDGPUTargetTransformInfo.cpp 49 const AllocaInst *Alloca =
51 if (Alloca) {
52 // We want to do whatever we can to limit the number of alloca
56 // alloca ptr, then we want to use a higher than normal loop unroll
  /external/llvm/unittests/Transforms/Utils/
MemorySSA.cpp 214 // %A = alloca i8, i8 1
227 Value *Alloca = B.CreateAlloca(Int8, ConstantInt::get(Int8, 1), "A");
228 StoreInst *S1 = B.CreateStore(ConstantInt::get(Int8, 0), Alloca);
229 StoreInst *S2 = B.CreateStore(ConstantInt::get(Int8, 1), Alloca);
230 StoreInst *S3 = B.CreateStore(ConstantInt::get(Int8, 2), Alloca);
259 Value *Alloca = B.CreateAlloca(Int8, ConstantInt::get(Int8, 1), "A");
260 Instruction *SI = B.CreateStore(ConstantInt::get(Int8, 0), Alloca);
261 Instruction *LI = B.CreateLoad(Alloca);
289 Value *Alloca = B.CreateAlloca(Int8, ConstantInt::get(Int8, 1), "A");
290 StoreInst *SI = B.CreateStore(ConstantInt::get(Int8, 0), Alloca);
    [all...]
Cloning.cpp 247 AllocaInst* Alloca = IBuilder.CreateAlloca(IntegerType::getInt32Ty(C));
250 Instruction* Store = IBuilder.CreateStore(AllocaContent, Alloca);
254 // Create a local variable around the alloca
261 DBuilder.insertDeclare(Alloca, Variable, E, DL, Store);
  /external/llvm/include/llvm/CodeGen/
WinEHFuncInfo.h 65 /// The CatchObj starts out life as an LLVM alloca and is eventually turned
68 const AllocaInst *Alloca;
MachineFrameInfo.h 68 /// variable sized alloca's in the source program are the only source of
111 /// If this stack object is originated from an Alloca instruction
113 const AllocaInst *Alloca;
134 isSpillSlot(isSS), isStatepointSpillSlot(false), Alloca(Val),
145 /// lowering. All non-alloca stack objects have their alignment clamped to the
149 /// then only use a single alloca to allocate this frame and only a
151 /// optimization, each such alloca gets it's own dynamic
419 /// Return the underlying Alloca of the specified
424 return Objects[ObjectIdx+NumFixedObjects].Alloca;
611 const AllocaInst *Alloca = nullptr)
    [all...]
  /external/llvm/lib/CodeGen/MIRParser/
MIRParser.cpp 506 const AllocaInst *Alloca = nullptr;
509 Alloca = dyn_cast_or_null<AllocaInst>(
511 if (!Alloca)
513 "alloca instruction named '" + Name.Value +
518 ObjectIdx = MFI.CreateVariableSizedObject(Object.Alignment, Alloca);
522 Object.Type == yaml::MachineStackObject::SpillSlot, Alloca);
  /external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/
toy.cpp 714 /// CreateEntryBlockAlloca - Create an alloca instruction in the entry block of
875 // var = alloca double
896 // Create an alloca for the variable in the entry block.
897 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
904 // Store the value into the alloca.
905 Builder.CreateStore(StartVal, Alloca);
920 NamedValues[VarName] = Alloca;
944 // Reload, increment, and restore the alloca. This handles the case where
946 Value *CurVar = Builder.CreateLoad(Alloca, VarName.c_str());
948 Builder.CreateStore(NextVar, Alloca);
    [all...]
  /external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/
toy.cpp 714 /// CreateEntryBlockAlloca - Create an alloca instruction in the entry block of
875 // var = alloca double
896 // Create an alloca for the variable in the entry block.
897 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
904 // Store the value into the alloca.
905 Builder.CreateStore(StartVal, Alloca);
920 NamedValues[VarName] = Alloca;
944 // Reload, increment, and restore the alloca. This handles the case where
946 Value *CurVar = Builder.CreateLoad(Alloca, VarName.c_str());
948 Builder.CreateStore(NextVar, Alloca);
    [all...]
  /external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/
toy.cpp 714 /// CreateEntryBlockAlloca - Create an alloca instruction in the entry block of
875 // var = alloca double
896 // Create an alloca for the variable in the entry block.
897 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
904 // Store the value into the alloca.
905 Builder.CreateStore(StartVal, Alloca);
920 NamedValues[VarName] = Alloca;
944 // Reload, increment, and restore the alloca. This handles the case where
946 Value *CurVar = Builder.CreateLoad(Alloca, VarName.c_str());
948 Builder.CreateStore(NextVar, Alloca);
    [all...]
  /external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/
toy.cpp 703 /// CreateEntryBlockAlloca - Create an alloca instruction in the entry block of
864 // var = alloca double
885 // Create an alloca for the variable in the entry block.
886 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
893 // Store the value into the alloca.
894 Builder.CreateStore(StartVal, Alloca);
909 NamedValues[VarName] = Alloca;
933 // Reload, increment, and restore the alloca. This handles the case where
935 Value *CurVar = Builder.CreateLoad(Alloca, VarName.c_str());
937 Builder.CreateStore(NextVar, Alloca);
    [all...]
  /external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/
toy.cpp 725 /// CreateEntryBlockAlloca - Create an alloca instruction in the entry block of
886 // var = alloca double
907 // Create an alloca for the variable in the entry block.
908 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
915 // Store the value into the alloca.
916 Builder.CreateStore(StartVal, Alloca);
931 NamedValues[VarName] = Alloca;
955 // Reload, increment, and restore the alloca. This handles the case where
957 Value *CurVar = Builder.CreateLoad(Alloca, VarName.c_str());
959 Builder.CreateStore(NextVar, Alloca);
    [all...]
  /external/llvm/examples/Kaleidoscope/Chapter7/
toy.cpp 715 /// CreateEntryBlockAlloca - Create an alloca instruction in the entry block of
876 // var = alloca double
897 // Create an alloca for the variable in the entry block.
898 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
905 // Store the value into the alloca.
906 Builder.CreateStore(StartVal, Alloca);
921 NamedValues[VarName] = Alloca;
945 // Reload, increment, and restore the alloca. This handles the case where
947 Value *CurVar = Builder.CreateLoad(Alloca, VarName.c_str());
949 Builder.CreateStore(NextVar, Alloca);
    [all...]
  /external/llvm/examples/Kaleidoscope/Chapter8/
toy.cpp 710 /// CreateEntryBlockAlloca - Create an alloca instruction in the entry block of
871 // var = alloca double
892 // Create an alloca for the variable in the entry block.
893 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
900 // Store the value into the alloca.
901 Builder.CreateStore(StartVal, Alloca);
916 NamedValues[VarName] = Alloca;
940 // Reload, increment, and restore the alloca. This handles the case where
942 Value *CurVar = Builder.CreateLoad(Alloca, VarName.c_str());
944 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
788 // var = alloca double
809 // Create an alloca for the variable in the entry block.
810 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
816 // Store the value into the alloca.
817 Builder.CreateStore(StartVal, Alloca);
832 NamedValues[VarName] = Alloca;
854 // Reload, increment, and restore the alloca. This handles the case where
856 Value *CurVar = Builder.CreateLoad(Alloca, VarName.c_str());
858 Builder.CreateStore(NextVar, Alloca);
    [all...]
toy.cpp 1003 /// CreateEntryBlockAlloca - Create an alloca instruction in the entry block of
    [all...]
  /external/llvm/examples/Kaleidoscope/MCJIT/lazy/
toy-jit.cpp 617 /// CreateEntryBlockAlloca - Create an alloca instruction in the entry block of
770 // var = alloca double
791 // Create an alloca for the variable in the entry block.
792 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
798 // Store the value into the alloca.
799 Builder.CreateStore(StartVal, Alloca);
814 NamedValues[VarName] = Alloca;
836 // Reload, increment, and restore the alloca. This handles the case where
838 Value *CurVar = Builder.CreateLoad(Alloca, VarName.c_str());
840 Builder.CreateStore(NextVar, Alloca);
    [all...]
toy.cpp 901 /// CreateEntryBlockAlloca - Create an alloca instruction in the entry block of
1050 // var = alloca double
1071 // Create an alloca for the variable in the entry block.
1072 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
1078 // Store the value into the alloca.
1079 Builder.CreateStore(StartVal, Alloca);
1094 NamedValues[VarName] = Alloca;
1116 // Reload, increment, and restore the alloca. This handles the case where
1118 Value *CurVar = Builder.CreateLoad(Alloca, VarName.c_str());
1120 Builder.CreateStore(NextVar, Alloca);
    [all...]
  /external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter7/
toy.cpp 613 /// CreateEntryBlockAlloca - Create an alloca instruction in the entry block of
763 // var = alloca double
784 // Create an alloca for the variable in the entry block.
785 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
791 // Store the value into the alloca.
792 Builder.CreateStore(StartVal, Alloca);
807 NamedValues[VarName] = Alloca;
829 // Reload, increment, and restore the alloca. This handles the case where
831 Value *CurVar = Builder.CreateLoad(Alloca, VarName.c_str());
833 Builder.CreateStore(NextVar, Alloca);
    [all...]
  /external/llvm/examples/Kaleidoscope/Chapter9/
toy.cpp 884 /// CreateEntryBlockAlloca - Create an alloca instruction in the entry block of
1055 // var = alloca double
1076 // Create an alloca for the variable in the entry block.
1077 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
1086 // Store the value into the alloca.
1087 Builder.CreateStore(StartVal, Alloca);
1102 NamedValues[VarName] = Alloca;
1126 // Reload, increment, and restore the alloca. This handles the case where
1128 Value *CurVar = Builder.CreateLoad(Alloca, VarName.c_str());
1130 Builder.CreateStore(NextVar, Alloca);
    [all...]
  /external/llvm/examples/Kaleidoscope/MCJIT/complete/
toy.cpp 1075 /// 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
1010 // var = alloca double
1031 // Create an alloca for the variable in the entry block.
1032 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
1038 // Store the value into the alloca.
1039 Builder.CreateStore(StartVal, Alloca);
1054 NamedValues[VarName] = Alloca;
1076 // Reload, increment, and restore the alloca. This handles the case where
1078 Value *CurVar = Builder.CreateLoad(Alloca, VarName.c_str());
1080 Builder.CreateStore(NextVar, Alloca);
    [all...]
  /external/llvm/lib/Transforms/IPO/
GlobalOpt.cpp     [all...]
  /external/llvm/lib/Transforms/Scalar/
RewriteStatepointsForGC.cpp     [all...]

Completed in 570 milliseconds

1 2