Searched refs:Ptr (Results 126 - 150 of 419) sorted by relevance

1234567891011>>

/freebsd-12-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGAtomic.cpp358 Address Dest, Address Ptr,
369 Ptr.getPointer(), Expected, Desired, SuccessOrder, FailureOrder,
408 bool IsWeak, Address Dest, Address Ptr,
440 emitAtomicCmpXchg(CGF, E, IsWeak, Dest, Ptr, Val1, Val2, Size, SuccessOrder,
465 emitAtomicCmpXchg(CGF, E, IsWeak, Dest, Ptr, Val1, Val2,
471 emitAtomicCmpXchg(CGF, E, IsWeak, Dest, Ptr, Val1, Val2,
481 emitAtomicCmpXchg(CGF, E, IsWeak, Dest, Ptr, Val1, Val2, Size, SuccessOrder,
514 Address Ptr, Address Val1, Address Val2,
529 emitAtomicCmpXchgFailureSet(CGF, E, false, Dest, Ptr, Val1, Val2,
534 emitAtomicCmpXchgFailureSet(CGF, E, true, Dest, Ptr, Val
357 emitAtomicCmpXchg(CodeGenFunction &CGF, AtomicExpr *E, bool IsWeak, Address Dest, Address Ptr, Address Val1, Address Val2, uint64_t Size, llvm::AtomicOrdering SuccessOrder, llvm::AtomicOrdering FailureOrder, llvm::SyncScope::ID Scope) argument
407 emitAtomicCmpXchgFailureSet(CodeGenFunction &CGF, AtomicExpr *E, bool IsWeak, Address Dest, Address Ptr, Address Val1, Address Val2, llvm::Value *FailureOrderVal, uint64_t Size, llvm::AtomicOrdering SuccessOrder, llvm::SyncScope::ID Scope) argument
513 EmitAtomicOp(CodeGenFunction &CGF, AtomicExpr *E, Address Dest, Address Ptr, Address Val1, Address Val2, llvm::Value *IsWeak, llvm::Value *FailureOrder, uint64_t Size, llvm::AtomicOrdering Order, llvm::SyncScope::ID Scope) argument
699 EmitAtomicOp(CodeGenFunction &CGF, AtomicExpr *Expr, Address Dest, Address Ptr, Address Val1, Address Val2, llvm::Value *IsWeak, llvm::Value *FailureOrder, uint64_t Size, llvm::AtomicOrdering Order, llvm::Value *Scope) argument
769 Address Ptr = Address(CGF.Builder.CreateBitCast(Val, IPtrTy), Align); local
792 Address Ptr = EmitPointerWithAlignment(E->getPtr()); local
1751 Address Ptr = Atomics.materializeRValue(OldRVal); local
[all...]
H A DCGExprCXX.cpp1403 ValueTy Ptr; member in class:__anon2860::final
1417 const FunctionDecl *OperatorDelete, ValueTy Ptr,
1422 OperatorDelete(OperatorDelete), Ptr(Ptr), AllocSize(AllocSize),
1436 DeleteArgs.add(Traits::get(CGF, Ptr), FPT->getParamType(0));
1767 llvm::Value *Ptr, QualType DeleteTy,
1781 llvm::Value *DeletePtr = Builder.CreateBitCast(Ptr, ConvertType(ArgTy));
1831 llvm::Value *Ptr; member in struct:__anon2861::final
1835 CallObjectDelete(llvm::Value *Ptr, argument
1838 : Ptr(Pt
1416 CallDeleteDuringNew(size_t NumPlacementArgs, const FunctionDecl *OperatorDelete, ValueTy Ptr, ValueTy AllocSize, bool PassAlignmentToPlacementDelete, CharUnits AllocAlign) argument
1766 EmitDeleteCall(const FunctionDecl *DeleteFD, llvm::Value *Ptr, QualType DeleteTy, llvm::Value *NumElements, CharUnits CookieSize) argument
1858 EmitDestroyingObjectDelete(CodeGenFunction &CGF, const CXXDeleteExpr *DE, Address Ptr, QualType ElementType) argument
1870 EmitObjectDelete(CodeGenFunction &CGF, const CXXDeleteExpr *DE, Address Ptr, QualType ElementType) argument
1961 llvm::Value *Ptr; member in struct:__anon2862::final
1967 CallArrayDelete(llvm::Value *Ptr, const FunctionDecl *OperatorDelete, llvm::Value *NumElements, QualType ElementType, CharUnits CookieSize) argument
2029 Address Ptr = EmitPointerWithAlignment(Arg); local
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetTransformInfoImpl.h105 int getGEPCost(Type *PointeeType, const Value *Ptr, argument
476 unsigned getGatherScatterOpCost(unsigned Opcode, Type *DataTy, Value *Ptr, argument
677 bool isStridedAccess(const SCEV *Ptr) { argument
678 return Ptr && isa<SCEVAddRecExpr>(Ptr);
682 const SCEV *Ptr) {
683 if (!isStridedAccess(Ptr))
685 const SCEVAddRecExpr *AddRec = cast<SCEVAddRecExpr>(Ptr);
689 bool isConstantStridedAccessLessThan(ScalarEvolution *SE, const SCEV *Ptr, argument
691 const SCEVConstant *Step = getConstantStrideStep(SE, Ptr);
681 getConstantStrideStep(ScalarEvolution *SE, const SCEV *Ptr) argument
747 getGEPCost(Type *PointeeType, const Value *Ptr, ArrayRef<const Value *> Operands) argument
[all...]
H A DLoads.h134 /// \param Ptr The pointer we want the load and store to originate from.
150 Value *FindAvailablePtrLoadStore(Value *Ptr, Type *AccessTy, bool AtLeastAtomic,
H A DValueTracking.h250 inline Value *GetPointerBaseWithConstantOffset(Value *Ptr, int64_t &Offset, argument
253 APInt OffsetAPInt(DL.getIndexTypeSizeInBits(Ptr->getType()), 0);
255 Ptr->stripAndAccumulateConstantOffsets(DL, OffsetAPInt, AllowNonInbounds);
261 GetPointerBaseWithConstantOffset(const Value *Ptr, int64_t &Offset, argument
264 return GetPointerBaseWithConstantOffset(const_cast<Value *>(Ptr), Offset, DL,
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Support/
H A Dcircular_raw_ostream.h82 void write_impl(const char *Ptr, size_t Size) override;
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/Lex/
H A DToken.h209 void setRawIdentifierData(const char *Ptr) { argument
211 PtrData = const_cast<char*>(Ptr);
221 void setLiteralData(const char *Ptr) { argument
223 PtrData = const_cast<char*>(Ptr);
/freebsd-12-stable/contrib/gcclibs/libcpp/
H A Dsystem.h140 # define fread(Ptr, Size, N, Stream) fread_unlocked (Ptr, Size, N, Stream)
147 # define fwrite(Ptr, Size, N, Stream) fwrite_unlocked (Ptr, Size, N, Stream)
/freebsd-12-stable/contrib/libstdc++/include/ext/pb_ds/detail/ov_tree_map_/
H A Dnode_iterators.hpp91 template<typename Ptr>
92 inline static Ptr
93 mid_pointer(Ptr p_begin, Ptr p_end)
/freebsd-12-stable/usr.bin/truss/
H A Dsyscalls.c90 .args = { { Int, 0 }, { Acltype, 1 }, { Ptr, 2 } } },
92 .args = { { Name, 0 }, { Acltype, 1 }, { Ptr, 2 } } },
94 .args = { { Name, 0 }, { Acltype, 1 }, { Ptr, 2 } } },
102 .args = { { Int, 0 }, { Acltype, 1 }, { Ptr, 2 } } },
104 .args = { { Name, 0 }, { Acltype, 1 }, { Ptr, 2 } } },
106 .args = { { Name, 0 }, { Acltype, 1 }, { Ptr, 2 } } },
108 .args = { { Int, 0 }, { Acltype, 1 }, { Ptr, 2 } } },
110 .args = { { Name, 0 }, { Acltype, 1 }, { Ptr, 2 } } },
112 .args = { { Name, 0 }, { Acltype, 1 }, { Ptr, 2 } } },
118 .args = { { Ptr,
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DLoads.cpp201 Value *Ptr = LI->getPointerOperand(); local
203 APInt EltSize(DL.getIndexTypeSizeInBits(Ptr->getType()),
212 if (L->isLoopInvariant(Ptr))
213 return isDereferenceableAndAlignedPointer(Ptr, Alignment, EltSize, DL,
218 auto *AddRec = dyn_cast<SCEVAddRecExpr>(SE.getSCEV(Ptr));
376 Value *llvm::FindAvailablePtrLoadStore(Value *Ptr, Type *AccessTy, argument
386 Value *StrippedPtr = Ptr->stripPointerCasts();
406 // If this is a load of Ptr, the loaded value is available.
429 // If this is a store through Ptr, the value is available!
464 // If this is some other instruction that may clobber Ptr, bai
[all...]
H A DVectorUtils.cpp153 Value *llvm::stripGetElementPtr(Value *Ptr, ScalarEvolution *SE, Loop *Lp) { argument
154 GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(Ptr);
156 return Ptr;
165 return Ptr;
170 Value *llvm::getUniqueCastUse(Value *Ptr, Loop *Lp, Type *Ty) { argument
172 for (User *U : Ptr->users()) {
186 Value *llvm::getStrideFromPointer(Value *Ptr, ScalarEvolution *SE, Loop *Lp) { argument
187 auto *PtrTy = dyn_cast<PointerType>(Ptr->getType());
192 // point) easier analyzable. If OrigPtr is equal to Ptr we are analyzing the
194 Value *OrigPtr = Ptr;
824 Value *Ptr = getLoadStorePointerOperand(&I); local
[all...]
H A DMemoryDependenceAnalysis.cpp113 /// with the details, otherwise set Loc.Ptr to null.
205 if (Loc.Ptr) {
391 const Value *Ptr = LoadOperandsQueue.pop_back_val(); local
392 assert(Ptr && !isa<GlobalValue>(Ptr) &&
395 for (const Use &Us : Ptr->uses()) {
400 // Bitcast or gep with zeros are using Ptr. Add to queue to check it's
401 // users. U = bitcast Ptr
668 const Value *AccessPtr = GetUnderlyingObject(MemLoc.Ptr, DL);
748 if (MemLoc.Ptr) {
1526 invalidateCachedPointerInfo(Value *Ptr) argument
[all...]
/freebsd-12-stable/contrib/llvm-project/clang/lib/Serialization/
H A DMultiOnDiskHashTable.h200 storage_type Ptr = Data;
202 uint32_t BucketOffset = endian::readNext<uint32_t, little, unaligned>(Ptr);
205 uint32_t NumFiles = endian::readNext<uint32_t, little, unaligned>(Ptr);
211 OverriddenFiles.push_back(InfoObj.ReadFileRef(Ptr));
223 Buckets, Ptr, Data, std::move(InfoObj));
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/AST/
H A DTemplateName.h198 explicit TemplateName(void *Ptr);
335 static TemplateName getFromVoidPointer(void *Ptr) { argument
336 return TemplateName(Ptr);
557 static inline clang::TemplateName getFromVoidPointer(void *Ptr) { argument
558 return clang::TemplateName::getFromVoidPointer(Ptr);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp457 Value *Ptr = LI.getPointerOperand(); local
460 if (!(match(Ptr, m_BitCast(m_Value(NewPtr))) &&
463 NewPtr = Builder.CreateBitCast(Ptr, NewTy->getPointerTo(AS));
486 Value *Ptr = SI.getPointerOperand(); local
492 V, IC.Builder.CreateBitCast(Ptr, V->getType()->getPointerTo(AS)),
691 auto *Ptr = IC.Builder.CreateInBoundsGEP(ST, Addr, makeArrayRef(Indices), local
694 auto *L = IC.Builder.CreateAlignedLoad(ST->getElementType(i), Ptr,
743 auto *Ptr = IC.Builder.CreateInBoundsGEP(AT, Addr, makeArrayRef(Indices), local
746 AT->getElementType(), Ptr, MinAlign(Align, Offset), Name + ".unpack");
917 static Instruction *replaceGEPIdxWithZero(InstCombiner &IC, Value *Ptr, argument
1224 auto *Ptr = IC.Builder.CreateInBoundsGEP(ST, Addr, makeArrayRef(Indices), local
1274 auto *Ptr = IC.Builder.CreateInBoundsGEP(AT, Addr, makeArrayRef(Indices), local
1373 Value *Ptr = SI.getOperand(1); local
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstructions.h179 LoadInst(Type *Ty, Value *Ptr, const Twine &NameStr = "",
181 LoadInst(Type *Ty, Value *Ptr, const Twine &NameStr, BasicBlock *InsertAtEnd);
182 LoadInst(Type *Ty, Value *Ptr, const Twine &NameStr, bool isVolatile,
184 LoadInst(Type *Ty, Value *Ptr, const Twine &NameStr, bool isVolatile,
186 LoadInst(Type *Ty, Value *Ptr, const Twine &NameStr, bool isVolatile,
188 LoadInst(Type *Ty, Value *Ptr, const Twine &NameStr, bool isVolatile,
190 LoadInst(Type *Ty, Value *Ptr, const Twine &NameStr, bool isVolatile,
194 LoadInst(Type *Ty, Value *Ptr, const Twine &NameStr, bool isVolatile,
199 explicit LoadInst(Value *Ptr, const Twine &NameStr = "", argument
201 : LoadInst(Ptr
203 LoadInst(Value *Ptr, const Twine &NameStr, BasicBlock *InsertAtEnd) argument
206 LoadInst(Value *Ptr, const Twine &NameStr, bool isVolatile, Instruction *InsertBefore = nullptr) argument
210 LoadInst(Value *Ptr, const Twine &NameStr, bool isVolatile, BasicBlock *InsertAtEnd) argument
214 LoadInst(Value *Ptr, const Twine &NameStr, bool isVolatile, MaybeAlign Align, Instruction *InsertBefore = nullptr) argument
218 LoadInst(Value *Ptr, const Twine &NameStr, bool isVolatile, MaybeAlign Align, BasicBlock *InsertAtEnd) argument
222 LoadInst(Value *Ptr, const Twine &NameStr, bool isVolatile, MaybeAlign Align, AtomicOrdering Order, SyncScope::ID SSID = SyncScope::System, Instruction *InsertBefore = nullptr) argument
227 LoadInst(Value *Ptr, const Twine &NameStr, bool isVolatile, MaybeAlign Align, AtomicOrdering Order, SyncScope::ID SSID, BasicBlock *InsertAtEnd) argument
918 Create(Type *PointeeType, Value *Ptr, ArrayRef<Value *> IdxList, const Twine &NameStr = �, Instruction *InsertBefore = nullptr) argument
934 Create(Type *PointeeType, Value *Ptr, ArrayRef<Value *> IdxList, const Twine &NameStr, BasicBlock *InsertAtEnd) argument
952 CreateInBounds(Value *Ptr, ArrayRef<Value *> IdxList, const Twine &NameStr = �, Instruction *InsertBefore = nullptr) argument
960 CreateInBounds(Type *PointeeType, Value *Ptr, ArrayRef<Value *> IdxList, const Twine &NameStr = �, Instruction *InsertBefore = nullptr) argument
969 CreateInBounds(Value *Ptr, ArrayRef<Value *> IdxList, const Twine &NameStr, BasicBlock *InsertAtEnd) argument
976 CreateInBounds(Type *PointeeType, Value *Ptr, ArrayRef<Value *> IdxList, const Twine &NameStr, BasicBlock *InsertAtEnd) argument
1053 getGEPReturnType(Type *ElTy, Value *Ptr, ArrayRef<Value *> IdxList) argument
1120 GetElementPtrInst(Type *PointeeType, Value *Ptr, ArrayRef<Value *> IdxList, unsigned Values, const Twine &NameStr, Instruction *InsertBefore) argument
1134 GetElementPtrInst(Type *PointeeType, Value *Ptr, ArrayRef<Value *> IdxList, unsigned Values, const Twine &NameStr, BasicBlock *InsertAtEnd) argument
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DTypeDumpVisitor.cpp361 Error TypeDumpVisitor::visitKnownRecord(CVType &CVR, PointerRecord &Ptr) { argument
362 printTypeIndex("PointeeType", Ptr.getReferentType());
363 W->printEnum("PtrType", unsigned(Ptr.getPointerKind()),
365 W->printEnum("PtrMode", unsigned(Ptr.getMode()), makeArrayRef(PtrModeNames));
367 W->printNumber("IsFlat", Ptr.isFlat());
368 W->printNumber("IsConst", Ptr.isConst());
369 W->printNumber("IsVolatile", Ptr.isVolatile());
370 W->printNumber("IsUnaligned", Ptr.isUnaligned());
371 W->printNumber("IsRestrict", Ptr.isRestrict());
372 W->printNumber("IsThisPtr&", Ptr
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp1023 GenericValue *Ptr, Type *Ty) {
1031 StoreIntToMemory(Val.IntVal, (uint8_t*)Ptr, StoreBytes);
1034 *((float*)Ptr) = Val.FloatVal;
1037 *((double*)Ptr) = Val.DoubleVal;
1040 memcpy(Ptr, Val.IntVal.getRawData(), 10);
1045 memset(&(Ptr->PointerVal), 0, StoreBytes);
1047 *((PointerTy*)Ptr) = Val.PointerVal;
1052 *(((double*)Ptr)+i) = Val.AggregateVal[i].DoubleVal;
1054 *(((float*)Ptr)+i) = Val.AggregateVal[i].FloatVal;
1058 (uint8_t*)Ptr
1022 StoreValueToMemory(const GenericValue &Val, GenericValue *Ptr, Type *Ty) argument
1071 LoadValueFromMemory(GenericValue &Result, GenericValue *Ptr, Type *Ty) argument
1263 void *Ptr = getPointerToGlobalIfAvailable(CGV); local
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/tools/llvm-objcopy/MachO/
H A DMachOReader.cpp66 auto End = LoadCmd.Ptr + LoadCmd.C.cmdsize;
68 reinterpret_cast<const SectionType *>(LoadCmd.Ptr + sizeof(SegmentType));
145 memcpy((void *)&(LC.MachOLoadCommand.LCStruct##_data), LoadCmd.Ptr, \
151 reinterpret_cast<uint8_t *>(const_cast<char *>(LoadCmd.Ptr)) + \
158 memcpy((void *)&(LC.MachOLoadCommand.load_command_data), LoadCmd.Ptr,
164 reinterpret_cast<uint8_t *>(const_cast<char *>(LoadCmd.Ptr)) +
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeTypesGeneric.cpp253 SDValue Ptr = LD->getBasePtr(); local
259 Lo = DAG.getLoad(NVT, dl, Chain, Ptr, LD->getPointerInfo(), Alignment,
264 Ptr = DAG.getMemBasePlusOffset(Ptr, IncrementSize, dl);
265 Hi = DAG.getLoad(NVT, dl, Chain, Ptr,
288 SDValue Ptr = N->getOperand(1); local
292 Lo = DAG.getVAArg(NVT, dl, Chain, Ptr, N->getOperand(2), Align);
293 Hi = DAG.getVAArg(NVT, dl, Lo.getValue(1), Ptr, N->getOperand(2), 0);
464 SDValue Ptr = St->getBasePtr(); local
477 Lo = DAG.getStore(Chain, dl, Lo, Ptr, S
[all...]
/freebsd-12-stable/contrib/llvm-project/clang/lib/Lex/
H A DLiteralSupport.cpp992 for (const char *Ptr = DigitsBegin; Ptr != SuffixBegin; ++Ptr)
993 if (!isDigitSeparator(*Ptr))
994 N = N * radix + llvm::hexDigitValue(*Ptr);
1003 const char *Ptr = DigitsBegin;
1010 while (Ptr < SuffixBegin) {
1011 if (isDigitSeparator(*Ptr)) {
1012 ++Ptr;
1016 unsigned C = llvm::hexDigitValue(*Ptr
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLowerMatrixIntrinsics.cpp560 void LowerLoad(Instruction *Inst, Value *Ptr, Value *Stride, argument
564 Value *EltPtr = createElementPtr(Ptr, VType->getElementType(), Builder);
582 Value *Ptr = Inst->getArgOperand(0); local
584 LowerLoad(Inst, Ptr, Stride,
588 void LowerStore(Instruction *Inst, Value *Matrix, Value *Ptr, Value *Stride, argument
592 Value *EltPtr = createElementPtr(Ptr, VType->getElementType(), Builder);
609 Value *Ptr = Inst->getArgOperand(1); local
611 LowerStore(Inst, Matrix, Ptr, Stride,
784 bool VisitLoad(Instruction *Inst, Value *Ptr, IRBuilder<> &Builder) { argument
789 LowerLoad(Inst, Ptr, Builde
793 VisitStore(Instruction *Inst, Value *StoredVal, Value *Ptr, IRBuilder<> &Builder) argument
[all...]
H A DDeadStoreElimination.cpp318 assert(Loc.Ptr &&
321 return const_cast<Value*>(Loc.Ptr);
372 const Value *P1 = Earlier.Ptr->stripPointerCasts();
373 const Value *P2 = Later.Ptr->stripPointerCasts();
560 if (!InstReadLoc.Ptr)
585 if (DepReadLoc.Ptr && AA.isMustAlias(InstReadLoc.Ptr, DepReadLoc.Ptr))
735 const Value *UnderlyingPointer = GetUnderlyingObject(LoadedLoc.Ptr, DL);
1026 const Value *Ptr local
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.h140 int getGatherScatterOpCost(unsigned Opcode, Type *DataTy, Value *Ptr,
143 const SCEV *Ptr);
209 int getGSVectorCost(unsigned Opcode, Type *DataTy, Value *Ptr,

Completed in 378 milliseconds

1234567891011>>