Lines Matching refs:IntptrTy
243 Type *IntptrTy, *IntptrPtrTy, *Int64Ty, *Int64PtrTy, *Int32Ty, *Int32PtrTy, member in __anon1b0e388a0111::ModuleSanitizerCoverage
354 ConstantInt::get(IntptrTy, sizeof(uint64_t))); in CreateSecStartEnd()
410 IntptrTy = Type::getIntNTy(*C, DL->getPointerSizeInBits()); in instrumentModule()
411 IntptrPtrTy = PointerType::getUnqual(IntptrTy); in instrumentModule()
425 M.getOrInsertFunction(SanCovTracePCIndirName, VoidTy, IntptrTy); in instrumentModule()
464 M.getOrInsertFunction(SanCovTraceGep, VoidTy, IntptrTy); in instrumentModule()
469 M.getOrInsertGlobal(SanCovLowestStackName, IntptrTy); in instrumentModule()
471 if (!SanCovLowestStack || SanCovLowestStack->getValueType() != IntptrTy) { in instrumentModule()
479 SanCovLowestStack->setInitializer(Constant::getAllOnesValue(IntptrTy)); in instrumentModule()
504 auto SecStartEnd = CreateSecStartEnd(M, SanCovPCsSectionName, IntptrTy); in instrumentModule()
721 ConstantInt::get(IntptrTy, 1), IntptrPtrTy)); in CreatePCArray()
726 ConstantInt::get(IntptrTy, 0), IntptrPtrTy)); in CreatePCArray()
784 IRB.CreateCall(SanCovTracePCIndir, IRB.CreatePointerCast(Callee, IntptrTy)); in InjectCoverageForIndirectCalls()
856 {IRB.CreateIntCast(Idx, IntptrTy, true)}); in InjectTraceForGep()
923 IRB.CreateAdd(IRB.CreatePointerCast(FunctionGuardArray, IntptrTy), in InjectCoverageAtBlock()
924 ConstantInt::get(IntptrTy, Idx * 4)), in InjectCoverageAtBlock()
931 {ConstantInt::get(IntptrTy, 0), ConstantInt::get(IntptrTy, Idx)}); in InjectCoverageAtBlock()
941 {ConstantInt::get(IntptrTy, 0), ConstantInt::get(IntptrTy, Idx)}); in InjectCoverageAtBlock()
958 auto FrameAddrInt = IRB.CreatePtrToInt(FrameAddrPtr, IntptrTy); in InjectCoverageAtBlock()
959 auto LowestStack = IRB.CreateLoad(IntptrTy, SanCovLowestStack); in InjectCoverageAtBlock()