Home
last modified time | relevance | path

Searched refs:getDoubleTy (Results 1 – 25 of 62) sorted by relevance

123

/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DValueTypes.cpp200 case MVT::f64: return Type::getDoubleTy(Context); in getTypeForEVT()
408 return FixedVectorType::get(Type::getDoubleTy(Context), 1); in getTypeForEVT()
410 return FixedVectorType::get(Type::getDoubleTy(Context), 2); in getTypeForEVT()
412 return FixedVectorType::get(Type::getDoubleTy(Context), 3); in getTypeForEVT()
414 return FixedVectorType::get(Type::getDoubleTy(Context), 4); in getTypeForEVT()
416 return FixedVectorType::get(Type::getDoubleTy(Context), 8); in getTypeForEVT()
418 return FixedVectorType::get(Type::getDoubleTy(Context), 16); in getTypeForEVT()
420 return FixedVectorType::get(Type::getDoubleTy(Context), 32); in getTypeForEVT()
422 return FixedVectorType::get(Type::getDoubleTy(Context), 64); in getTypeForEVT()
424 return FixedVectorType::get(Type::getDoubleTy(Context), 128); in getTypeForEVT()
[all …]
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/Chapter9/
H A Dtoy.cpp98 DIType *getDoubleTy();
835 DIType *DebugInfo::getDoubleTy() { in getDoubleTy() function in DebugInfo
857 DIType *DblTy = KSDbgInfo.getDoubleTy(); in CreateFunctionType()
898 return TmpB.CreateAlloca(Type::getDoubleTy(*TheContext), nullptr, VarName); in CreateEntryBlockAlloca()
914 return Builder->CreateLoad(Type::getDoubleTy(*TheContext), V, Name.c_str()); in codegen()
971 return Builder->CreateUIToFP(L, Type::getDoubleTy(*TheContext), "booltmp"); in codegen()
1135 Value *CurVar = Builder->CreateLoad(Type::getDoubleTy(*TheContext), Alloca, in codegen()
1161 return Constant::getNullValue(Type::getDoubleTy(*TheContext)); in codegen()
1216 std::vector<Type *> Doubles(Args.size(), Type::getDoubleTy(*TheContext)); in codegen()
1218 FunctionType::get(Type::getDoubleTy(*TheContext), Doubles, false); in codegen()
[all …]
/llvm-project-15.0.7/llvm/unittests/FuzzMutate/
H A DStrategiesTest.cpp31 Type::getInt64Ty, Type::getFloatTy, Type::getDoubleTy}; in createInjectorMutator()
44 Type::getInt64Ty, Type::getFloatTy, Type::getDoubleTy}; in createDeleterMutator()
55 Type::getInt64Ty, Type::getFloatTy, Type::getDoubleTy}; in createInstModifierMutator()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/
H A Dtoy.cpp733 return TmpB.CreateAlloca(Type::getDoubleTy(*TheContext), nullptr, VarName); in CreateEntryBlockAlloca()
747 return Builder->CreateLoad(Type::getDoubleTy(*TheContext), V, Name.c_str()); in codegen()
801 return Builder->CreateUIToFP(L, Type::getDoubleTy(*TheContext), "booltmp"); in codegen()
880 PHINode *PN = Builder->CreatePHI(Type::getDoubleTy(*TheContext), 2, "iftmp"); in codegen()
959 Value *CurVar = Builder->CreateLoad(Type::getDoubleTy(*TheContext), Alloca, in codegen()
985 return Constant::getNullValue(Type::getDoubleTy(*TheContext)); in codegen()
1038 std::vector<Type *> Doubles(Args.size(), Type::getDoubleTy(*TheContext)); in codegen()
1040 FunctionType::get(Type::getDoubleTy(*TheContext), Doubles, false); in codegen()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/Chapter8/
H A Dtoy.cpp738 return TmpB.CreateAlloca(Type::getDoubleTy(*TheContext), nullptr, VarName); in CreateEntryBlockAlloca()
752 return Builder->CreateLoad(Type::getDoubleTy(*TheContext), V, Name.c_str()); in codegen()
806 return Builder->CreateUIToFP(L, Type::getDoubleTy(*TheContext), "booltmp"); in codegen()
885 PHINode *PN = Builder->CreatePHI(Type::getDoubleTy(*TheContext), 2, "iftmp"); in codegen()
964 Value *CurVar = Builder->CreateLoad(Type::getDoubleTy(*TheContext), Alloca, in codegen()
990 return Constant::getNullValue(Type::getDoubleTy(*TheContext)); in codegen()
1043 std::vector<Type *> Doubles(Args.size(), Type::getDoubleTy(*TheContext)); in codegen()
1045 FunctionType::get(Type::getDoubleTy(*TheContext), Doubles, false); in codegen()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/
H A Dtoy.cpp716 return TmpB.CreateAlloca(Type::getDoubleTy(*TheContext), nullptr, VarName); in CreateEntryBlockAlloca()
730 return Builder->CreateLoad(Type::getDoubleTy(*TheContext), V, Name.c_str()); in codegen()
784 return Builder->CreateUIToFP(L, Type::getDoubleTy(*TheContext), "booltmp"); in codegen()
863 PHINode *PN = Builder->CreatePHI(Type::getDoubleTy(*TheContext), 2, "iftmp"); in codegen()
942 Value *CurVar = Builder->CreateLoad(Type::getDoubleTy(*TheContext), Alloca, in codegen()
968 return Constant::getNullValue(Type::getDoubleTy(*TheContext)); in codegen()
1021 std::vector<Type *> Doubles(Args.size(), Type::getDoubleTy(*TheContext)); in codegen()
1023 FunctionType::get(Type::getDoubleTy(*TheContext), Doubles, false); in codegen()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/
H A Dtoy.cpp733 return TmpB.CreateAlloca(Type::getDoubleTy(*TheContext), nullptr, VarName); in CreateEntryBlockAlloca()
747 return Builder->CreateLoad(Type::getDoubleTy(*TheContext), V, Name.c_str()); in codegen()
801 return Builder->CreateUIToFP(L, Type::getDoubleTy(*TheContext), "booltmp"); in codegen()
880 PHINode *PN = Builder->CreatePHI(Type::getDoubleTy(*TheContext), 2, "iftmp"); in codegen()
959 Value *CurVar = Builder->CreateLoad(Type::getDoubleTy(*TheContext), Alloca, in codegen()
985 return Constant::getNullValue(Type::getDoubleTy(*TheContext)); in codegen()
1038 std::vector<Type *> Doubles(Args.size(), Type::getDoubleTy(*TheContext)); in codegen()
1040 FunctionType::get(Type::getDoubleTy(*TheContext), Doubles, false); in codegen()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/
H A Dtoy.cpp733 return TmpB.CreateAlloca(Type::getDoubleTy(*TheContext), nullptr, VarName); in CreateEntryBlockAlloca()
747 return Builder->CreateLoad(Type::getDoubleTy(*TheContext), V, Name.c_str()); in codegen()
801 return Builder->CreateUIToFP(L, Type::getDoubleTy(*TheContext), "booltmp"); in codegen()
880 PHINode *PN = Builder->CreatePHI(Type::getDoubleTy(*TheContext), 2, "iftmp"); in codegen()
959 Value *CurVar = Builder->CreateLoad(Type::getDoubleTy(*TheContext), Alloca, in codegen()
985 return Constant::getNullValue(Type::getDoubleTy(*TheContext)); in codegen()
1038 std::vector<Type *> Doubles(Args.size(), Type::getDoubleTy(*TheContext)); in codegen()
1040 FunctionType::get(Type::getDoubleTy(*TheContext), Doubles, false); in codegen()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/Chapter5/
H A Dtoy.cpp596 return Builder->CreateUIToFP(L, Type::getDoubleTy(*TheContext), "booltmp"); in codegen()
667 PHINode *PN = Builder->CreatePHI(Type::getDoubleTy(*TheContext), 2, "iftmp"); in codegen()
709 Builder->CreatePHI(Type::getDoubleTy(*TheContext), 2, VarName); in codegen()
766 return Constant::getNullValue(Type::getDoubleTy(*TheContext)); in codegen()
771 std::vector<Type *> Doubles(Args.size(), Type::getDoubleTy(*TheContext)); in codegen()
773 FunctionType::get(Type::getDoubleTy(*TheContext), Doubles, false); in codegen()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/MCJIT/cached/
H A Dtoy-jit.cpp638 return TmpB.CreateAlloca(Type::getDoubleTy(TheContext), 0, VarName.c_str()); in CreateEntryBlockAlloca()
702 return Builder.CreateUIToFP(L, Type::getDoubleTy(TheContext), "booltmp"); in Codegen()
779 PHINode *PN = Builder.CreatePHI(Type::getDoubleTy(TheContext), 2, "iftmp"); in Codegen()
882 return Constant::getNullValue(Type::getDoubleTy(TheContext)); in Codegen()
933 std::vector<Type *> Doubles(Args.size(), Type::getDoubleTy(TheContext)); in Codegen()
935 FunctionType::get(Type::getDoubleTy(TheContext), Doubles, false); in Codegen()
H A Dtoy.cpp1009 return TmpB.CreateAlloca(Type::getDoubleTy(TheContext), 0, VarName.c_str()); in CreateEntryBlockAlloca()
1069 return Builder.CreateUIToFP(L, Type::getDoubleTy(TheContext), "booltmp"); in Codegen()
1143 PHINode *PN = Builder.CreatePHI(Type::getDoubleTy(TheContext), 2, "iftmp"); in Codegen()
1246 return Constant::getNullValue(Type::getDoubleTy(TheContext)); in Codegen()
1297 std::vector<Type *> Doubles(Args.size(), Type::getDoubleTy(TheContext)); in Codegen()
1299 FunctionType::get(Type::getDoubleTy(TheContext), Doubles, false); in Codegen()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/Chapter6/
H A Dtoy.cpp700 return Builder->CreateUIToFP(L, Type::getDoubleTy(*TheContext), "booltmp"); in codegen()
779 PHINode *PN = Builder->CreatePHI(Type::getDoubleTy(*TheContext), 2, "iftmp"); in codegen()
821 Builder->CreatePHI(Type::getDoubleTy(*TheContext), 2, VarName); in codegen()
878 return Constant::getNullValue(Type::getDoubleTy(*TheContext)); in codegen()
883 std::vector<Type *> Doubles(Args.size(), Type::getDoubleTy(*TheContext)); in codegen()
885 FunctionType::get(Type::getDoubleTy(*TheContext), Doubles, false); in codegen()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/MCJIT/lazy/
H A Dtoy-jit.cpp623 return TmpB.CreateAlloca(Type::getDoubleTy(TheContext), 0, VarName.c_str()); in CreateEntryBlockAlloca()
684 return Builder.CreateUIToFP(L, Type::getDoubleTy(TheContext), "booltmp"); in Codegen()
761 PHINode *PN = Builder.CreatePHI(Type::getDoubleTy(TheContext), 2, "iftmp"); in Codegen()
864 return Constant::getNullValue(Type::getDoubleTy(TheContext)); in Codegen()
915 std::vector<Type *> Doubles(Args.size(), Type::getDoubleTy(TheContext)); in Codegen()
917 FunctionType::get(Type::getDoubleTy(TheContext), Doubles, false); in Codegen()
H A Dtoy.cpp907 return TmpB.CreateAlloca(Type::getDoubleTy(TheContext), 0, VarName.c_str()); in CreateEntryBlockAlloca()
967 return Builder.CreateUIToFP(L, Type::getDoubleTy(TheContext), "booltmp"); in Codegen()
1041 PHINode *PN = Builder.CreatePHI(Type::getDoubleTy(TheContext), 2, "iftmp"); in Codegen()
1144 return Constant::getNullValue(Type::getDoubleTy(TheContext)); in Codegen()
1195 std::vector<Type *> Doubles(Args.size(), Type::getDoubleTy(TheContext)); in Codegen()
1197 FunctionType::get(Type::getDoubleTy(TheContext), Doubles, false); in Codegen()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/Chapter7/
H A Dtoy.cpp739 return TmpB.CreateAlloca(Type::getDoubleTy(*TheContext), nullptr, VarName); in CreateEntryBlockAlloca()
807 return Builder->CreateUIToFP(L, Type::getDoubleTy(*TheContext), "booltmp"); in codegen()
886 PHINode *PN = Builder->CreatePHI(Type::getDoubleTy(*TheContext), 2, "iftmp"); in codegen()
991 return Constant::getNullValue(Type::getDoubleTy(*TheContext)); in codegen()
1044 std::vector<Type *> Doubles(Args.size(), Type::getDoubleTy(*TheContext)); in codegen()
1046 FunctionType::get(Type::getDoubleTy(*TheContext), Doubles, false); in codegen()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/Chapter3/
H A Dtoy.cpp440 return Builder->CreateUIToFP(L, Type::getDoubleTy(*TheContext), "booltmp"); in codegen()
468 std::vector<Type *> Doubles(Args.size(), Type::getDoubleTy(*TheContext)); in codegen()
470 FunctionType::get(Type::getDoubleTy(*TheContext), Doubles, false); in codegen()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/MCJIT/initial/
H A Dtoy.cpp867 return TmpB.CreateAlloca(Type::getDoubleTy(TheContext), 0, VarName.c_str()); in CreateEntryBlockAlloca()
927 return Builder.CreateUIToFP(L, Type::getDoubleTy(TheContext), "booltmp"); in Codegen()
1001 PHINode *PN = Builder.CreatePHI(Type::getDoubleTy(TheContext), 2, "iftmp"); in Codegen()
1104 return Constant::getNullValue(Type::getDoubleTy(TheContext)); in Codegen()
1155 std::vector<Type *> Doubles(Args.size(), Type::getDoubleTy(TheContext)); in Codegen()
1157 FunctionType::get(Type::getDoubleTy(TheContext), Doubles, false); in Codegen()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/Chapter4/
H A Dtoy.cpp469 return Builder->CreateUIToFP(L, Type::getDoubleTy(*TheContext), "booltmp"); in codegen()
497 std::vector<Type *> Doubles(Args.size(), Type::getDoubleTy(*TheContext)); in codegen()
499 FunctionType::get(Type::getDoubleTy(*TheContext), Doubles, false); in codegen()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/MCJIT/complete/
H A Dtoy.cpp1081 return TmpB.CreateAlloca(Type::getDoubleTy(TheContext), 0, VarName.c_str()); in CreateEntryBlockAlloca()
1143 return Builder.CreateUIToFP(L, Type::getDoubleTy(TheContext), "booltmp"); in Codegen()
1221 PHINode *PN = Builder.CreatePHI(Type::getDoubleTy(TheContext), 2, "iftmp"); in Codegen()
1324 return Constant::getNullValue(Type::getDoubleTy(TheContext)); in Codegen()
1375 std::vector<Type *> Doubles(Args.size(), Type::getDoubleTy(TheContext)); in Codegen()
1377 FunctionType::get(Type::getDoubleTy(TheContext), Doubles, false); in Codegen()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DType.h426 static Type *getDoubleTy(LLVMContext &C);
450 return Type::getDoubleTy(C); in getScalarTy()
/llvm-project-15.0.7/llvm/lib/Target/DirectX/
H A DDXILOpBuilder.cpp199 return Type::getDoubleTy(Ctx); in getTypeFromParameterKind()
284 return Type::getDoubleTy(Ctx); in getOverloadTy()
/llvm-project-15.0.7/polly/lib/CodeGen/
H A DRuntimeDebugBuilder.cpp127 Val = Builder.CreateFPExt(Val, Builder.getDoubleTy()); in prepareValuesForPrinting()
200 Val = Builder.CreateFPExt(Val, Builder.getDoubleTy()); in createGPUPrinterT()
/llvm-project-15.0.7/llvm/lib/IR/
H A DType.cpp43 case DoubleTyID : return getDoubleTy(C); in getPrimitiveType()
93 Ty = Type::getDoubleTy(C); in getFloatingPointTy()
227 Type *Type::getDoubleTy(LLVMContext &C) { return &C.pImpl->DoubleTy; } in getDoubleTy() function in Type
260 return getDoubleTy(C)->getPointerTo(AS); in getDoublePtrTy()
/llvm-project-15.0.7/llvm/tools/llvm-isel-fuzzer/
H A Dllvm-isel-fuzzer.cpp56 Type::getInt64Ty, Type::getFloatTy, Type::getDoubleTy}; in createISelMutator()
/llvm-project-15.0.7/llvm/unittests/IR/
H A DIRBuilderTest.cpp245 GlobalVariable *GVDouble = new GlobalVariable(*M, Type::getDoubleTy(Ctx), in TEST_F()
292 VDouble = Builder.CreateUIToFP(VInt, Builder.getDoubleTy()); in TEST_F()
297 VDouble = Builder.CreateSIToFP(VInt, Builder.getDoubleTy()); in TEST_F()
307 VDouble = Builder.CreateFPExt(V, Type::getDoubleTy(Ctx)); in TEST_F()
383 *M, Type::getDoubleTy(Ctx), true, GlobalValue::ExternalLinkage, nullptr); in TEST_F()
389 Intrinsic::experimental_constrained_roundeven, { Type::getDoubleTy(Ctx) }); in TEST_F()

123