Home
last modified time | relevance | path

Searched refs:StepVal (Results 1 – 18 of 18) sorted by relevance

/external/llvm/examples/Kaleidoscope/Chapter5/
Dtoy.cpp676 Value *StepVal; in Codegen() local
678 StepVal = Step->Codegen(); in Codegen()
679 if (StepVal == 0) in Codegen()
683 StepVal = ConstantFP::get(getGlobalContext(), APFloat(1.0)); in Codegen()
686 Value *NextVar = Builder.CreateFAdd(Variable, StepVal, "nextvar"); in Codegen()
/external/llvm/examples/Kaleidoscope/Chapter6/
Dtoy.cpp784 Value *StepVal; in Codegen() local
786 StepVal = Step->Codegen(); in Codegen()
787 if (StepVal == 0) in Codegen()
791 StepVal = ConstantFP::get(getGlobalContext(), APFloat(1.0)); in Codegen()
794 Value *NextVar = Builder.CreateFAdd(Variable, StepVal, "nextvar"); in Codegen()
/external/llvm/examples/Kaleidoscope/MCJIT/cached/
Dtoy-jit.cpp844 Value *StepVal; in Codegen() local
846 StepVal = Step->Codegen(); in Codegen()
847 if (StepVal == 0) return 0; in Codegen()
850 StepVal = ConstantFP::get(getGlobalContext(), APFloat(1.0)); in Codegen()
860 Value *NextVar = Builder.CreateFAdd(CurVar, StepVal, "nextvar"); in Codegen()
Dtoy.cpp1208 Value *StepVal; in Codegen() local
1210 StepVal = Step->Codegen(); in Codegen()
1211 if (StepVal == 0) return 0; in Codegen()
1214 StepVal = ConstantFP::get(getGlobalContext(), APFloat(1.0)); in Codegen()
1224 Value *NextVar = Builder.CreateFAdd(CurVar, StepVal, "nextvar"); in Codegen()
/external/llvm/examples/Kaleidoscope/Chapter7/
Dtoy.cpp894 Value *StepVal; in Codegen() local
896 StepVal = Step->Codegen(); in Codegen()
897 if (StepVal == 0) in Codegen()
901 StepVal = ConstantFP::get(getGlobalContext(), APFloat(1.0)); in Codegen()
912 Value *NextVar = Builder.CreateFAdd(CurVar, StepVal, "nextvar"); in Codegen()
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/
Dtoy-jit.cpp826 Value *StepVal; in Codegen() local
828 StepVal = Step->Codegen(); in Codegen()
829 if (StepVal == 0) return 0; in Codegen()
832 StepVal = ConstantFP::get(getGlobalContext(), APFloat(1.0)); in Codegen()
842 Value *NextVar = Builder.CreateFAdd(CurVar, StepVal, "nextvar"); in Codegen()
Dtoy.cpp1106 Value *StepVal; in Codegen() local
1108 StepVal = Step->Codegen(); in Codegen()
1109 if (StepVal == 0) return 0; in Codegen()
1112 StepVal = ConstantFP::get(getGlobalContext(), APFloat(1.0)); in Codegen()
1122 Value *NextVar = Builder.CreateFAdd(CurVar, StepVal, "nextvar"); in Codegen()
/external/llvm/examples/Kaleidoscope/MCJIT/initial/
Dtoy.cpp1066 Value *StepVal; in Codegen() local
1068 StepVal = Step->Codegen(); in Codegen()
1069 if (StepVal == 0) return 0; in Codegen()
1072 StepVal = ConstantFP::get(getGlobalContext(), APFloat(1.0)); in Codegen()
1082 Value *NextVar = Builder.CreateFAdd(CurVar, StepVal, "nextvar"); in Codegen()
/external/llvm/examples/Kaleidoscope/Chapter8/
Dtoy.cpp1095 Value *StepVal; in Codegen() local
1097 StepVal = Step->Codegen(); in Codegen()
1098 if (StepVal == 0) in Codegen()
1102 StepVal = ConstantFP::get(getGlobalContext(), APFloat(1.0)); in Codegen()
1113 Value *NextVar = Builder.CreateFAdd(CurVar, StepVal, "nextvar"); in Codegen()
/external/llvm/examples/Kaleidoscope/MCJIT/complete/
Dtoy.cpp1286 Value *StepVal; in Codegen() local
1288 StepVal = Step->Codegen(); in Codegen()
1289 if (StepVal == 0) return 0; in Codegen()
1292 StepVal = ConstantFP::get(getGlobalContext(), APFloat(1.0)); in Codegen()
1302 Value *NextVar = Builder.CreateFAdd(CurVar, StepVal, "nextvar"); in Codegen()
/external/llvm/examples/Kaleidoscope/Orc/lazy_irgen/
Dtoy.cpp951 Value *StepVal; in IRGen() local
953 StepVal = Step->IRGen(C); in IRGen()
954 if (!StepVal) return nullptr; in IRGen()
957 StepVal = ConstantFP::get(getGlobalContext(), APFloat(1.0)); in IRGen()
967 Value *NextVar = C.getBuilder().CreateFAdd(CurVar, StepVal, "nextvar"); in IRGen()
/external/llvm/examples/Kaleidoscope/Orc/initial/
Dtoy.cpp951 Value *StepVal; in IRGen() local
953 StepVal = Step->IRGen(C); in IRGen()
954 if (!StepVal) return nullptr; in IRGen()
957 StepVal = ConstantFP::get(getGlobalContext(), APFloat(1.0)); in IRGen()
967 Value *NextVar = C.getBuilder().CreateFAdd(CurVar, StepVal, "nextvar"); in IRGen()
/external/llvm/examples/Kaleidoscope/Orc/lazy_codegen/
Dtoy.cpp951 Value *StepVal; in IRGen() local
953 StepVal = Step->IRGen(C); in IRGen()
954 if (!StepVal) return nullptr; in IRGen()
957 StepVal = ConstantFP::get(getGlobalContext(), APFloat(1.0)); in IRGen()
967 Value *NextVar = C.getBuilder().CreateFAdd(CurVar, StepVal, "nextvar"); in IRGen()
/external/llvm/examples/Kaleidoscope/Orc/fully_lazy/
Dtoy.cpp952 Value *StepVal; in IRGen() local
954 StepVal = Step->IRGen(C); in IRGen()
955 if (!StepVal) return nullptr; in IRGen()
958 StepVal = ConstantFP::get(getGlobalContext(), APFloat(1.0)); in IRGen()
968 Value *NextVar = C.getBuilder().CreateFAdd(CurVar, StepVal, "nextvar"); in IRGen()
/external/llvm/lib/Analysis/
DLoopAccessAnalysis.cpp565 int64_t StepVal = APStepVal.getSExtValue(); in isStridedPtr() local
568 int64_t Stride = StepVal / Size; in isStridedPtr()
569 int64_t Rem = StepVal % Size; in isStridedPtr()
/external/llvm/docs/tutorial/
DLangImpl5.rst650 Value *StepVal;
652 StepVal = Step->Codegen();
653 if (StepVal == 0) return 0;
656 StepVal = ConstantFP::get(getGlobalContext(), APFloat(1.0));
659 Value *NextVar = Builder.CreateFAdd(Variable, StepVal, "nextvar");
DLangImpl7.rst394 Value *NextVar = Builder.CreateFAdd(CurVar, StepVal, "nextvar");
/external/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp3917 int64_t StepVal = APStepVal.getSExtValue(); in getStrideFromPointer() local
3918 if (PtrAccessSize != StepVal) in getStrideFromPointer()
4987 int64_t StepVal = APStepVal.getSExtValue(); in isLikelyComplexAddressComputation() local
4989 return StepVal > MaxMergeDistance; in isLikelyComplexAddressComputation()