Lines Matching defs:IntptrTy
381 // (e.g. application address for loads or stores), as an `IntptrTy`-typed LLVM
383 Value *getValue(Type *IntptrTy, IRBuilder<> &Builder) const {
389 return ConstantInt::get(IntptrTy, 0);
391 return ConstantInt::get(IntptrTy, ArgId);
394 return Builder.CreatePtrToInt(Address, IntptrTy);
511 IntegerType *IntptrTy = M.getDataLayout().getIntPtrType(Ctx);
519 M.getOrInsertFunction(Fallback, Attr, VoidTy, PtrTy, PtrTy, IntptrTy));
523 M.getOrInsertFunction(Fallback, Attr, VoidTy, PtrTy, IntptrTy));
602 IntegerType *IntptrTy = nullptr;
663 IntptrTy = DL.getIntPtrType(Context);
681 GetterPrefix + "_store", Attr, PtrTy, PtrTy, IntptrTy);
683 GetterPrefix + "_load", Attr, PtrTy, PtrTy, IntptrTy);
691 Attr, Int32Ty, VTTy, ShadowTy, Int32Ty, IntptrTy);
704 NsanShadowRetTag = createThreadLocalGV("__nsan_shadow_ret_tag", M, IntptrTy);
712 createThreadLocalGV("__nsan_shadow_args_tag", M, IntptrTy);
767 Builder.CreateLoad(IntptrTy, NsanShadowArgsTag, /*isVolatile=*/false),
768 Builder.CreatePtrToInt(&F, IntptrTy));
788 Builder.CreateStore(ConstantInt::get(IntptrTy, 0), NsanShadowArgsTag);
907 {V, ShadowV, Loc.getType(Context), Loc.getValue(IntptrTy, Builder)});
1144 {Load.getPointerOperand(), ConstantInt::get(IntptrTy, Extents.NumElts)});
1645 Builder.CreateLoad(IntptrTy, NsanShadowRetTag, /*isVolatile=*/false);
1647 L, Builder.CreatePtrToInt(Call.getCalledOperand(), IntptrTy));
1809 {Store.getPointerOperand(), ConstantInt::get(IntptrTy, Extents.NumElts)});
1844 IntptrTy, APInt(IntptrTy->getPrimitiveSizeInBits(), LoadSizeBytes));
1931 {PtrOp, ConstantInt::get(IntptrTy, Extents.NumElts)});
1992 Builder.CreatePtrToInt(Inst.getParent()->getParent(), IntptrTy);
2210 IntptrTy, false)});
2224 IntptrTy, false)});
2250 CI->setArgOperand(3, ConstantInt::get(IntptrTy, shadow_value_type_ids));