Lines Matching refs:PtrTy

268   Type *PtrTy, *IntptrTy, *Int64Ty, *Int32Ty, *Int16Ty, *Int8Ty, *Int1Ty;  member in __anon0eb498d60111::ModuleSanitizerCoverage
350 M, CtorName, InitFunctionName, {PtrTy, PtrTy}, {SecStart, SecEnd}); in CreateInitCallsForSections()
393 PtrTy = PointerType::getUnqual(*C); in instrumentModule()
434 SanCovLoadFunction[0] = M.getOrInsertFunction(SanCovLoad1, VoidTy, PtrTy); in instrumentModule()
436 M.getOrInsertFunction(SanCovLoad2, VoidTy, PtrTy); in instrumentModule()
438 M.getOrInsertFunction(SanCovLoad4, VoidTy, PtrTy); in instrumentModule()
440 M.getOrInsertFunction(SanCovLoad8, VoidTy, PtrTy); in instrumentModule()
442 M.getOrInsertFunction(SanCovLoad16, VoidTy, PtrTy); in instrumentModule()
445 M.getOrInsertFunction(SanCovStore1, VoidTy, PtrTy); in instrumentModule()
447 M.getOrInsertFunction(SanCovStore2, VoidTy, PtrTy); in instrumentModule()
449 M.getOrInsertFunction(SanCovStore4, VoidTy, PtrTy); in instrumentModule()
451 M.getOrInsertFunction(SanCovStore8, VoidTy, PtrTy); in instrumentModule()
453 M.getOrInsertFunction(SanCovStore16, VoidTy, PtrTy); in instrumentModule()
466 M.getOrInsertFunction(SanCovTraceSwitchName, VoidTy, Int64Ty, PtrTy); in instrumentModule()
483 M.getOrInsertFunction(SanCovTracePCGuardName, VoidTy, PtrTy); in instrumentModule()
506 M, SanCovPCsInitName, {PtrTy, PtrTy}); in instrumentModule()
514 M, SanCovCFsInitName, {PtrTy, PtrTy}); in instrumentModule()
742 PCs.push_back((Constant *)IRB.CreatePointerCast(&F, PtrTy)); in CreatePCArray()
744 ConstantInt::get(IntptrTy, 1), PtrTy)); in CreatePCArray()
747 BlockAddress::get(AllBlocks[i]), PtrTy)); in CreatePCArray()
748 PCs.push_back(Constant::getNullValue(PtrTy)); in CreatePCArray()
751 auto *PCArray = CreateFunctionLocalArrayInSection(N * 2, F, PtrTy, in CreatePCArray()
754 ConstantArray::get(ArrayType::get(PtrTy, N * 2), PCs)); in CreatePCArray()
970 PtrTy); in InjectCoverageAtBlock()
1054 CFs.push_back((Constant *)IRB.CreatePointerCast(&F, PtrTy)); in createFunctionControlFlow()
1057 PtrTy)); in createFunctionControlFlow()
1062 PtrTy)); in createFunctionControlFlow()
1065 CFs.push_back((Constant *)Constant::getNullValue(PtrTy)); in createFunctionControlFlow()
1072 ConstantInt::get(IntptrTy, -1), PtrTy)); in createFunctionControlFlow()
1077 (Constant *)IRB.CreatePointerCast(CalledF, PtrTy)); in createFunctionControlFlow()
1082 CFs.push_back((Constant *)Constant::getNullValue(PtrTy)); in createFunctionControlFlow()
1086 CFs.size(), F, PtrTy, SanCovCFsSectionName); in createFunctionControlFlow()
1088 ConstantArray::get(ArrayType::get(PtrTy, CFs.size()), CFs)); in createFunctionControlFlow()