Home
last modified time | relevance | path

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

/external/llvm/examples/Kaleidoscope/Chapter5/
Dtoy.cpp612 Value *StepVal; in Codegen() local
614 StepVal = Step->Codegen(); in Codegen()
615 if (StepVal == 0) return 0; in Codegen()
618 StepVal = ConstantFP::get(getGlobalContext(), APFloat(1.0)); in Codegen()
621 Value *NextVar = Builder.CreateFAdd(Variable, StepVal, "nextvar"); in Codegen()
/external/llvm/examples/Kaleidoscope/Chapter6/
Dtoy.cpp716 Value *StepVal; in Codegen() local
718 StepVal = Step->Codegen(); in Codegen()
719 if (StepVal == 0) return 0; in Codegen()
722 StepVal = ConstantFP::get(getGlobalContext(), APFloat(1.0)); in Codegen()
725 Value *NextVar = Builder.CreateFAdd(Variable, StepVal, "nextvar"); in Codegen()
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/
Dtoy-jit.cpp827 Value *StepVal; in Codegen() local
829 StepVal = Step->Codegen(); in Codegen()
830 if (StepVal == 0) return 0; in Codegen()
833 StepVal = ConstantFP::get(getGlobalContext(), APFloat(1.0)); in Codegen()
843 Value *NextVar = Builder.CreateFAdd(CurVar, StepVal, "nextvar"); in Codegen()
Dtoy.cpp1107 Value *StepVal; in Codegen() local
1109 StepVal = Step->Codegen(); in Codegen()
1110 if (StepVal == 0) return 0; in Codegen()
1113 StepVal = ConstantFP::get(getGlobalContext(), APFloat(1.0)); in Codegen()
1123 Value *NextVar = Builder.CreateFAdd(CurVar, StepVal, "nextvar"); in Codegen()
/external/llvm/examples/Kaleidoscope/MCJIT/cached/
Dtoy-jit.cpp845 Value *StepVal; in Codegen() local
847 StepVal = Step->Codegen(); in Codegen()
848 if (StepVal == 0) return 0; in Codegen()
851 StepVal = ConstantFP::get(getGlobalContext(), APFloat(1.0)); in Codegen()
861 Value *NextVar = Builder.CreateFAdd(CurVar, StepVal, "nextvar"); in Codegen()
Dtoy.cpp1209 Value *StepVal; in Codegen() local
1211 StepVal = Step->Codegen(); in Codegen()
1212 if (StepVal == 0) return 0; in Codegen()
1215 StepVal = ConstantFP::get(getGlobalContext(), APFloat(1.0)); in Codegen()
1225 Value *NextVar = Builder.CreateFAdd(CurVar, StepVal, "nextvar"); in Codegen()
/external/llvm/examples/Kaleidoscope/Chapter7/
Dtoy.cpp818 Value *StepVal; in Codegen() local
820 StepVal = Step->Codegen(); in Codegen()
821 if (StepVal == 0) return 0; in Codegen()
824 StepVal = ConstantFP::get(getGlobalContext(), APFloat(1.0)); in Codegen()
834 Value *NextVar = Builder.CreateFAdd(CurVar, StepVal, "nextvar"); in Codegen()
/external/llvm/examples/Kaleidoscope/MCJIT/initial/
Dtoy.cpp1067 Value *StepVal; in Codegen() local
1069 StepVal = Step->Codegen(); in Codegen()
1070 if (StepVal == 0) return 0; in Codegen()
1073 StepVal = ConstantFP::get(getGlobalContext(), APFloat(1.0)); in Codegen()
1083 Value *NextVar = Builder.CreateFAdd(CurVar, StepVal, "nextvar"); in Codegen()
/external/llvm/examples/Kaleidoscope/MCJIT/complete/
Dtoy.cpp1387 Value *StepVal; in Codegen() local
1389 StepVal = Step->Codegen(); in Codegen()
1390 if (StepVal == 0) return 0; in Codegen()
1393 StepVal = ConstantFP::get(getGlobalContext(), APFloat(1.0)); in Codegen()
1403 Value *NextVar = Builder.CreateFAdd(CurVar, StepVal, "nextvar"); in Codegen()
/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.cpp3760 int64_t StepVal = APStepVal.getSExtValue(); in getStrideFromPointer() local
3761 if (PtrAccessSize != StepVal) in getStrideFromPointer()
4323 int64_t StepVal = APStepVal.getSExtValue(); in isStridedPtr() local
4326 int64_t Stride = StepVal / Size; in isStridedPtr()
4327 int64_t Rem = StepVal % Size; in isStridedPtr()
5645 int64_t StepVal = APStepVal.getSExtValue(); in isLikelyComplexAddressComputation() local
5647 return StepVal > MaxMergeDistance; in isLikelyComplexAddressComputation()