Lines Matching refs:IntptrTy
260 Type *Int128PtrTy, *IntptrTy, *IntptrPtrTy, *Int64Ty, *Int64PtrTy, *Int32Ty, member in __anon7982b8060111::ModuleSanitizerCoverage
325 ConstantInt::get(IntptrTy, sizeof(uint64_t))); in CreateSecStartEnd()
381 IntptrTy = Type::getIntNTy(*C, DL->getPointerSizeInBits()); in instrumentModule()
382 IntptrPtrTy = PointerType::getUnqual(IntptrTy); in instrumentModule()
398 M.getOrInsertFunction(SanCovTracePCIndirName, VoidTy, IntptrTy); in instrumentModule()
459 M.getOrInsertFunction(SanCovTraceGep, VoidTy, IntptrTy); in instrumentModule()
464 M.getOrInsertGlobal(SanCovLowestStackName, IntptrTy); in instrumentModule()
466 if (!SanCovLowestStack || SanCovLowestStack->getValueType() != IntptrTy) { in instrumentModule()
474 SanCovLowestStack->setInitializer(Constant::getAllOnesValue(IntptrTy)); in instrumentModule()
499 auto SecStartEnd = CreateSecStartEnd(M, SanCovPCsSectionName, IntptrTy); in instrumentModule()
725 ConstantInt::get(IntptrTy, 1), IntptrPtrTy)); in CreatePCArray()
730 ConstantInt::get(IntptrTy, 0), IntptrPtrTy)); in CreatePCArray()
788 IRB.CreateCall(SanCovTracePCIndir, IRB.CreatePointerCast(Callee, IntptrTy)); in InjectCoverageForIndirectCalls()
860 {IRB.CreateIntCast(Idx, IntptrTy, true)}); in InjectTraceForGep()
956 IRB.CreateAdd(IRB.CreatePointerCast(FunctionGuardArray, IntptrTy), in InjectCoverageAtBlock()
957 ConstantInt::get(IntptrTy, Idx * 4)), in InjectCoverageAtBlock()
964 {ConstantInt::get(IntptrTy, 0), ConstantInt::get(IntptrTy, Idx)}); in InjectCoverageAtBlock()
974 {ConstantInt::get(IntptrTy, 0), ConstantInt::get(IntptrTy, Idx)}); in InjectCoverageAtBlock()
991 auto FrameAddrInt = IRB.CreatePtrToInt(FrameAddrPtr, IntptrTy); in InjectCoverageAtBlock()
992 auto LowestStack = IRB.CreateLoad(IntptrTy, SanCovLowestStack); in InjectCoverageAtBlock()