Lines Matching refs:IntptrTy

532   Type *IntptrTy;  member
578 Type *IntptrTy; member in __anone3a95e720111::AddressSanitizerModule
604 Type *IntptrTy; member
645 IntptrTy(ASan.IntptrTy), in FunctionStackPoisoner()
646 IntptrPtrTy(PointerType::get(IntptrTy, 0)), in FunctionStackPoisoner()
682 Value *DynamicAreaPtr = IRB.CreatePtrToInt(SavedStack, IntptrTy); in unpoisonDynamicAllocasBeforeInst()
690 {IntptrTy}); in unpoisonDynamicAllocasBeforeInst()
694 DynamicAreaPtr = IRB.CreateAdd(IRB.CreatePtrToInt(SavedStack, IntptrTy), in unpoisonDynamicAllocasBeforeInst()
756 !ConstantInt::isValueValidForType(IntptrTy, SizeValue)) in visitIntrinsicInst()
889 return IRB.CreateOr(Shadow, ConstantInt::get(IntptrTy, Mapping.Offset)); in memToShadow()
891 return IRB.CreateAdd(Shadow, ConstantInt::get(IntptrTy, Mapping.Offset)); in memToShadow()
902 IRB.CreateIntCast(MI->getOperand(2), IntptrTy, false)}); in instrumentMemIntrinsic()
908 IRB.CreateIntCast(MI->getOperand(2), IntptrTy, false)}); in instrumentMemIntrinsic()
1023 i = IRB.CreatePointerCast(i, IntptrTy); in instrumentPointerComparisonOrSubtraction()
1124 IRB.CreateAnd(AddrLong, ConstantInt::get(IntptrTy, Granularity - 1)); in createSlowPathCmp()
1128 LastAccessedByte, ConstantInt::get(IntptrTy, TypeSize / 8 - 1)); in createSlowPathCmp()
1142 Value *AddrLong = IRB.CreatePointerCast(Addr, IntptrTy); in instrumentAddress()
1202 Value *Size = ConstantInt::get(IntptrTy, TypeSize / 8); in instrumentUnusualSizeOrAlignment()
1203 Value *AddrLong = IRB.CreatePointerCast(Addr, IntptrTy); in instrumentUnusualSizeOrAlignment()
1213 IRB.CreateAdd(AddrLong, ConstantInt::get(IntptrTy, TypeSize / 8 - 1)), in instrumentUnusualSizeOrAlignment()
1227 Value *ModuleNameAddr = ConstantExpr::getPointerCast(ModuleName, IntptrTy); in poisonOneInitializer()
1369 kAsanPoisonGlobalsName, IRB.getVoidTy(), IntptrTy, nullptr)); in initializeCallbacks()
1377 kAsanRegisterGlobalsName, IRB.getVoidTy(), IntptrTy, IntptrTy, nullptr)); in initializeCallbacks()
1381 IntptrTy, IntptrTy, nullptr)); in initializeCallbacks()
1388 IRB.getVoidTy(), IntptrTy, nullptr)); in initializeCallbacks()
1393 IRB.getVoidTy(), IntptrTy, nullptr)); in initializeCallbacks()
1423 StructType::get(IntptrTy, IntptrTy, IntptrTy, IntptrTy, IntptrTy, in InstrumentGlobals()
1424 IntptrTy, IntptrTy, IntptrTy, nullptr); in InstrumentGlobals()
1487 SourceLoc = ConstantExpr::getPointerCast(SourceLocGlobal, IntptrTy); in InstrumentGlobals()
1489 SourceLoc = ConstantInt::get(IntptrTy, 0); in InstrumentGlobals()
1520 ConstantExpr::getPointerCast(InstrumentedGlobal, IntptrTy), in InstrumentGlobals()
1521 ConstantInt::get(IntptrTy, SizeInBytes), in InstrumentGlobals()
1522 ConstantInt::get(IntptrTy, SizeInBytes + RightRedzoneSize), in InstrumentGlobals()
1523 ConstantExpr::getPointerCast(Name, IntptrTy), in InstrumentGlobals()
1524 ConstantExpr::getPointerCast(ModuleName, IntptrTy), in InstrumentGlobals()
1525 ConstantInt::get(IntptrTy, MD.IsDynInit), SourceLoc, in InstrumentGlobals()
1526 ConstantExpr::getPointerCast(ODRIndicator, IntptrTy), nullptr); in InstrumentGlobals()
1548 M, IntptrTy, false, GlobalVariable::CommonLinkage, in InstrumentGlobals()
1549 ConstantInt::get(IntptrTy, 0), kAsanGlobalsRegisteredFlagName); in InstrumentGlobals()
1553 StructType *LivenessTy = StructType::get(IntptrTy, IntptrTy, nullptr); in InstrumentGlobals()
1564 ConstantExpr::getPointerCast(Metadata, IntptrTy), in InstrumentGlobals()
1587 {IRB.CreatePointerCast(RegisteredFlag, IntptrTy)}); in InstrumentGlobals()
1590 {IRB.CreatePointerCast(AllGlobals, IntptrTy), in InstrumentGlobals()
1591 ConstantInt::get(IntptrTy, n)}); in InstrumentGlobals()
1604 {IRB.CreatePointerCast(RegisteredFlag, IntptrTy)}); in InstrumentGlobals()
1607 {IRB.CreatePointerCast(AllGlobals, IntptrTy), in InstrumentGlobals()
1608 ConstantInt::get(IntptrTy, n)}); in InstrumentGlobals()
1620 IntptrTy = Type::getIntNTy(*C, LongSize); in runOnModule()
1652 IRB.getVoidTy(), IntptrTy, IntptrTy, ExpType, nullptr)); in initializeCallbacks()
1656 IRB.getVoidTy(), IntptrTy, IntptrTy, ExpType, nullptr)); in initializeCallbacks()
1663 IRB.getVoidTy(), IntptrTy, ExpType, nullptr)); in initializeCallbacks()
1667 IRB.getVoidTy(), IntptrTy, ExpType, nullptr)); in initializeCallbacks()
1676 IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), IntptrTy, nullptr)); in initializeCallbacks()
1679 IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), IntptrTy, nullptr)); in initializeCallbacks()
1682 IRB.getInt8PtrTy(), IRB.getInt32Ty(), IntptrTy, nullptr)); in initializeCallbacks()
1688 kAsanPtrCmp, IRB.getVoidTy(), IntptrTy, IntptrTy, nullptr)); in initializeCallbacks()
1690 kAsanPtrSub, IRB.getVoidTy(), IntptrTy, IntptrTy, nullptr)); in initializeCallbacks()
1705 IntptrTy = Type::getIntNTy(*C, LongSize); in doInitialization()
1901 M.getOrInsertFunction(kAsanStackMallocNameTemplate + Suffix, IntptrTy, in initializeCallbacks()
1902 IntptrTy, nullptr)); in initializeCallbacks()
1905 IRB.getVoidTy(), IntptrTy, IntptrTy, nullptr)); in initializeCallbacks()
1910 IntptrTy, IntptrTy, nullptr)); in initializeCallbacks()
1913 IntptrTy, IntptrTy, nullptr)); in initializeCallbacks()
1917 kAsanAllocaPoison, IRB.getVoidTy(), IntptrTy, IntptrTy, nullptr)); in initializeCallbacks()
1920 kAsanAllocasUnpoison, IRB.getVoidTy(), IntptrTy, IntptrTy, nullptr)); in initializeCallbacks()
1942 Value *Ptr = IRB.CreateAdd(ShadowBase, ConstantInt::get(IntptrTy, i)); in poisonRedZones()
1973 Value *p = IRB.CreateAdd(ShadowBase, ConstantInt::get(IntptrTy, i)); in SetShadowToStackAfterReturnInlined()
1984 PHINode *PHI = IRB.CreatePHI(IntptrTy, 2); in createPHI()
2007 return IRB.CreatePointerCast(Alloca, IntptrTy); in createAllocaForLayout()
2013 DynamicAllocaLayout = IRB.CreateAlloca(IntptrTy, nullptr); in createDynamicAllocasInitStorage()
2014 IRB.CreateStore(Constant::getNullValue(IntptrTy), DynamicAllocaLayout); in createDynamicAllocasInitStorage()
2122 ConstantInt::get(IntptrTy, LocalStackSize)); in poisonStack()
2126 ConstantInt::get(IntptrTy, 0)); in poisonStack()
2129 IRB.CreateICmpEQ(FakeStack, Constant::getNullValue(IntptrTy)); in poisonStack()
2141 FakeStack = ConstantInt::get(IntptrTy, 0); in poisonStack()
2150 IRB.CreateAdd(LocalStackBase, ConstantInt::get(IntptrTy, Desc.Offset)), in poisonStack()
2159 IRB.CreateStore(ConstantInt::get(IntptrTy, kCurrentStackFrameMagic), in poisonStack()
2164 ConstantInt::get(IntptrTy, ASan.LongSize / 8)), in poisonStack()
2169 Value *Description = IRB.CreatePointerCast(StackDescriptionGlobal, IntptrTy); in poisonStack()
2174 ConstantInt::get(IntptrTy, 2 * ASan.LongSize / 8)), in poisonStack()
2176 IRB.CreateStore(IRB.CreatePointerCast(&F, IntptrTy), BasePlus2); in poisonStack()
2196 IRBRet.CreateStore(ConstantInt::get(IntptrTy, kRetiredStackFrameMagic), in poisonStack()
2211 IRBRet.CreateICmpNE(FakeStack, Constant::getNullValue(IntptrTy)); in poisonStack()
2222 ConstantInt::get(IntptrTy, ClassSize - ASan.LongSize / 8)); in poisonStack()
2232 {FakeStack, ConstantInt::get(IntptrTy, LocalStackSize)}); in poisonStack()
2249 Value *AddrArg = IRB.CreatePointerCast(V, IntptrTy); in poisonAlloca()
2250 Value *SizeArg = ConstantInt::get(IntptrTy, Size); in poisonAlloca()
2300 Value *Zero = Constant::getNullValue(IntptrTy); in handleDynamicAllocaCall()
2301 Value *AllocaRzSize = ConstantInt::get(IntptrTy, kAllocaRzSize); in handleDynamicAllocaCall()
2302 Value *AllocaRzMask = ConstantInt::get(IntptrTy, AllocaRedzoneMask); in handleDynamicAllocaCall()
2311 IRB.CreateMul(IRB.CreateIntCast(AI->getArraySize(), IntptrTy, false), in handleDynamicAllocaCall()
2312 ConstantInt::get(IntptrTy, ElementSize)); in handleDynamicAllocaCall()
2328 ConstantInt::get(IntptrTy, Align + kAllocaRzSize), PartialPadding); in handleDynamicAllocaCall()
2337 Value *NewAddress = IRB.CreateAdd(IRB.CreatePtrToInt(NewAlloca, IntptrTy), in handleDynamicAllocaCall()
2338 ConstantInt::get(IntptrTy, Align)); in handleDynamicAllocaCall()
2345 IRB.CreateStore(IRB.CreatePtrToInt(NewAlloca, IntptrTy), DynamicAllocaLayout); in handleDynamicAllocaCall()