|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
tools/clang/lib/CodeGen/Address.h 44 return llvm::cast<llvm::PointerType>(getPointer()->getType());
62 return getPointer()->getName();
84 return llvm::cast<llvm::Constant>(Address::getPointer());
97 return llvm::isa<llvm::Constant>(addr.getPointer());
100 return ConstantAddress(llvm::cast<llvm::Constant>(addr.getPointer()),
tools/clang/lib/CodeGen/CGAtomic.cpp 369 Ptr.getPointer(), Expected, Desired, SuccessOrder, FailureOrder,
640 CGF.Builder.CreateAtomicRMW(Op, Ptr.getPointer(), LoadVal1, Order, Scope);
985 EmitCastToVoidPtr(Ptr.getPointer()), E->getPtr()->getType())),
1017 EmitCastToVoidPtr(Val1.getPointer()), E->getVal1()->getType())),
1019 AddDirectArgument(*this, Args, UseOptimizedLibcall, Val2.getPointer(),
1032 AddDirectArgument(*this, Args, UseOptimizedLibcall, Val1.getPointer(),
1044 AddDirectArgument(*this, Args, UseOptimizedLibcall, Val1.getPointer(),
1064 AddDirectArgument(*this, Args, UseOptimizedLibcall, Val1.getPointer(),
1076 AddDirectArgument(*this, Args, UseOptimizedLibcall, Val1.getPointer(),
1088 AddDirectArgument(*this, Args, UseOptimizedLibcall, Val1.getPointer(),
1100 AddDirectArgument(*this, Args, UseOptimizedLibcall, Val1.getPointer(),
1112 AddDirectArgument(*this, Args, UseOptimizedLibcall, Val1.getPointer(),
1120 AddDirectArgument(*this, Args, UseOptimizedLibcall, Val1.getPointer(),
1128 AddDirectArgument(*this, Args, UseOptimizedLibcall, Val1.getPointer(),
1138 AddDirectArgument(*this, Args, UseOptimizedLibcall, Val1.getPointer(),
1161 Args.add(RValue::get(EmitCastToVoidPtr(Dest.getPointer())),
1332 cast<llvm::PointerType>(addr.getPointer()->getType())->getAddressSpace();
1497 EmitAtomicLoadLibcall(TempAddr.getPointer(), AO, IsVolatile);
1607 auto *Inst = CGF.Builder.CreateAtomicCmpXchg(Addr.getPointer(),
1660 auto *Res = EmitAtomicCompareExchangeLibcall(ExpectedAddr.getPointer(),
1661 DesiredAddr.getPointer(),
1743 EmitAtomicLoadLibcall(ExpectedAddr.getPointer(), AO, IsVolatile);
1758 EmitAtomicCompareExchangeLibcall(ExpectedAddr.getPointer(),
1759 DesiredAddr.getPointer(),
1829 EmitAtomicLoadLibcall(ExpectedAddr.getPointer(), AO, IsVolatile);
1841 EmitAtomicCompareExchangeLibcall(ExpectedAddr.getPointer(),
1842 DesiredAddr.getPointer(),
1944 args.add(RValue::get(EmitCastToVoidPtr(srcAddr.getPointer())),
tools/clang/lib/CodeGen/CGBlocks.cpp 846 blockInfo.DominatingIP = cast<llvm::Instruction>(addr.getPointer());
1092 byrefPointer = Builder.CreateBitCast(src.getPointer(), VoidPtrTy);
1115 Builder.CreateStore(src.getPointer(), blockField);
1174 blockAddr.getPointer(), ConvertType(blockInfo.getBlockExpr()->getType()));
1490 cast<llvm::AllocaInst>(alloc.getPointer()), Builder);
1605 BlockPointerDbgLoc = Alloca.getPointer();
1663 (void)DI->EmitDeclareOfAutoVariable(variable, addr.getPointer(),
1792 BlockVarAddr = Addr.getPointer();
2098 cast<llvm::Instruction>(dstField.getPointer())->eraseFromParent();
2106 Builder.CreateBitCast(dstField.getPointer(), VoidPtrTy);
2284 llvm::Value *args[] = { destField.getPointer(), srcValue, flagsVal };
2824 cast<llvm::PointerType>(addr.getPointer()->getType())->getElementType());
2858 storeHeaderField(addr.getPointer(), getPointerSize(), "byref.forwarding");
tools/clang/lib/CodeGen/CGBuilder.h 70 return CreateAlignedLoad(Addr.getPointer(),
77 return CreateAlignedLoad(Addr.getPointer(),
83 return CreateAlignedLoad(Addr.getPointer(),
109 return CreateAlignedStore(Val, Addr.getPointer(),
143 return Address(CreateBitCast(Addr.getPointer(), Ty, Name),
150 return Address(CreateAddrSpaceCast(Addr.getPointer(), Ty, Name),
166 CreatePointerBitCastOrAddrSpaceCast(Addr.getPointer(), Ty, Name);
186 Addr.getPointer(), Index, Name),
206 CreateInBoundsGEP(Addr.getPointer(),
222 return Address(CreateInBoundsGEP(Addr.getElementType(), Addr.getPointer(),
238 return Address(CreateGEP(Addr.getElementType(), Addr.getPointer(),
247 return Address(CreateInBoundsGEP(Addr.getPointer(), getSize(Offset), Name),
253 return Address(CreateGEP(Addr.getPointer(), getSize(Offset), Name),
263 Addr.getElementType(), Addr.getPointer(), Idx0, Idx1, Name));
276 return CreateMemCpy(Dest.getPointer(), Dest.getAlignment().getQuantity(),
277 Src.getPointer(), Src.getAlignment().getQuantity(),
282 return CreateMemCpy(Dest.getPointer(), Dest.getAlignment().getQuantity(),
283 Src.getPointer(), Src.getAlignment().getQuantity(),
290 return CreateMemMove(Dest.getPointer(), Dest.getAlignment().getQuantity(),
291 Src.getPointer(), Src.getAlignment().getQuantity(),
298 return CreateMemSet(Dest.getPointer(), Value, Size,
312 return Address(CreatePreserveStructAccessIndex(Addr.getPointer(),
tools/clang/lib/CodeGen/CGBuiltin.cpp 789 OldByte = CGF.Builder.CreateAtomicRMW(RMWOp, ByteAddr.getPointer(), Mask,
1212 Addr = Builder.CreateBitCast(Addr, Arg.getPointer()->getType(),
1235 Args.add(RValue::get(BufAddr.getPointer()), Ctx.VoidPtrTy);
1293 return RValue::get(BufAddr.getPointer());
1798 : EmitVAListRef(E->getArg(0)).getPointer(),
1801 Value *DstPtr = EmitVAListRef(E->getArg(0)).getPointer();
1802 Value *SrcPtr = EmitVAListRef(E->getArg(1)).getPointer();
2388 EmitNonNullArgCheck(RValue::get(Dest.getPointer()), E->getArg(0)->getType(),
2398 EmitNonNullArgCheck(RValue::get(Dest.getPointer()), E->getArg(0)->getType(),
2400 EmitNonNullArgCheck(RValue::get(Src.getPointer()), E->getArg(1)->getType(),
2403 return RValue::get(Dest.getPointer());
2424 return RValue::get(Dest.getPointer());
2433 return RValue::get(DestAddr.getPointer());
2450 return RValue::get(Dest.getPointer());
2458 EmitNonNullArgCheck(RValue::get(Dest.getPointer()), E->getArg(0)->getType(),
2460 EmitNonNullArgCheck(RValue::get(Src.getPointer()), E->getArg(1)->getType(),
2463 return RValue::get(Dest.getPointer());
2471 EmitNonNullArgCheck(RValue::get(Dest.getPointer()), E->getArg(0)->getType(),
2474 return RValue::get(Dest.getPointer());
2491 return RValue::get(Dest.getPointer());
2673 return RValue::get(Builder.CreateCall(F, Buf.getPointer()));
2983 unsigned AddrSpace = Ptr.getPointer()->getType()->getPointerAddressSpace();
3753 llvm::Value *Range = NDRangeL.getAddress().getPointer();
3794 llvm::Value *TmpPtr = Tmp.getPointer();
3863 ? EmitArrayToPointerDecay(E->getArg(4)).getPointer()
3958 llvm::Value *NDRange = NDRangeL.getAddress().getPointer();
4032 Arg0Val = EmitArrayToPointerDecay(Arg0).getPointer();
4070 Arg1Val = EmitArrayToPointerDecay(Arg1).getPointer();
4084 EmitVAStartEnd(EmitMSVAListRef(E->getArg(0)).getPointer(),
4099 DestAddr = Address(Builder.CreateBitCast(DestAddr.getPointer(), BPP, "cp"),
4101 SrcAddr = Address(Builder.CreateBitCast(SrcAddr.getPointer(), BPP, "ap"),
6384 Ops.push_back(PtrOp0.getPointer());
6411 Ops.push_back(PtrOp1.getPointer());
10312 Builder.CreateBitCast(Tmp.getPointer(), Int8PtrTy));
10318 Builder.CreateBitCast(Tmp.getPointer(), Int8PtrTy));
12846 = FlagOutPtr.getPointer()->getType()->getPointerElementType();
13925 Builder.CreateAlignedStore(Result, Dst.getPointer(),
13932 Builder.CreateGEP(Dst.getPointer(),
13968 Builder.CreateGEP(Src.getPointer(), llvm::ConstantInt::get(IntTy, i)),
14027 Builder.CreateGEP(SrcA.getPointer(),
14036 Builder.CreateGEP(SrcB.getPointer(),
14046 Builder.CreateGEP(SrcC.getPointer(),
14056 Builder.CreateGEP(Dst.getPointer(), llvm::ConstantInt::get(IntTy, i)),
14455 BP = Address(Builder.CreateBitCast(BP.getPointer(), Int8PtrPtrTy),
14480 BP = Address(Builder.CreateBitCast(BP.getPointer(), Int8PtrPtrTy),
14514 DestAddr = Address(Builder.CreateBitCast(DestAddr.getPointer(), Int8PtrTy),
14516 llvm::Value *DestAddress = DestAddr.getPointer();
tools/clang/lib/CodeGen/CGCUDANV.cpp 260 llvm::Value* VarPtr = CGF.GetAddrOfLocalVar(Args[i]).getPointer();
263 VoidVarPtr, CGF.Builder.CreateConstGEP1_32(KernelArgs.getPointer(), i));
312 {GridDim.getPointer(), BlockDim.getPointer(),
312 {GridDim.getPointer(), BlockDim.getPointer(),
313 ShmemSize.getPointer(), Stream.getPointer()});
313 ShmemSize.getPointer(), Stream.getPointer()});
322 LaunchKernelArgs.add(RValue::get(KernelArgs.getPointer()),
357 CGF.Builder.CreatePointerCast(CGF.GetAddrOfLocalVar(A).getPointer(),
tools/clang/lib/CodeGen/CGCXXABI.cpp 46 ThisPtrForCall = This.getPointer();
210 allocPtr = ptr.getPointer();
219 allocPtr = allocAddr.getPointer();
tools/clang/lib/CodeGen/CGCall.cpp 1011 CGF.Builder.CreateConstGEP2_32(nullptr, BaseAddr.getPointer(), 0, i);
2429 V = temp.getPointer();
2695 load->getPointerOperand() != CGF.GetAddrOfLocalVar(self).getPointer())
2737 if (!SI || SI->getPointerOperand() != CGF.ReturnValue.getPointer())
2748 if (!CGF.ReturnValue.getPointer()->hasOneUse()) {
2776 GetStoreIfValid(CGF.ReturnValue.getPointer()->user_back());
3116 assert(!isProvablyNull(srcAddr.getPointer()) &&
3123 bool provablyNonNull = llvm::isKnownNonZero(srcAddr.getPointer(),
3130 CGF.Builder.CreateIsNull(srcAddr.getPointer(), "icr.isnull");
3232 if (isProvablyNull(srcAddr.getPointer())) {
3263 bool provablyNonNull = llvm::isKnownNonZero(srcAddr.getPointer(),
3266 finalArgument = temp.getPointer();
3269 CGF.Builder.CreateIsNull(srcAddr.getPointer(), "icr.isnull");
3273 temp.getPointer(), "icr.argument");
3866 UnusedReturnSizePtr = EmitLifetimeStart(size, SRetAlloca.getPointer());
3870 IRCallArgs[IRFunctionArgs.getSRetArgNo()] = SRetPtr.getPointer();
3874 Builder.CreateStore(SRetPtr.getPointer(), Addr);
3913 cast<llvm::Instruction>(Addr.getPointer());
3919 deferPlaceholderReplacement(Placeholder, Addr.getPointer());
3942 IRCallArgs[FirstIRArg] = Addr.getPointer();
3957 llvm::Value *V = Addr.getPointer();
4001 IRCallArgs[FirstIRArg] = AI.getPointer();
4007 EmitLifetimeStart(ByvalTempElementSize, AI.getPointer());
4057 V = swiftErrorTemp.getPointer();
4158 tempSize = EmitLifetimeStart(scalarSize, AllocaAddr.getPointer());
4176 EmitLifetimeEnd(tempSize, AllocaAddr.getPointer());
4195 llvm::Value *Arg = ArgMemory.getPointer();
tools/clang/lib/CodeGen/CGCall.h 376 : Value(Addr.isValid() ? Addr.getPointer() : nullptr,
tools/clang/lib/CodeGen/CGClass.cpp 248 llvm::Value *ptr = addr.getPointer();
318 EmitTypeCheck(TCK_Upcast, Loc, Value.getPointer(),
334 llvm::Value *isNull = Builder.CreateIsNull(Value.getPointer());
343 Value.getPointer(), DerivedTy, DerivedAlign, SkippedChecks);
367 PHI->addIncoming(Value.getPointer(), notNullBB);
386 BaseAddr.getPointer()->getType()->getPointerAddressSpace();
406 llvm::Value *IsNull = Builder.CreateIsNull(BaseAddr.getPointer());
412 llvm::Value *Value = Builder.CreateBitCast(BaseAddr.getPointer(), Int8PtrTy);
1941 llvm::Value *arrayBegin = arrayBase.getPointer();
2039 llvm::Value *ThisPtr = This.getPointer();
2045 ThisPtr = getTargetHooks().performAddrSpaceCast(*this, This.getPointer(),
2115 EmitTypeCheck(CodeGenFunction::TCK_ConstructorCall, Loc, This.getPointer(),
2184 CallArg ThisArg(RValue::get(This.getPointer()), D->getThisType());
2309 Args.add(RValue::get(This.getPointer()), D->getThisType());
2315 Args.add(RValue::get(Src.getPointer()), QT);
2339 DelegateArgs.add(RValue::get(This.getPointer()), (*I)->getType());
2892 CallArgs.add(RValue::get(ThisPtr.getPointer()), ThisType);
tools/clang/lib/CodeGen/CGCleanup.cpp 47 return saved_type(addr.getPointer(), ScalarAddress);
57 return saved_type(addr.getPointer(), ComplexAddress);
62 if (!DominatingLLVMValue::needsSaving(V.getPointer()))
63 return saved_type(V.getPointer(), AggregateLiteral,
68 CGF.Builder.CreateStore(V.getPointer(), addr);
69 return saved_type(addr.getPointer(), AggregateAddress,
306 auto store = new llvm::StoreInst(value, addr.getPointer(), beforeInst);
312 auto load = new llvm::LoadInst(addr.getPointer(), name, beforeInst);
631 assert(condition->getOperand(0) == CGF.NormalCleanupDest.getPointer());
837 cast<llvm::Instruction>(getNormalCleanupDestSlot().getPointer());
tools/clang/lib/CodeGen/CGCleanup.h 329 ActiveFlag = cast<llvm::AllocaInst>(Var.getPointer());
tools/clang/lib/CodeGen/CGCoroutine.cpp 622 new llvm::BitCastInst(PromiseAddr.getPointer(), VoidPtrTy, "", CoroId);
tools/clang/lib/CodeGen/CGDecl.cpp 1335 Dimensions.emplace_back(SizeExprAddr.getPointer(),
1467 NRVOFlags[&D] = NRVOFlag.getPointer();
1468 emission.NRVOFlag = NRVOFlag.getPointer();
1515 EmitLifetimeStart(size, AllocaAddr.getPointer());
1567 (void)DI->EmitDeclareOfAutoVariable(&D, DebugAddr.getPointer(), Builder,
1572 EmitVarAnnotations(&D, address.getPointer());
1722 Builder.CreateInBoundsGEP(Begin.getPointer(), SizeVal, "vla.end");
1726 Cur->addIncoming(Begin.getPointer(), OriginBB);
2124 llvm::Value *begin = addr.getPointer();
2382 auto *V = DeclPtr.getPointer();
2499 DI->EmitDeclareOfArgVariable(&D, DeclPtr.getPointer(), ArgNo, Builder);
2504 EmitVarAnnotations(&D, DeclPtr.getPointer());
tools/clang/lib/CodeGen/CGException.cpp 380 pushFullExprCleanup<FreeException>(EHCleanup, addr.getPointer());
400 cast<llvm::Instruction>(typedAddr.getPointer()));
1716 if (auto *ParentAlloca = dyn_cast<llvm::AllocaInst>(ParentVar.getPointer())) {
1736 cast<llvm::IntrinsicInst>(ParentVar.getPointer()->stripPointerCasts());
tools/clang/lib/CodeGen/CGExpr.cpp 82 llvm::Value *V = Alloca.getPointer();
127 assert(isa<llvm::AllocaInst>(Var.getPointer()));
128 auto *Store = new llvm::StoreInst(Init, Var.getPointer());
345 CleanupArg = cast<llvm::Constant>(ReferenceTemporary.getPointer());
432 if (auto *Var = dyn_cast<llvm::GlobalVariable>(Object.getPointer())) {
490 Object.getPointer()->stripPointerCasts())) {
492 cast<llvm::Constant>(Object.getPointer()),
507 Alloca.getPointer())) {
538 Alloca.getPointer())) {
1080 Addr = Address(Addr.getPointer(), Align);
1087 EmitVTablePtrCheckForCast(PT->getPointeeType(), Addr.getPointer(),
2003 llvm::Value *RHS = dst.getPointer();
2006 Builder.CreatePtrToInt(LvalueDst.getPointer(), ResultType,
2858 V = Ptr.getPointer();
3433 CGF, addr.getPointer(), indices, inbounds, signedIndices,
3441 eltPtr = CGF.Builder.CreatePreserveArrayAccessIndex(addr.getPointer(),
3557 emitArraySubscriptGEP(*this, Addr.getPointer(), ScaledIdx, false,
3877 EmitTypeCheck(TCK_MemberAccess, E->getExprLoc(), Addr.getPointer(), PtrTy,
4068 auto *stripped = Builder.CreateStripInvariantGroup(addr.getPointer());
4080 addr = Address(Builder.CreateLaunderInvariantGroup(addr.getPointer()),
4089 addr.getPointer(), getDebugInfoFIndex(rec, field->getFieldIndex()), DbgInfo),
4401 Derived.getPointer(), E->getType());
4404 EmitVTablePtrCheckForCast(E->getType(), Derived.getPointer(),
4421 EmitVTablePtrCheckForCast(E->getType(), V.getPointer(),
tools/clang/lib/CodeGen/CGExprAgg.cpp 274 LifetimeSizePtr = CGF.EmitLifetimeStart(Size, RetAllocaAddr.getPointer());
305 CGF.EmitLifetimeEnd(LifetimeSizePtr, RetAllocaAddr.getPointer());
417 Builder.CreateInBoundsGEP(ArrayPtr.getPointer(), IdxStart, "arraystart");
434 Builder.CreateInBoundsGEP(ArrayPtr.getPointer(), IdxEnd, "arrayend");
484 Builder.CreateInBoundsGEP(DestPtr.getPointer(), indices, "arrayinit.begin");
1651 llvm::Value *begin = Builder.CreateInBoundsGEP(destPtr.getPointer(), indices,
tools/clang/lib/CodeGen/CGExprCXX.cpp 433 EmitTypeCheck(TCK_MemberCall, E->getExprLoc(), This.getPointer(),
1035 Address(Builder.CreateInBoundsGEP(CurPtr.getPointer(),
1071 CleanupDominator = Builder.CreateStore(BeginPtr.getPointer(), EndOfInit);
1072 pushIrregularPartialArrayCleanup(BeginPtr.getPointer(), EndOfInit,
1085 Builder.CreateBitCast(CurPtr.getPointer(), BeginPtr.getType());
1094 CurPtr = Address(Builder.CreateInBoundsGEP(CurPtr.getPointer(),
1149 Builder.CreateStore(CurPtr.getPointer(), EndOfInit);
1213 Builder.CreateInBoundsGEP(BeginPtr.getPointer(), NumElements, "array.end");
1219 Builder.CreateICmpEQ(CurPtr.getPointer(), EndPtr, "array.isempty");
1229 CurPtrPhi->addIncoming(CurPtr.getPointer(), EntryBB);
1235 Builder.CreateStore(CurPtr.getPointer(), EndOfInit);
1239 pushRegularPartialArrayCleanup(BeginPtr.getPointer(), CurPtr.getPointer(),
1239 pushRegularPartialArrayCleanup(BeginPtr.getPointer(), CurPtr.getPointer(),
1258 Builder.CreateConstInBoundsGEP1_32(ElementTy, CurPtr.getPointer(), 1,
1490 NewPtr.getPointer(),
1504 DominatingValue<RValue>::save(CGF, RValue::get(NewPtr.getPointer()));
1575 allocation = Address(allocation.getPointer(), allocAlign);
1582 allocatorArgs.add(RValue::get(allocation.getPointer()), arg->getType());
1665 Builder.CreateIsNull(allocation.getPointer(), "new.isnull");
1700 result = Address(Builder.CreateLaunderInvariantGroup(result.getPointer()),
1712 result.getPointer(), allocType, result.getAlignment(),
1733 llvm::Value *resultPtr = result.getPointer();
1853 CGF.EmitDeleteCall(DE->getOperatorDelete(), Ptr.getPointer(), ElementType);
1867 DE->getExprLoc(), Ptr.getPointer(),
1917 Ptr.getPointer(),
1997 llvm::Value *arrayBegin = deletedPtr.getPointer();
2022 llvm::Value *IsNull = Builder.CreateIsNull(Ptr.getPointer(), "isnull");
2056 Ptr = Address(Builder.CreateInBoundsGEP(Ptr.getPointer(), GEP, "del.first"),
2115 ThisPtr.getPointer(), SrcRecordTy);
2131 llvm::Value *IsNull = CGF.Builder.CreateIsNull(ThisPtr.getPointer());
2212 EmitTypeCheck(TCK_DynamicOperation, DCE->getExprLoc(), ThisAddr.getPointer(),
2236 llvm::Value *IsNull = Builder.CreateIsNull(ThisAddr.getPointer());
tools/clang/lib/CodeGen/CGExprScalar.cpp 2075 Derived.getPointer(), DestTy->getPointeeType());
2079 DestTy->getPointeeType(), Derived.getPointer(),
2083 return Derived.getPointer();
2089 return CGF.EmitPointerWithAlignment(CE).getPointer();
2099 return CGF.EmitArrayToPointerDecay(E).getPointer();
tools/clang/lib/CodeGen/CGNonTrivialStruct.cpp 357 CGF.Builder.CreateInBoundsGEP(BC.getPointer(), SizeInBytes);
369 PHIs[I]->addIncoming(StartAddrs[I].getPointer(), PreheaderBB);
402 PHIs[I]->addIncoming(NewAddrs[I].getPointer(), LoopBB);
490 .getPointer();
tools/clang/lib/CodeGen/CGObjC.cpp 93 Args.add(RValue::get(BitCast.getPointer()), ArgQT);
201 Args.add(RValue::get(Objects.getPointer()), ArgQT);
205 Args.add(RValue::get(Keys.getPointer()), ArgQT);
739 args.add(RValue::get(dest.getPointer()), Context.VoidPtrTy);
742 args.add(RValue::get(src.getPointer()), Context.VoidPtrTy);
1036 emitCPPObjectAtomicGetterCall(*this, ReturnValue.getPointer(),
1166 value = LV.getAddress().getPointer();
1687 Args.add(RValue::get(StatePtr.getPointer()),
1695 Args.add(RValue::get(ItemsPtr.getPointer()),
2022 llvm::Value *result = CGF.EmitNounwindRuntimeCall(fn, addr.getPointer());
2048 CGF.Builder.CreateBitCast(addr.getPointer(), CGF.Int8PtrPtrTy),
2071 CGF.Builder.CreateBitCast(dst.getPointer(), CGF.Int8PtrPtrTy),
2072 CGF.Builder.CreateBitCast(src.getPointer(), CGF.Int8PtrPtrTy)
2288 Builder.CreateBitCast(addr.getPointer(), Int8PtrPtrTy),
2446 EmitNounwindRuntimeCall(fn, addr.getPointer());
tools/clang/lib/CodeGen/CGObjCGNU.cpp 702 PtrToObjCSuperTy).getPointer(), cmd};
772 EnforceType(Builder, ReceiverPtr.getPointer(), PtrToIdTy),
793 llvm::Value *lookupArgs[] = {ObjCSuper.getPointer(), cmd};
1201 PtrToObjCSuperTy).getPointer(), cmd};
2059 EnforceType(Builder, ObjCSuper.getPointer(), PtrToObjCSuperTy), cmd,
2744 phi->addIncoming(v.getPointer(), messageBB);
2745 phi->addIncoming(NullVal.getPointer(), startBB);
3972 return B.CreateCall(WeakReadFn, AddrWeakObj.getPointer());
3980 B.CreateCall(WeakAssignFn, {src, dst.getPointer()});
3991 B.CreateCall(GlobalAssignFn, {src, dst.getPointer()});
4000 B.CreateCall(IvarAssignFn, {src, dst.getPointer(), ivarOffset});
4008 B.CreateCall(StrongCastAssignFn, {src, dst.getPointer()});
4019 B.CreateCall(MemMoveFn, {DestPtr.getPointer(), SrcPtr.getPointer(), Size});
4019 B.CreateCall(MemMoveFn, {DestPtr.getPointer(), SrcPtr.getPointer(), Size});
tools/clang/lib/CodeGen/CGObjCMac.cpp 2108 ObjCSuper.getPointer(), ObjCTypes.SuperPtrCTy,
2182 llvm::Value *SelfAddr = CGF.GetAddrOfLocalVar(Self).getPointer();
4146 ExceptionData.getPointer());
4304 if (V.isValid()) S.insert(V.getPointer());
4511 ExceptionData.getPointer());
4517 ObjCTypes.ExceptionDataTy, ExceptionData.getPointer(), GEPIndexes,
4558 ExceptionData.getPointer(), "caught");
4581 ExceptionData.getPointer());
4716 ExceptionData.getPointer(), "caught");
4748 ExceptionData.getPointer());
4794 AddrWeakObj.getPointer(), "weakread");
4814 llvm::Value *args[] = { src, dst.getPointer() };
4835 llvm::Value *args[] = { src, dst.getPointer() };
4861 llvm::Value *args[] = { src, dst.getPointer(), ivarOffset };
4880 llvm::Value *args[] = { src, dst.getPointer() };
4891 llvm::Value *args[] = { DestPtr.getPointer(), SrcPtr.getPointer(), size };
4891 llvm::Value *args[] = { DestPtr.getPointer(), SrcPtr.getPointer(), size };
7209 args[1].setRValue(RValue::get(mref.getPointer()));
7467 ObjCSuper.getPointer(), ObjCTypes.SuperPtrCTy,
7471 ObjCSuper.getPointer(), ObjCTypes.SuperPtrCTy,
7526 llvm::Value *args[] = { src, dst.getPointer(), ivarOffset };
7546 llvm::Value *args[] = { src, dst.getPointer() };
7558 llvm::Value *args[] = { DestPtr.getPointer(), SrcPtr.getPointer(), Size };
7558 llvm::Value *args[] = { DestPtr.getPointer(), SrcPtr.getPointer(), Size };
7572 AddrWeakObj.getPointer(), "weakread");
7592 llvm::Value *args[] = { src, dst.getPointer() };
7613 llvm::Value *args[] = { src, dst.getPointer() };
tools/clang/lib/CodeGen/CGObjCRuntime.cpp 235 CPI->setOperand(2, CGF.getExceptionSlot().getPointer());
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp 878 SrcBegin = SrcAddr.getPointer();
879 llvm::Value *DestBegin = DestAddr.getPointer();
1135 CGF.Builder.CreateStore(Tmp.getPointer(), TopTmp);
1185 PrivateAddr.getPointer(),
1632 return getOrCreateDefaultLocation(Flags).getPointer();
1648 Elem.second.DebugLoc = AI.getPointer();
1683 return LocValue.getPointer();
2728 CGF.Builder.CreatePointerCast(VDAddr.getPointer(),
2748 OMPLoc, CGF.Builder.CreatePointerCast(VDAddr.getPointer(), CGM.VoidPtrTy),
3091 OutlinedFnArgs.push_back(ThreadIDAddr.getPointer());
3092 OutlinedFnArgs.push_back(ZeroAddrBound.getPointer());
3414 CL.getPointer(), // void *<copyprivate list>
3697 Values.IL.getPointer(), // &isLastIter
3698 Values.LB.getPointer(), // &LB
3699 Values.UB.getPointer(), // &UB
3700 Values.ST.getPointer(), // &Stride
3784 IL.getPointer(), // &isLastIter
3785 LB.getPointer(), // &Lower
3786 UB.getPointer(), // &Upper
3787 ST.getPointer() // &Stride
4563 .getPointer()};
5301 DepTaskArgs[4] = DependenciesArray.getPointer();
5331 DepWaitTaskArgs[3] = DependenciesArray.getPointer();
5482 llvm::Value *RHSBegin = RHSAddr.getPointer();
5483 llvm::Value *LHSBegin = LHSAddr.getPointer();
5785 ReductionList.getPointer(), CGF.VoidPtrTy);
6226 TaskRedInput.getPointer(), Idxs,
6285 CGF.Builder.CreatePointerBitCastOrAddrSpaceCast(TaskRedInput.getPointer(),
7660 CGF.EmitCastToVoidPtr(ComponentLB.getPointer()),
7661 CGF.EmitCastToVoidPtr(LB.getPointer()));
7665 BasePointers.push_back(BP.getPointer());
7666 Pointers.push_back(LB.getPointer());
7672 BasePointers.push_back(BP.getPointer());
7673 Pointers.push_back(LB.getPointer());
7676 CGF.Builder.CreateConstGEP(HB, 1).getPointer()),
7677 CGF.EmitCastToVoidPtr(LB.getPointer()));
7685 BasePointers.push_back(BP.getPointer());
7686 Pointers.push_back(LB.getPointer());
7884 BasePointers.push_back(PartialStruct.Base.getPointer());
7886 llvm::Value *LB = PartialStruct.LowestElem.second.getPointer();
7889 llvm::Value *HB = PartialStruct.HighestElem.second.getPointer();
8532 CurPointers.push_back(PtrAddr.getPointer());
8583 CGF.CreateMemTemp(PointerArrayType, ".offload_baseptrs").getPointer();
8585 CGF.CreateMemTemp(PointerArrayType, ".offload_ptrs").getPointer();
8597 CGF.CreateMemTemp(SizeArrayType, ".offload_sizes").getPointer();
8880 MapperCGF.GetAddrOfLocalVar(&BeginArg).getPointer(),
9259 InputInfo.BasePointersArray.getPointer(),
9260 InputInfo.PointersArray.getPointer(),
9261 InputInfo.SizesArray.getPointer(),
9273 InputInfo.BasePointersArray.getPointer(),
9274 InputInfo.PointersArray.getPointer(),
9275 InputInfo.SizesArray.getPointer(),
9739 Addr = cast<llvm::Constant>(getAddrOfDeclareTargetVar(VD).getPointer());
10105 InputInfo.BasePointersArray.getPointer(),
10106 InputInfo.PointersArray.getPointer(),
10107 InputInfo.SizesArray.getPointer(),
10863 CGF.Builder.CreateConstArrayGEP(DimsAddr, 0).getPointer(),
10897 CGF.Builder.CreateConstArrayGEP(CntAddr, 0).getPointer()};
tools/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp 1436 llvm::Value *Args[] = {WorkFn.getPointer(),
2195 Phi->addIncoming(RecPtr.getPointer(), SPMDBB);
2265 Bld.CreateConstInBoundsGEP(FrameAddr, Offset).getPointer();
2317 VarAddr.getAddress().getPointer(),
2345 LocalAddr.getPointer(), GlobalPtr.getPointer()),
2345 LocalAddr.getPointer(), GlobalPtr.getPointer()),
2467 OutlinedFnArgs.push_back(emitThreadIDAddress(CGF, Loc).getPointer());
2468 OutlinedFnArgs.push_back(ZeroAddr.getPointer());
2507 OutlinedFnArgs.push_back(ThreadIDAddr.getPointer());
2508 OutlinedFnArgs.push_back(ZeroAddr.getPointer());
2551 llvm::Value *SharedArgsPtr = SharedArgs.getPointer();
2676 OutlinedFnArgs.push_back(ThreadIDAddr.getPointer());
2677 OutlinedFnArgs.push_back(ZeroAddr.getPointer());
2904 PhiSrc->addIncoming(Ptr.getPointer(), CurrentBB);
2907 PhiDest->addIncoming(ElemPtr.getPointer(), CurrentBB);
2911 PtrEnd.getPointer(), Bld.CreatePointerBitCastOrAddrSpaceCast(
2912 Ptr.getPointer(), CGF.VoidPtrTy));
2922 PhiSrc->addIncoming(LocalPtr.getPointer(), ThenBB);
2923 PhiDest->addIncoming(LocalElemPtr.getPointer(), ThenBB);
3037 Bld.CreateNUWAdd(DestBase.getPointer(), CurrentOffset);
3052 Bld.CreateNUWAdd(SrcBase.getPointer(), CurrentOffset);
3117 DestElementAddr.getPointer(), CGF.VoidPtrTy),
3127 IncrScratchpadDest ? DestBase.getPointer() : SrcBase.getPointer();
3127 IncrScratchpadDest ? DestBase.getPointer() : SrcBase.getPointer();
3296 ElemPtr = Address(Bld.CreateGEP(ElemPtr.getPointer(), Cnt),
3361 TargetElemPtr = Address(Bld.CreateGEP(TargetElemPtr.getPointer(), Cnt),
3578 LocalReduceList.getPointer(), CGF.VoidPtrTy);
3580 RemoteReduceList.getPointer(), CGF.VoidPtrTy);
3805 CGF.EmitCastToVoidPtr(ReductionList.getPointer());
4005 CGF.EmitCastToVoidPtr(ReductionList.getPointer());
4326 ReductionList.getPointer(), CGF.VoidPtrTy);
4581 Args.emplace_back(CGF.GetAddrOfLocalVar(&WrapperArg).getPointer());
4582 Args.emplace_back(ZeroAddr.getPointer());
4591 llvm::Value *GlobalArgsPtr = GlobalArgs.getPointer();
4892 CGF.EmitStoreOfScalar(VDAddr.getPointer(), VarLVal);
tools/clang/lib/CodeGen/CGStmtOpenMP.cpp 312 DstAddr.getPointer(), Ctx.getPointerType(Ctx.getUIntPtrType()),
326 CapturedVars.push_back(EmitLValue(*I).getAddress().getPointer());
337 AddrLV.getAddress().getPointer(), Ctx.getUIntPtrType(),
531 {Var, Address(ArgAddr.getPointer(), Ctx.getDeclAlign(Var))}});
650 llvm::Value *SrcBegin = SrcAddr.getPointer();
651 llvm::Value *DestBegin = DestAddr.getPointer();
944 Builder.CreatePtrToInt(MasterAddr.getPointer(), CGM.IntPtrTy),
945 Builder.CreatePtrToInt(PrivateAddr.getPointer(),
3003 CallArgs.push_back(PrivatePtr.getPointer());
3011 CallArgs.push_back(PrivatePtr.getPointer());
3019 CallArgs.push_back(PrivatePtr.getPointer());
3058 Replacement.getPointer(), CGF.getContext().VoidPtrTy,
3110 Replacement.getPointer(), CGF.getContext().VoidPtrTy,
3242 CallArgs.push_back(PrivatePtr.getPointer());
tools/clang/lib/CodeGen/CGVTables.cpp 205 I.getOperand(0) == ThisPtr.getPointer();
tools/clang/lib/CodeGen/CGValue.h 108 ER.V1.setPointer(addr.getPointer());
329 V = address.getPointer();
373 assert(address.getPointer()->getType()->isPointerTy());
374 R.V = address.getPointer();
384 R.V = vecAddress.getPointer();
396 R.V = vecAddress.getPointer();
414 R.V = Addr.getPointer();
424 R.V = Reg.getPointer();
523 AV.Addr = addr.getPointer();
tools/clang/lib/CodeGen/CodeGenFunction.cpp 427 cast<llvm::AllocaInst>(NormalCleanupDest.getPointer()), DT);
457 auto *RetAlloca = dyn_cast<llvm::AllocaInst>(ReturnValue.getPointer());
913 ReturnValue.getPointer(), Int8PtrTy),
966 CXXThisValue = ThisFieldLValue.getAddress().getPointer();
1586 Builder.CreateInBoundsGEP(begin.getPointer(), sizeInChars, "vla.end");
1597 cur->addIncoming(begin.getPointer(), originBB);
1793 addr = Address(Builder.CreateInBoundsGEP(addr.getPointer(),
2099 llvm::Value *V = Addr.getPointer();
tools/clang/lib/CodeGen/CodeGenFunction.h 180 return DominatingLLVMValue::needsSaving(value.getPointer());
183 return { DominatingLLVMValue::save(CGF, value.getPointer()),
509 : Addr(addr.getPointer()), Size(size) {}
855 CGF.Builder.CreateStore(TempAddr.getPointer(), Temp);
1036 auto store = new llvm::StoreInst(value, addr.getPointer(), &block->back());
1438 CGF.CXXThisValue = CGF.CXXDefaultInitExprThis.getPointer();
2787 return ParamValue(addr.getPointer(), addr.getAlignment().getQuantity());
4383 return saved_type(alloca.getPointer(), true);
tools/clang/lib/CodeGen/CodeGenModule.cpp 5633 llvm::Value *Addr = I.second.getPointer();
tools/clang/lib/CodeGen/ItaniumCXXABI.cpp 605 llvm::Value *This = ThisAddr.getPointer();
798 Builder.CreateInBoundsGEP(Base.getPointer(), MemPtr, "memptr.offset");
1193 CGF.Builder.CreateBitCast(Ptr.getPointer(), CGF.Int8PtrTy);
1418 llvm::Value *Value = ThisAddr.getPointer();
1463 llvm::Value *Value = ThisAddr.getPointer();
1629 CGF.EmitCXXDestructorCall(GD, Callee, This.getPointer(), ThisTy, VTT, VTTTy,
1838 CGF.EmitCXXDestructorCall(GD, Callee, This.getPointer(), ThisTy, nullptr,
1912 return InitialPtr.getPointer();
1941 ResultPtr = CGF.Builder.CreateInBoundsGEP(V.getPointer(), Offset);
1943 ResultPtr = V.getPointer();
2031 CGF.Builder.CreateCall(F, NumElementsPtr.getPointer());
2062 return CGF.Builder.CreateCall(F, numElementsPtr.getPointer());
2347 guardAddr.getPointer());
4150 AdjustedExn = ExnPtrTmp.getPointer();
tools/clang/lib/CodeGen/MicrosoftCXXABI.cpp 883 CPI->setArgOperand(2, var.getObjectAddress(CGF).getPointer());
919 llvm::Value *Ptr = CGF.Builder.CreateInBoundsGEP(Value.getPointer(), Offset);
955 llvm::CallBase *Typeid = emitRTtypeidCall(CGF, ThisPtr.getPointer());
979 llvm::Value *ThisPtr = This.getPointer();
1013 llvm::Value *Args[] = {Value.getPointer()};
1427 CGF.Builder.CreateInBoundsGEP(Result.getPointer(), VBaseOffset);
1596 CGF.EmitCXXDestructorCall(GD, Callee, This.getPointer(), ThisTy,
1933 RValue RV = CGF.EmitCXXDestructorCall(GD, Callee, This.getPointer(), ThisTy,
2130 return This.getPointer();
2136 V = This.getPointer();
2145 V = CGF.Builder.CreateGEP(This.getPointer(),
2182 return Ret.getPointer();
2187 llvm::Value *V = Ret.getPointer();
2418 CallInitThreadAbort(Address Guard) : Guard(Guard.getPointer()) {}
2948 Builder.CreateInBoundsGEP(This.getPointer(), VBPtrOffset, "vbptr");
3026 Phi->addIncoming(Base.getPointer(), OriginalBB);
3064 Addr = Base.getPointer();
3359 ThisPtrForCall = This.getPointer();
4287 CGF.Builder.CreateBitCast(AI.getPointer(), CGM.Int8PtrTy),
tools/clang/lib/CodeGen/TargetInfo.cpp 314 CGF.Builder.CreateStore(NextPtr.getPointer(), VAListAddr);
379 PHI->addIncoming(Addr1.getPointer(), Block1);
380 PHI->addIncoming(Addr2.getPointer(), Block2);
633 CGF.Builder.CreateVAArg(VAListAddr.getPointer(), BaseTy);
649 Val = CGF.Builder.CreateVAArg(VAListAddr.getPointer(), CGF.ConvertType(Ty));
4269 RegAddr.getPointer(), RegOffset),
4306 llvm::Value *Ptr = OverflowArea.getPointer();
4315 Builder.CreateStore(OverflowArea.getPointer(), OverflowAreaAddr);
6733 CGF.Builder.CreateGEP(OverflowArgArea.getPointer(), PaddedSizeV,
6812 CGF.Builder.CreateGEP(OverflowArgArea.getPointer(), PaddedSizeV,
8401 Builder.CreateStore(NextPtr.getPointer(), VAListAddr);
8755 Builder.CreateStore(APN.getPointer(), VAListAddr);