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

1 2 3

  /external/llvm/lib/Target/AMDGPU/
AMDGPUTargetTransformInfo.cpp 47 const AllocaInst *Alloca =
49 if (Alloca) {
50 // We want to do whatever we can to limit the number of alloca
54 // alloca ptr, then we want to use a higher than normal loop unroll
AMDGPUPromoteAlloca.cpp 23 #define DEBUG_TYPE "amdgpu-promote-alloca"
42 const char *getPassName() const override { return "AMDGPU Promote Alloca"; }
153 static bool tryPromoteAllocaToVector(AllocaInst *Alloca) {
154 Type *AllocaTy = Alloca->getAllocatedType();
156 DEBUG(dbgs() << "Alloca Candidate for vectorization \n");
170 for (User *AllocaUser : Alloca->users()) {
173 if (!canVectorizeInst(cast<Instruction>(AllocaUser), Alloca))
183 // promote this alloca to vector.
200 DEBUG(dbgs() << " Converting alloca to vector "
211 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 /// If this stack object is originated from an Alloca instruction
106 const AllocaInst *Alloca;
121 isSpillSlot(isSS), Alloca(Val), PreAllocated(false), isAliased(A) {}
134 /// then only use a single alloca to allocate this frame and only a
136 /// optimization, each such alloca gets it's own dynamic
422 /// Return the underlying Alloca of the specified
427 return Objects[ObjectIdx+NumFixedObjects].Alloca;
568 const AllocaInst *Alloca = nullptr);
583 int CreateVariableSizedObject(unsigned Alignment, const AllocaInst *Alloca);
    [all...]
WinEHFuncInfo.h 64 /// The CatchObj starts out life as an LLVM alloca and is eventually turned
67 const AllocaInst *Alloca;
  /external/llvm/examples/Kaleidoscope/Chapter7/
toy.cpp 701 /// CreateEntryBlockAlloca - Create an alloca instruction in the entry block of
866 // var = alloca double
887 // Create an alloca for the variable in the entry block.
888 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
895 // Store the value into the alloca.
896 Builder.CreateStore(StartVal, Alloca);
912 NamedValues[VarName] = Alloca;
936 // Reload, increment, and restore the alloca. This handles the case where
938 Value *CurVar = Builder.CreateLoad(Alloca, VarName.c_str());
940 Builder.CreateStore(NextVar, Alloca);
    [all...]
  /external/llvm/examples/Kaleidoscope/MCJIT/cached/
toy-jit.cpp 631 /// CreateEntryBlockAlloca - Create an alloca instruction in the entry block of
791 // var = alloca double
812 // Create an alloca for the variable in the entry block.
813 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
819 // Store the value into the alloca.
820 Builder.CreateStore(StartVal, Alloca);
835 NamedValues[VarName] = Alloca;
857 // Reload, increment, and restore the alloca. This handles the case where
859 Value *CurVar = Builder.CreateLoad(Alloca, VarName.c_str());
861 Builder.CreateStore(NextVar, Alloca);
    [all...]
toy.cpp 1002 /// CreateEntryBlockAlloca - Create an alloca instruction in the entry block of
    [all...]
  /external/llvm/examples/Kaleidoscope/MCJIT/initial/
toy.cpp 860 /// CreateEntryBlockAlloca - Create an alloca instruction in the entry block of
1013 // var = alloca double
1034 // Create an alloca for the variable in the entry block.
1035 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
1041 // Store the value into the alloca.
1042 Builder.CreateStore(StartVal, Alloca);
1057 NamedValues[VarName] = Alloca;
1079 // Reload, increment, and restore the alloca. This handles the case where
1081 Value *CurVar = Builder.CreateLoad(Alloca, VarName.c_str());
1083 Builder.CreateStore(NextVar, Alloca);
    [all...]
  /external/llvm/examples/Kaleidoscope/MCJIT/lazy/
toy-jit.cpp 616 /// CreateEntryBlockAlloca - Create an alloca instruction in the entry block of
773 // var = alloca double
794 // Create an alloca for the variable in the entry block.
795 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
801 // Store the value into the alloca.
802 Builder.CreateStore(StartVal, Alloca);
817 NamedValues[VarName] = Alloca;
839 // Reload, increment, and restore the alloca. This handles the case where
841 Value *CurVar = Builder.CreateLoad(Alloca, VarName.c_str());
843 Builder.CreateStore(NextVar, Alloca);
    [all...]
toy.cpp 900 /// CreateEntryBlockAlloca - Create an alloca instruction in the entry block of
1053 // var = alloca double
1074 // Create an alloca for the variable in the entry block.
1075 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
1081 // Store the value into the alloca.
1082 Builder.CreateStore(StartVal, Alloca);
1097 NamedValues[VarName] = Alloca;
1119 // Reload, increment, and restore the alloca. This handles the case where
1121 Value *CurVar = Builder.CreateLoad(Alloca, VarName.c_str());
1123 Builder.CreateStore(NextVar, Alloca);
    [all...]
  /external/llvm/lib/Transforms/Scalar/
RewriteStatepointsForGC.cpp     [all...]
  /external/llvm/examples/Kaleidoscope/Chapter8/
toy.cpp 883 /// CreateEntryBlockAlloca - Create an alloca instruction in the entry block of
1057 // var = alloca double
1078 // Create an alloca for the variable in the entry block.
1079 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
1088 // Store the value into the alloca.
1089 Builder.CreateStore(StartVal, Alloca);
1105 NamedValues[VarName] = Alloca;
1129 // Reload, increment, and restore the alloca. This handles the case where
1131 Value *CurVar = Builder.CreateLoad(Alloca, VarName.c_str());
1133 Builder.CreateStore(NextVar, Alloca);
    [all...]
  /external/llvm/examples/Kaleidoscope/MCJIT/complete/
toy.cpp 1074 /// CreateEntryBlockAlloca - Create an alloca instruction in the entry block of
    [all...]
  /external/llvm/examples/Kaleidoscope/Orc/fully_lazy/
toy.cpp 744 /// CreateEntryBlockAlloca - Create an alloca instruction in the entry block of
898 // var = alloca double
919 // Create an alloca for the variable in the entry block.
920 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
926 // Store the value into the alloca.
927 C.getBuilder().CreateStore(StartVal, Alloca);
942 C.NamedValues[VarName] = Alloca;
964 // Reload, increment, and restore the alloca. This handles the case where
966 Value *CurVar = C.getBuilder().CreateLoad(Alloca, VarName.c_str());
968 C.getBuilder().CreateStore(NextVar, Alloca);
    [all...]
  /external/llvm/examples/Kaleidoscope/Orc/initial/
toy.cpp 743 /// CreateEntryBlockAlloca - Create an alloca instruction in the entry block of
897 // var = alloca double
918 // Create an alloca for the variable in the entry block.
919 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
925 // Store the value into the alloca.
926 C.getBuilder().CreateStore(StartVal, Alloca);
941 C.NamedValues[VarName] = Alloca;
963 // Reload, increment, and restore the alloca. This handles the case where
965 Value *CurVar = C.getBuilder().CreateLoad(Alloca, VarName.c_str());
967 C.getBuilder().CreateStore(NextVar, Alloca);
    [all...]
  /external/llvm/examples/Kaleidoscope/Orc/lazy_codegen/
toy.cpp 743 /// CreateEntryBlockAlloca - Create an alloca instruction in the entry block of
897 // var = alloca double
918 // Create an alloca for the variable in the entry block.
919 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
925 // Store the value into the alloca.
926 C.getBuilder().CreateStore(StartVal, Alloca);
941 C.NamedValues[VarName] = Alloca;
963 // Reload, increment, and restore the alloca. This handles the case where
965 Value *CurVar = C.getBuilder().CreateLoad(Alloca, VarName.c_str());
967 C.getBuilder().CreateStore(NextVar, Alloca);
    [all...]
  /external/llvm/examples/Kaleidoscope/Orc/lazy_irgen/
toy.cpp 743 /// CreateEntryBlockAlloca - Create an alloca instruction in the entry block of
897 // var = alloca double
918 // Create an alloca for the variable in the entry block.
919 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
925 // Store the value into the alloca.
926 C.getBuilder().CreateStore(StartVal, Alloca);
941 C.NamedValues[VarName] = Alloca;
963 // Reload, increment, and restore the alloca. This handles the case where
965 Value *CurVar = C.getBuilder().CreateLoad(Alloca, VarName.c_str());
967 C.getBuilder().CreateStore(NextVar, Alloca);
    [all...]
  /external/llvm/lib/CodeGen/MIRParser/
MIRParser.cpp 473 const AllocaInst *Alloca = nullptr;
476 Alloca = dyn_cast_or_null<AllocaInst>(
478 if (!Alloca)
480 "alloca instruction named '" + Name.Value +
485 ObjectIdx = MFI.CreateVariableSizedObject(Object.Alignment, Alloca);
489 Object.Type == yaml::MachineStackObject::SpillSlot, Alloca);
  /external/llvm/lib/CodeGen/SelectionDAG/
FunctionLoweringInfo.cpp 190 // temporary alloca at this point).
305 if (H.CatchObj.Alloca) {
306 assert(StaticAllocaMap.count(H.CatchObj.Alloca));
307 H.CatchObj.FrameIndex = StaticAllocaMap[H.CatchObj.Alloca];
  /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
262 DBuilder.insertDeclare(Alloca, Variable, E, DL, Store);
  /external/llvm/lib/CodeGen/
MachineFunction.cpp 538 bool isSS, const AllocaInst *Alloca) {
542 Objects.push_back(StackObject(Size, Alignment, 0, false, isSS, Alloca,
566 const AllocaInst *Alloca) {
570 Objects.push_back(StackObject(0, Alignment, 0, false, false, Alloca, true));
591 /*Alloca*/ nullptr, isAliased));
605 /*Alloca*/ nullptr,
659 // any calls or alloca's, align to the target's StackAlignment value to
660 // ensure that the callee's frame or the alloca data is suitably aligned;
    [all...]
MIRPrinter.cpp 303 if (const auto *Alloca = MFI.getObjectAllocation(I))
305 Alloca->hasName() ? Alloca->getName() : "<unnamed alloca>";
  /external/llvm/lib/Transforms/ObjCARC/
ObjCARCOpts.cpp 85 /// alloca.
479 // This is used to track if a pointer is stored into an alloca.
    [all...]
  /external/llvm/lib/Transforms/Instrumentation/
AddressSanitizer.cpp 220 "asan-stack-dynamic-alloca",
221 cl::desc("Use dynamic alloca to represent stack variables"), cl::Hidden,
425 /// Check if we want (and can) handle this alloca.
428 // Check if we have dynamic alloca.
569 // Stores a place and arguments of poisoning/unpoisoning call for alloca.
604 // Collect alloca, ret, lifetime instructions etc.
619 // Finds all Alloca instructions and puts
636 // alloca. We have a special @llvm.get.dynamic.area.offset intrinsic for
663 // Deploy and poison redzones around dynamic alloca call. To do this, we
666 // addr = alloca type, old_size, alig
    [all...]
  /external/llvm/lib/IR/
Instruction.cpp 230 case Alloca: return "alloca";

Completed in 921 milliseconds

1 2 3