Home
last modified time | relevance | path

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

123

/external/llvm/lib/Transforms/Instrumentation/
DSanitizerCoverage.cpp194 Type *IntptrTy, *Int64Ty, *Int64PtrTy; member in __anon956abe7d0111::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/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DSanitizerCoverage.cpp237 Type *IntptrTy, *IntptrPtrTy, *Int64Ty, *Int64PtrTy, *Int32Ty, *Int32PtrTy, member in __anon02c93bdf0111::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 __anon9224e0180111::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/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()
DMDBuilder.cpp62 Type *Int64Ty = Type::getInt64Ty(Context); in createFunctionEntryCount() local
68 Ops.push_back(createConstant(ConstantInt::get(Int64Ty, Count))); in createFunctionEntryCount()
73 Ops.push_back(createConstant(ConstantInt::get(Int64Ty, ID))); in createFunctionEntryCount()
DLLVMContextImpl.cpp40 Int64Ty(C, 64), in LLVMContextImpl()
/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()
DLLVMContextImpl.cpp41 Int64Ty(C, 64), in LLVMContextImpl()
/external/AFLplusplus/instrumentation/
DSanitizerCoveragePCGUARD.so.cc188 Type *IntptrTy, *IntptrPtrTy, *Int64Ty, *Int64PtrTy, *Int32Ty, *Int32PtrTy, member in __anonaafe6f320111::ModuleSanitizerCoverageAFL
442 Int64Ty = IRB.getInt64Ty(); in instrumentModule()
475 M.getOrInsertFunction(SanCovTraceCmp8, VoidTy, Int64Ty, Int64Ty); in instrumentModule()
484 M.getOrInsertFunction(SanCovTraceConstCmp8, VoidTy, Int64Ty, Int64Ty); in instrumentModule()
496 M.getOrInsertFunction(SanCovTraceDiv8, VoidTy, Int64Ty); in instrumentModule()
500 M.getOrInsertFunction(SanCovTraceSwitchName, VoidTy, Int64Ty, Int64PtrTy); in instrumentModule()
1239 Int64Ty->getScalarSizeInBits()) in InjectTraceForSwitch()
1241 Initializers.push_back(ConstantInt::get(Int64Ty, SI->getNumCases())); in InjectTraceForSwitch()
1243 ConstantInt::get(Int64Ty, Cond->getType()->getScalarSizeInBits())); in InjectTraceForSwitch()
1245 Int64Ty->getScalarSizeInBits()) in InjectTraceForSwitch()
[all …]
Dcmplog-switches-pass.cc158 IntegerType *Int64Ty = IntegerType::getInt64Ty(C); local
219 c8 = M.getOrInsertFunction("__cmplog_ins_hook8", VoidTy, Int64Ty, Int64Ty,
Dcmplog-instructions-pass.cc165 IntegerType *Int64Ty = IntegerType::getInt64Ty(C); in hookInstrs() local
227 c8 = M.getOrInsertFunction("__cmplog_ins_hook8", VoidTy, Int64Ty, Int64Ty, in hookInstrs()
Dcmplog-routines-pass.cc143 IntegerType *Int64Ty = IntegerType::getInt64Ty(C); local
241 i8PtrTy, Int64Ty
259 i8PtrTy, Int64Ty
Dcompare-transform-pass.so.cc174 IntegerType * Int64Ty = IntegerType::getInt64Ty(C); local
641 Value *v = ConstantInt::get(Int64Ty, i);
/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/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()
DAMDGPUPrintfRuntimeBinding.cpp404 Type *Int64Ty = Type::getInt64Ty(Ctx); in lowerPrintfForGpu() local
413 Type *IType = (ArgType->isFloatTy()) ? Int32Ty : Int64Ty; in lowerPrintfForGpu()
477 Type *DstType = (Size == 32) ? Int32Ty : Int64Ty; in lowerPrintfForGpu()
/external/clang/lib/CodeGen/
DCGBuiltin.cpp1163 return RValue::get(Builder.CreateSExt(Result, Int64Ty, "extend.sext")); in EmitBuiltinExpr()
1165 return RValue::get(Builder.CreateZExt(Result, Int64Ty, "extend.zext")); in EmitBuiltinExpr()
2539 return llvm::VectorType::get(CGF->Int64Ty, V1Ty ? 1 : (1 << IsQuad)); in GetNeonType()
4040 Value *C1 = llvm::ConstantInt::get(Int64Ty, 32); in EmitARMBuiltinExpr()
4072 Rt = Builder.CreateZExt(Rt, Int64Ty); in EmitARMBuiltinExpr()
4073 Rt1 = Builder.CreateZExt(Rt1, Int64Ty); in EmitARMBuiltinExpr()
4075 Value *ShiftCast = llvm::ConstantInt::get(Int64Ty, 32); in EmitARMBuiltinExpr()
4107 Val0 = Builder.CreateZExt(Val0, Int64Ty); in EmitARMBuiltinExpr()
4108 Val1 = Builder.CreateZExt(Val1, Int64Ty); in EmitARMBuiltinExpr()
4110 Value *ShiftCst = llvm::ConstantInt::get(Int64Ty, 32); in EmitARMBuiltinExpr()
[all …]
DCGOpenMPRuntimeNVPTX.cpp126 CGM.getModule(), CGM.Int64Ty, /*isConstant=*/false, in initializeEnvironment()
128 llvm::Constant::getNullValue(CGM.Int64Ty), "__tgt_work_id", 0, in initializeEnvironment()
130 WorkID->setAlignment(DL.getPrefTypeAlignment(CGM.Int64Ty)); in initializeEnvironment()
DCodeGenTypeCache.h37 llvm::IntegerType *Int8Ty, *Int16Ty, *Int32Ty, *Int64Ty; member

123