Home
last modified time | relevance | path

Searched refs:Int64Ty (Results 1 – 25 of 90) sorted by relevance

1234

/external/llvm-project/llvm/lib/Transforms/Utils/
DAMDGPUEmitPrintf.cpp42 auto Int64Ty = Builder.getInt64Ty(); in fitArgInto64Bits() local
48 return Builder.CreateZExt(Arg, Int64Ty); in fitArgInto64Bits()
55 return Builder.CreateBitCast(Arg, Int64Ty); in fitArgInto64Bits()
59 return Builder.CreatePtrToInt(Arg, Int64Ty); in fitArgInto64Bits()
66 auto Int64Ty = Builder.getInt64Ty(); in callPrintfBegin() local
68 auto Fn = M->getOrInsertFunction("__ockl_printf_begin", Int64Ty, Int64Ty); in callPrintfBegin()
76 auto Int64Ty = Builder.getInt64Ty(); in callAppendArgs() local
79 auto Fn = M->getOrInsertFunction("__ockl_printf_append_args", Int64Ty, in callAppendArgs()
80 Int64Ty, Int32Ty, Int64Ty, Int64Ty, Int64Ty, in callAppendArgs()
81 Int64Ty, Int64Ty, Int64Ty, Int64Ty, Int32Ty); in callAppendArgs()
[all …]
DIntegerDivision.cpp557 Type *Int64Ty = Builder.getInt64Ty(); in expandRemainderUpTo64Bits() local
560 ExtDividend = Builder.CreateSExt(Rem->getOperand(0), Int64Ty); in expandRemainderUpTo64Bits()
561 ExtDivisor = Builder.CreateSExt(Rem->getOperand(1), Int64Ty); in expandRemainderUpTo64Bits()
564 ExtDividend = Builder.CreateZExt(Rem->getOperand(0), Int64Ty); in expandRemainderUpTo64Bits()
565 ExtDivisor = Builder.CreateZExt(Rem->getOperand(1), Int64Ty); in expandRemainderUpTo64Bits()
655 Type *Int64Ty = Builder.getInt64Ty(); in expandDivisionUpTo64Bits() local
658 ExtDividend = Builder.CreateSExt(Div->getOperand(0), Int64Ty); in expandDivisionUpTo64Bits()
659 ExtDivisor = Builder.CreateSExt(Div->getOperand(1), Int64Ty); in expandDivisionUpTo64Bits()
662 ExtDividend = Builder.CreateZExt(Div->getOperand(0), Int64Ty); in expandDivisionUpTo64Bits()
663 ExtDivisor = Builder.CreateZExt(Div->getOperand(1), Int64Ty); in expandDivisionUpTo64Bits()
/external/llvm-project/llvm/tools/llvm-c-test/
Ddebuginfo.c69 LLVMMetadataRef Int64Ty = in llvm_test_dibuilder() local
72 LLVMDIBuilderCreateTypedef(DIB, Int64Ty, "int64_t", 7, File, 42, File, 0); in llvm_test_dibuilder()
83 LLVMMetadataRef StructDbgElts[] = {Int64Ty, Int64Ty, Int64Ty}; in llvm_test_dibuilder()
110 Int64Ty, Subscripts, 1); in llvm_test_dibuilder()
113 LLVMMetadataRef ParamTypes[] = {Int64Ty, Int64Ty, VectorTy}; in llvm_test_dibuilder()
137 42, Int64Ty, true, 0); in llvm_test_dibuilder()
143 42, Int64Ty, true, 0); in llvm_test_dibuilder()
165 43, Int64Ty, true, 0, 0); in llvm_test_dibuilder()
190 EnumeratorsTest, 3, Int64Ty); in llvm_test_dibuilder()
/external/llvm/lib/Transforms/Instrumentation/
DSanitizerCoverage.cpp194 Type *IntptrTy, *Int64Ty, *Int64PtrTy; member in __anon6b3dd15f0111::SanitizerCoverageModule
219 Int64Ty = IRB.getInt64Ty(); in runOnModule()
232 SanCovTraceCmpName, VoidTy, Int64Ty, Int64Ty, Int64Ty, nullptr)); in runOnModule()
235 SanCovTraceSwitchName, VoidTy, Int64Ty, Int64PtrTy, nullptr)); in runOnModule()
464 Int64Ty->getScalarSizeInBits()) in InjectTraceForSwitch()
466 Initializers.push_back(ConstantInt::get(Int64Ty, SI->getNumCases())); in InjectTraceForSwitch()
468 ConstantInt::get(Int64Ty, Cond->getType()->getScalarSizeInBits())); in InjectTraceForSwitch()
470 Int64Ty->getScalarSizeInBits()) in InjectTraceForSwitch()
471 Cond = IRB.CreateIntCast(Cond, Int64Ty, false); in InjectTraceForSwitch()
475 Int64Ty->getScalarSizeInBits()) in InjectTraceForSwitch()
[all …]
/external/llvm/unittests/IR/
DInstructionsTest.cpp177 Type *Int64Ty = Type::getInt64Ty(C); in TEST() local
179 Type *V8x64Ty = VectorType::get(Int64Ty, 8); in TEST()
187 Type *V2Int64Ty = VectorType::get(Int64Ty, 2); in TEST()
191 Type *Int64PtrTy = PointerType::get(Int64Ty, 0); in TEST()
194 Type *Int64PtrAS1Ty = PointerType::get(Int64Ty, 1); in TEST()
212 EXPECT_FALSE(CastInst::isCastable(Int64Ty, X86MMXTy)); in TEST()
220 EXPECT_FALSE(CastInst::isBitCastable(Int64Ty, X86MMXTy)); in TEST()
250 EXPECT_TRUE(CastInst::isBitCastable(V2Int32Ty, Int64Ty)); in TEST()
253 EXPECT_FALSE(CastInst::isBitCastable(Int32Ty, Int64Ty)); in TEST()
254 EXPECT_FALSE(CastInst::isBitCastable(Int64Ty, Int32Ty)); in TEST()
[all …]
DConstantsTest.cpp134 Type *Int64Ty = Type::getInt64Ty(C); in TEST() local
137 VectorType *Int64VecTy = VectorType::get(Int64Ty, 4); in TEST()
140 EXPECT_EQ(Constant::getNullValue(Int64Ty), in TEST()
142 Constant::getNullValue(Int8PtrTy), Int64Ty)); in TEST()
195 Type *Int64Ty = Type::getInt64Ty(Context); in TEST() local
216 Constant *Two = ConstantInt::get(Int64Ty, 2); in TEST()
220 Constant *Undef64 = UndefValue::get(Int64Ty); in TEST()
262 CHECK(ConstantExpr::getSExt(P0, Int64Ty), "sext i32 " P0STR " to i64"); in TEST()
263 CHECK(ConstantExpr::getZExt(P0, Int64Ty), "zext i32 " P0STR " to i64"); in TEST()
/external/llvm-project/llvm/unittests/IR/
DVectorTypesTest.cpp38 Type *Int64Ty = Type::getInt64Ty(Ctx); in TEST() local
69 auto *V4Int64Ty = dyn_cast<FixedVectorType>(VectorType::get(Int64Ty, EltCnt)); in TEST()
75 VectorType::get(Int64Ty, EltCnt.divideCoefficientBy(2))); in TEST()
81 dyn_cast<FixedVectorType>(VectorType::get(Int64Ty, EltCnt * 2)); in TEST()
132 Type *Int64Ty = Type::getInt64Ty(Ctx); in TEST() local
164 dyn_cast<ScalableVectorType>(VectorType::get(Int64Ty, EltCnt)); in TEST()
170 VectorType::get(Int64Ty, EltCnt.divideCoefficientBy(2))); in TEST()
176 dyn_cast<ScalableVectorType>(VectorType::get(Int64Ty, EltCnt * 2)); in TEST()
278 Type *Int64Ty = Type::getInt64Ty(Ctx); in TEST() local
283 auto *V2Int64Ty = FixedVectorType::get(Int64Ty, 2); in TEST()
[all …]
DInstructionsTest.cpp189 Type *Int64Ty = Type::getInt64Ty(C); in TEST() local
191 Type *V8x64Ty = FixedVectorType::get(Int64Ty, 8); in TEST()
199 Type *V2Int64Ty = FixedVectorType::get(Int64Ty, 2); in TEST()
204 Type *VScaleV2Int64Ty = ScalableVectorType::get(Int64Ty, 2); in TEST()
209 Type *Int64PtrTy = PointerType::get(Int64Ty, 0); in TEST()
212 Type *Int64PtrAS1Ty = PointerType::get(Int64Ty, 1); in TEST()
237 EXPECT_FALSE(CastInst::isBitCastable(Int64Ty, X86MMXTy)); in TEST()
266 EXPECT_TRUE(CastInst::isBitCastable(V2Int32Ty, Int64Ty)); in TEST()
269 EXPECT_FALSE(CastInst::isBitCastable(Int32Ty, Int64Ty)); in TEST()
270 EXPECT_FALSE(CastInst::isBitCastable(Int64Ty, Int32Ty)); in TEST()
[all …]
DConstantsTest.cpp133 Type *Int64Ty = Type::getInt64Ty(C); in TEST() local
136 VectorType *Int64VecTy = FixedVectorType::get(Int64Ty, 4); in TEST()
139 EXPECT_EQ(Constant::getNullValue(Int64Ty), in TEST()
141 Constant::getNullValue(Int8PtrTy), Int64Ty)); in TEST()
195 Type *Int64Ty = Type::getInt64Ty(Context); in TEST() local
216 Constant *Two = ConstantInt::get(Int64Ty, 2); in TEST()
220 Constant *Undef64 = UndefValue::get(Int64Ty); in TEST()
262 CHECK(ConstantExpr::getSExt(P0, Int64Ty), "sext i32 " P0STR " to i64"); in TEST()
263 CHECK(ConstantExpr::getZExt(P0, Int64Ty), "zext i32 " P0STR " to i64"); in TEST()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DSanitizerCoverage.cpp237 Type *IntptrTy, *IntptrPtrTy, *Int64Ty, *Int64PtrTy, *Int32Ty, *Int32PtrTy, member in __anon119197410111::ModuleSanitizerCoverage
378 Int64Ty = IRB.getInt64Ty(); in instrumentModule()
405 M.getOrInsertFunction(SanCovTraceCmp8, VoidTy, Int64Ty, Int64Ty); in instrumentModule()
414 M.getOrInsertFunction(SanCovTraceConstCmp8, VoidTy, Int64Ty, Int64Ty); in instrumentModule()
424 M.getOrInsertFunction(SanCovTraceDiv8, VoidTy, Int64Ty); in instrumentModule()
428 M.getOrInsertFunction(SanCovTraceSwitchName, VoidTy, Int64Ty, Int64PtrTy); in instrumentModule()
753 Int64Ty->getScalarSizeInBits()) in InjectTraceForSwitch()
755 Initializers.push_back(ConstantInt::get(Int64Ty, SI->getNumCases())); in InjectTraceForSwitch()
757 ConstantInt::get(Int64Ty, Cond->getType()->getScalarSizeInBits())); in InjectTraceForSwitch()
759 Int64Ty->getScalarSizeInBits()) in InjectTraceForSwitch()
[all …]
DHWAddressSanitizer.cpp274 Type *Int64Ty = Type::getInt64Ty(M.getContext()); member in __anon79f8a7ba0111::HWAddressSanitizer
1277 ConstantExpr::getPtrToInt(NewGV, Int64Ty), in instrumentGlobal()
1278 ConstantExpr::getPtrToInt(Descriptor, Int64Ty)), in instrumentGlobal()
1279 ConstantInt::get(Int64Ty, DescriptorPos)), in instrumentGlobal()
1293 ConstantExpr::getPtrToInt(NewGV, Int64Ty), in instrumentGlobal()
1294 ConstantInt::get(Int64Ty, uint64_t(Tag) << kPointerTagShift)), in instrumentGlobal()
1361 ConstantExpr::getSub(ConstantExpr::getPtrToInt(Ptr, Int64Ty), in instrumentGlobals()
1362 ConstantExpr::getPtrToInt(Note, Int64Ty)), in instrumentGlobals()
1439 "__hwasan_personality_wrapper", Int32Ty, Int32Ty, Int32Ty, Int64Ty, in instrumentPersonalityFunctions()
1449 Int32Ty, {Int32Ty, Int32Ty, Int64Ty, Int8PtrTy, Int8PtrTy}, false); in instrumentPersonalityFunctions()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DIntegerDivision.cpp557 Type *Int64Ty = Builder.getInt64Ty(); in expandRemainderUpTo64Bits() local
560 ExtDividend = Builder.CreateSExt(Rem->getOperand(0), Int64Ty); in expandRemainderUpTo64Bits()
561 ExtDivisor = Builder.CreateSExt(Rem->getOperand(1), Int64Ty); in expandRemainderUpTo64Bits()
564 ExtDividend = Builder.CreateZExt(Rem->getOperand(0), Int64Ty); in expandRemainderUpTo64Bits()
565 ExtDivisor = Builder.CreateZExt(Rem->getOperand(1), Int64Ty); in expandRemainderUpTo64Bits()
655 Type *Int64Ty = Builder.getInt64Ty(); in expandDivisionUpTo64Bits() local
658 ExtDividend = Builder.CreateSExt(Div->getOperand(0), Int64Ty); in expandDivisionUpTo64Bits()
659 ExtDivisor = Builder.CreateSExt(Div->getOperand(1), Int64Ty); in expandDivisionUpTo64Bits()
662 ExtDividend = Builder.CreateZExt(Div->getOperand(0), Int64Ty); in expandDivisionUpTo64Bits()
663 ExtDivisor = Builder.CreateZExt(Div->getOperand(1), Int64Ty); in expandDivisionUpTo64Bits()
/external/llvm/lib/Transforms/Utils/
DIntegerDivision.cpp558 Type *Int64Ty = Builder.getInt64Ty(); in expandRemainderUpTo64Bits() local
561 ExtDividend = Builder.CreateSExt(Rem->getOperand(0), Int64Ty); in expandRemainderUpTo64Bits()
562 ExtDivisor = Builder.CreateSExt(Rem->getOperand(1), Int64Ty); in expandRemainderUpTo64Bits()
565 ExtDividend = Builder.CreateZExt(Rem->getOperand(0), Int64Ty); in expandRemainderUpTo64Bits()
566 ExtDivisor = Builder.CreateZExt(Rem->getOperand(1), Int64Ty); in expandRemainderUpTo64Bits()
656 Type *Int64Ty = Builder.getInt64Ty(); in expandDivisionUpTo64Bits() local
659 ExtDividend = Builder.CreateSExt(Div->getOperand(0), Int64Ty); in expandDivisionUpTo64Bits()
660 ExtDivisor = Builder.CreateSExt(Div->getOperand(1), Int64Ty); in expandDivisionUpTo64Bits()
663 ExtDividend = Builder.CreateZExt(Div->getOperand(0), Int64Ty); in expandDivisionUpTo64Bits()
664 ExtDivisor = Builder.CreateZExt(Div->getOperand(1), Int64Ty); in expandDivisionUpTo64Bits()
/external/llvm-project/llvm/lib/Transforms/Instrumentation/
DSanitizerCoverage.cpp243 Type *IntptrTy, *IntptrPtrTy, *Int64Ty, *Int64PtrTy, *Int32Ty, *Int32PtrTy, member in __anon112dc5cd0111::ModuleSanitizerCoverage
410 Int64Ty = IRB.getInt64Ty(); in instrumentModule()
436 M.getOrInsertFunction(SanCovTraceCmp8, VoidTy, Int64Ty, Int64Ty); in instrumentModule()
445 M.getOrInsertFunction(SanCovTraceConstCmp8, VoidTy, Int64Ty, Int64Ty); in instrumentModule()
454 M.getOrInsertFunction(SanCovTraceDiv8, VoidTy, Int64Ty); in instrumentModule()
458 M.getOrInsertFunction(SanCovTraceSwitchName, VoidTy, Int64Ty, Int64PtrTy); in instrumentModule()
783 Int64Ty->getScalarSizeInBits()) in InjectTraceForSwitch()
785 Initializers.push_back(ConstantInt::get(Int64Ty, SI->getNumCases())); in InjectTraceForSwitch()
787 ConstantInt::get(Int64Ty, Cond->getType()->getScalarSizeInBits())); in InjectTraceForSwitch()
789 Int64Ty->getScalarSizeInBits()) in InjectTraceForSwitch()
[all …]
DInstrProfiling.cpp681 Type *Int64Ty = Type::getInt64Ty(M->getContext()); in lowerIncrement() local
688 Type *Int64Ty = Type::getInt64Ty(M->getContext()); in lowerIncrement() local
691 Bias = new GlobalVariable(*M, Int64Ty, false, GlobalValue::LinkOnceODRLinkage, in lowerIncrement()
692 Constant::getNullValue(Int64Ty), in lowerIncrement()
696 LI = Builder.CreateLoad(Int64Ty, Bias); in lowerIncrement()
698 auto *Add = Builder.CreateAdd(Builder.CreatePtrToInt(Addr, Int64Ty), LI); in lowerIncrement()
1010 auto *Int64Ty = Type::getInt64Ty(M->getContext()); in emitRegistration() local
1029 Type *ParamTypes[] = {VoidPtrTy, Int64Ty}; in emitRegistration()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DProfileSummary.cpp28 Type *Int64Ty = Type::getInt64Ty(Context); in getKeyValMD() local
30 ConstantAsMetadata::get(ConstantInt::get(Int64Ty, Val))}; in getKeyValMD()
50 Type *Int64Ty = Type::getInt64Ty(Context); in getDetailedSummaryMD() local
54 ConstantAsMetadata::get(ConstantInt::get(Int64Ty, Entry.MinCount)), in getDetailedSummaryMD()
/external/llvm/lib/IR/
DProfileSummary.cpp31 Type *Int64Ty = Type::getInt64Ty(Context); in getKeyValMD() local
33 ConstantAsMetadata::get(ConstantInt::get(Int64Ty, Val))}; in getKeyValMD()
53 Type *Int64Ty = Type::getInt64Ty(Context); in getDetailedSummaryMD() local
57 ConstantAsMetadata::get(ConstantInt::get(Int64Ty, Entry.MinCount)), in getDetailedSummaryMD()
DMDBuilder.cpp60 Type *Int64Ty = Type::getInt64Ty(Context); in createFunctionEntryCount() local
63 createConstant(ConstantInt::get(Int64Ty, Count))}); in createFunctionEntryCount()
/external/llvm-project/llvm/lib/IR/
DProfileSummary.cpp29 Type *Int64Ty = Type::getInt64Ty(Context); in getKeyValMD() local
31 ConstantAsMetadata::get(ConstantInt::get(Int64Ty, Val))}; in getKeyValMD()
59 Type *Int64Ty = Type::getInt64Ty(Context); in getDetailedSummaryMD() local
63 ConstantAsMetadata::get(ConstantInt::get(Int64Ty, Entry.MinCount)), in getDetailedSummaryMD()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DAlignmentFromAssumptions.cpp211 Type *Int64Ty = Type::getInt64Ty(I->getContext()); in extractAlignmentInfo() local
220 AlignSCEV = SE->getTruncateOrZeroExtend(AlignSCEV, Int64Ty); in extractAlignmentInfo()
224 OffSCEV = SE->getZero(Int64Ty); in extractAlignmentInfo()
225 OffSCEV = SE->getTruncateOrZeroExtend(OffSCEV, Int64Ty); in extractAlignmentInfo()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DAlignmentFromAssumptions.cpp254 Type *Int64Ty = Type::getInt64Ty(I->getParent()->getParent()->getContext()); in extractAlignmentInfo() local
255 AlignSCEV = SE->getConstant(Int64Ty, Alignment); in extractAlignmentInfo()
263 OffSCEV = SE->getZero(Int64Ty); in extractAlignmentInfo()
284 OffSCEV = SE->getSignExtendExpr(OffSCEV, Int64Ty); in extractAlignmentInfo()
/external/llvm/lib/Transforms/Scalar/
DAlignmentFromAssumptions.cpp256 Type *Int64Ty = Type::getInt64Ty(I->getParent()->getParent()->getContext()); in extractAlignmentInfo() local
257 AlignSCEV = SE->getConstant(Int64Ty, Alignment); in extractAlignmentInfo()
265 OffSCEV = SE->getZero(Int64Ty); in extractAlignmentInfo()
286 OffSCEV = SE->getSignExtendExpr(OffSCEV, Int64Ty); in extractAlignmentInfo()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPUHSAMetadataStreamer.cpp396 auto Int64Ty = Type::getInt64Ty(Func.getContext()); in emitHiddenKernelArgs() local
399 emitKernelArg(DL, Int64Ty, Align(8), ValueKind::HiddenGlobalOffsetX); in emitHiddenKernelArgs()
401 emitKernelArg(DL, Int64Ty, Align(8), ValueKind::HiddenGlobalOffsetY); in emitHiddenKernelArgs()
403 emitKernelArg(DL, Int64Ty, Align(8), ValueKind::HiddenGlobalOffsetZ); in emitHiddenKernelArgs()
802 auto Int64Ty = Type::getInt64Ty(Func.getContext()); in emitHiddenKernelArgs() local
805 emitKernelArg(DL, Int64Ty, Align(8), "hidden_global_offset_x", Offset, in emitHiddenKernelArgs()
808 emitKernelArg(DL, Int64Ty, Align(8), "hidden_global_offset_y", Offset, in emitHiddenKernelArgs()
811 emitKernelArg(DL, Int64Ty, Align(8), "hidden_global_offset_z", Offset, in emitHiddenKernelArgs()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUHSAMetadataStreamer.cpp407 auto Int64Ty = Type::getInt64Ty(Func.getContext()); in emitHiddenKernelArgs() local
410 emitKernelArg(DL, Int64Ty, ValueKind::HiddenGlobalOffsetX); in emitHiddenKernelArgs()
412 emitKernelArg(DL, Int64Ty, ValueKind::HiddenGlobalOffsetY); in emitHiddenKernelArgs()
414 emitKernelArg(DL, Int64Ty, ValueKind::HiddenGlobalOffsetZ); in emitHiddenKernelArgs()
845 auto Int64Ty = Type::getInt64Ty(Func.getContext()); in emitHiddenKernelArgs() local
848 emitKernelArg(DL, Int64Ty, "hidden_global_offset_x", Offset, Args); in emitHiddenKernelArgs()
850 emitKernelArg(DL, Int64Ty, "hidden_global_offset_y", Offset, Args); in emitHiddenKernelArgs()
852 emitKernelArg(DL, Int64Ty, "hidden_global_offset_z", Offset, Args); in emitHiddenKernelArgs()
/external/llvm-project/llvm/unittests/FuzzMutate/
DOperationsTest.cpp334 Type *Int64Ty = Type::getInt64Ty(Ctx); in TEST() local
338 Type *ZeroSizedArrayTy = ArrayType::get(Int64Ty, 0); in TEST()
339 Type *ArrayTy = ArrayType::get(Int64Ty, 4); in TEST()
391 EXPECT_FALSE(IVOp.SourcePreds[1].matches({SVal}, UndefValue::get(Int64Ty))); in TEST()

1234