Lines Matching refs:PtrTy
264 Type *PtrTy, *IntptrTy, *Int64Ty, *Int32Ty, *Int16Ty, *Int8Ty, *Int1Ty; member in __anonac98908c0111::ModuleSanitizerCoverage
345 M, CtorName, InitFunctionName, {PtrTy, PtrTy}, {SecStart, SecEnd}); in CreateInitCallsForSections()
389 PtrTy = PointerType::getUnqual(*C); in instrumentModule()
430 SanCovLoadFunction[0] = M.getOrInsertFunction(SanCovLoad1, VoidTy, PtrTy); in instrumentModule()
432 M.getOrInsertFunction(SanCovLoad2, VoidTy, PtrTy); in instrumentModule()
434 M.getOrInsertFunction(SanCovLoad4, VoidTy, PtrTy); in instrumentModule()
436 M.getOrInsertFunction(SanCovLoad8, VoidTy, PtrTy); in instrumentModule()
438 M.getOrInsertFunction(SanCovLoad16, VoidTy, PtrTy); in instrumentModule()
441 M.getOrInsertFunction(SanCovStore1, VoidTy, PtrTy); in instrumentModule()
443 M.getOrInsertFunction(SanCovStore2, VoidTy, PtrTy); in instrumentModule()
445 M.getOrInsertFunction(SanCovStore4, VoidTy, PtrTy); in instrumentModule()
447 M.getOrInsertFunction(SanCovStore8, VoidTy, PtrTy); in instrumentModule()
449 M.getOrInsertFunction(SanCovStore16, VoidTy, PtrTy); in instrumentModule()
462 M.getOrInsertFunction(SanCovTraceSwitchName, VoidTy, Int64Ty, PtrTy); in instrumentModule()
479 M.getOrInsertFunction(SanCovTracePCGuardName, VoidTy, PtrTy); in instrumentModule()
502 M, SanCovPCsInitName, {PtrTy, PtrTy}); in instrumentModule()
510 M, SanCovCFsInitName, {PtrTy, PtrTy}); in instrumentModule()
736 PCs.push_back((Constant *)IRB.CreatePointerCast(&F, PtrTy)); in CreatePCArray()
738 ConstantInt::get(IntptrTy, 1), PtrTy)); in CreatePCArray()
741 BlockAddress::get(AllBlocks[i]), PtrTy)); in CreatePCArray()
742 PCs.push_back(Constant::getNullValue(PtrTy)); in CreatePCArray()
745 auto *PCArray = CreateFunctionLocalArrayInSection(N * 2, F, PtrTy, in CreatePCArray()
748 ConstantArray::get(ArrayType::get(PtrTy, N * 2), PCs)); in CreatePCArray()
964 PtrTy); in InjectCoverageAtBlock()
1045 CFs.push_back((Constant *)IRB.CreatePointerCast(&F, PtrTy)); in createFunctionControlFlow()
1048 PtrTy)); in createFunctionControlFlow()
1053 PtrTy)); in createFunctionControlFlow()
1056 CFs.push_back((Constant *)Constant::getNullValue(PtrTy)); in createFunctionControlFlow()
1063 ConstantInt::get(IntptrTy, -1), PtrTy)); in createFunctionControlFlow()
1068 (Constant *)IRB.CreatePointerCast(CalledF, PtrTy)); in createFunctionControlFlow()
1073 CFs.push_back((Constant *)Constant::getNullValue(PtrTy)); in createFunctionControlFlow()
1077 CFs.size(), F, PtrTy, SanCovCFsSectionName); in createFunctionControlFlow()
1079 ConstantArray::get(ArrayType::get(PtrTy, CFs.size()), CFs)); in createFunctionControlFlow()