Lines Matching refs:IntptrTy

264   Type *PtrTy, *IntptrTy, *Int64Ty, *Int32Ty, *Int16Ty, *Int8Ty, *Int1Ty;  member in __anonac98908c0111::ModuleSanitizerCoverage
333 IRB.CreatePtrAdd(SecStart, ConstantInt::get(IntptrTy, sizeof(uint64_t))); in CreateSecStartEnd()
388 IntptrTy = Type::getIntNTy(*C, DL->getPointerSizeInBits()); in instrumentModule()
399 M.getOrInsertFunction(SanCovTracePCIndirName, VoidTy, IntptrTy); in instrumentModule()
460 M.getOrInsertFunction(SanCovTraceGep, VoidTy, IntptrTy); in instrumentModule()
465 M.getOrInsertGlobal(SanCovLowestStackName, IntptrTy); in instrumentModule()
467 if (!SanCovLowestStack || SanCovLowestStack->getValueType() != IntptrTy) { in instrumentModule()
475 SanCovLowestStack->setInitializer(Constant::getAllOnesValue(IntptrTy)); in instrumentModule()
500 auto SecStartEnd = CreateSecStartEnd(M, SanCovPCsSectionName, IntptrTy); in instrumentModule()
508 auto SecStartEnd = CreateSecStartEnd(M, SanCovCFsSectionName, IntptrTy); in instrumentModule()
738 ConstantInt::get(IntptrTy, 1), PtrTy)); in CreatePCArray()
800 IRB.CreateCall(SanCovTracePCIndir, IRB.CreatePointerCast(Callee, IntptrTy)); in InjectCoverageForIndirectCalls()
870 {IRB.CreateIntCast(Idx, IntptrTy, true)}); in InjectTraceForGep()
962 IRB.CreateAdd(IRB.CreatePointerCast(FunctionGuardArray, IntptrTy), in InjectCoverageAtBlock()
963 ConstantInt::get(IntptrTy, Idx * 4)), in InjectCoverageAtBlock()
970 {ConstantInt::get(IntptrTy, 0), ConstantInt::get(IntptrTy, Idx)}); in InjectCoverageAtBlock()
980 {ConstantInt::get(IntptrTy, 0), ConstantInt::get(IntptrTy, Idx)}); in InjectCoverageAtBlock()
997 auto FrameAddrInt = IRB.CreatePtrToInt(FrameAddrPtr, IntptrTy); in InjectCoverageAtBlock()
998 auto LowestStack = IRB.CreateLoad(IntptrTy, SanCovLowestStack); in InjectCoverageAtBlock()
1063 ConstantInt::get(IntptrTy, -1), PtrTy)); in createFunctionControlFlow()