reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Transforms/Instrumentation/AddressSanitizer.cpp
  916         IntptrPtrTy(PointerType::get(IntptrTy, 0)), Mapping(ASan.Mapping),
  976     Value *DynamicAreaPtr = IRB.CreatePtrToInt(SavedStack, IntptrTy);
  984           {IntptrTy});
  988       DynamicAreaPtr = IRB.CreateAdd(IRB.CreatePtrToInt(SavedStack, IntptrTy),
  994         {IRB.CreateLoad(IntptrTy, DynamicAllocaLayout), DynamicAreaPtr});
 1058         !ConstantInt::isValueValidForType(IntptrTy, SizeValue))
 2764         kAsanStackMallocNameTemplate + Suffix, IntptrTy, IntptrTy);
 2764         kAsanStackMallocNameTemplate + Suffix, IntptrTy, IntptrTy);
 2767                               IRB.getVoidTy(), IntptrTy, IntptrTy);
 2767                               IRB.getVoidTy(), IntptrTy, IntptrTy);
 2771         kAsanPoisonStackMemoryName, IRB.getVoidTy(), IntptrTy, IntptrTy);
 2771         kAsanPoisonStackMemoryName, IRB.getVoidTy(), IntptrTy, IntptrTy);
 2773         kAsanUnpoisonStackMemoryName, IRB.getVoidTy(), IntptrTy, IntptrTy);
 2773         kAsanUnpoisonStackMemoryName, IRB.getVoidTy(), IntptrTy, IntptrTy);
 2781         M.getOrInsertFunction(Name.str(), IRB.getVoidTy(), IntptrTy, IntptrTy);
 2781         M.getOrInsertFunction(Name.str(), IRB.getVoidTy(), IntptrTy, IntptrTy);
 2785       kAsanAllocaPoison, IRB.getVoidTy(), IntptrTy, IntptrTy);
 2785       kAsanAllocaPoison, IRB.getVoidTy(), IntptrTy, IntptrTy);
 2787       kAsanAllocasUnpoison, IRB.getVoidTy(), IntptrTy, IntptrTy);
 2787       kAsanAllocasUnpoison, IRB.getVoidTy(), IntptrTy, IntptrTy);
 2833     Value *Ptr = IRB.CreateAdd(ShadowBase, ConstantInt::get(IntptrTy, i));
 2870                      {IRB.CreateAdd(ShadowBase, ConstantInt::get(IntptrTy, i)),
 2871                       ConstantInt::get(IntptrTy, j - i)});
 2922   PHINode *PHI = IRB.CreatePHI(IntptrTy, 2);
 2945   return IRB.CreatePointerCast(Alloca, IntptrTy);
 2951   DynamicAllocaLayout = IRB.CreateAlloca(IntptrTy, nullptr);
 2952   IRB.CreateStore(Constant::getNullValue(IntptrTy), DynamicAllocaLayout);
 3078         IRB.CreateAlloca(IntptrTy, nullptr, "asan_local_stack_base");
 3096                          ConstantInt::get(IntptrTy, LocalStackSize));
 3100                           ConstantInt::get(IntptrTy, 0));
 3103         IRB.CreateICmpEQ(FakeStack, Constant::getNullValue(IntptrTy));
 3119     FakeStack = ConstantInt::get(IntptrTy, 0);
 3131         IRB.CreateAdd(LocalStackBase, ConstantInt::get(IntptrTy, Desc.Offset)),
 3139   IRB.CreateStore(ConstantInt::get(IntptrTy, kCurrentStackFrameMagic),
 3144                     ConstantInt::get(IntptrTy, ASan.LongSize / 8)),
 3149   Value *Description = IRB.CreatePointerCast(StackDescriptionGlobal, IntptrTy);
 3154                     ConstantInt::get(IntptrTy, 2 * ASan.LongSize / 8)),
 3156   IRB.CreateStore(IRB.CreatePointerCast(&F, IntptrTy), BasePlus2);
 3190     IRBRet.CreateStore(ConstantInt::get(IntptrTy, kRetiredStackFrameMagic),
 3205           IRBRet.CreateICmpNE(FakeStack, Constant::getNullValue(IntptrTy));
 3218             ConstantInt::get(IntptrTy, ClassSize - ASan.LongSize / 8));
 3220             IntptrTy, IRBPoison.CreateIntToPtr(SavedFlagPtrPtr, IntptrPtrTy));
 3228             {FakeStack, ConstantInt::get(IntptrTy, LocalStackSize)});
 3245   Value *AddrArg = IRB.CreatePointerCast(V, IntptrTy);
 3246   Value *SizeArg = ConstantInt::get(IntptrTy, Size);
 3266   Value *Zero = Constant::getNullValue(IntptrTy);
 3267   Value *AllocaRzSize = ConstantInt::get(IntptrTy, kAllocaRzSize);
 3268   Value *AllocaRzMask = ConstantInt::get(IntptrTy, AllocaRedzoneMask);
 3277       IRB.CreateMul(IRB.CreateIntCast(AI->getArraySize(), IntptrTy, false),
 3278                     ConstantInt::get(IntptrTy, ElementSize));
 3294       ConstantInt::get(IntptrTy, Align + kAllocaRzSize), PartialPadding);
 3303   Value *NewAddress = IRB.CreateAdd(IRB.CreatePtrToInt(NewAlloca, IntptrTy),
 3304                                     ConstantInt::get(IntptrTy, Align));
 3311   IRB.CreateStore(IRB.CreatePtrToInt(NewAlloca, IntptrTy), DynamicAllocaLayout);