/freebsd-12-stable/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | CFLGraph.h | 273 auto *Ptr = Inst.getOperand(0); 274 addNode(Ptr, getAttrEscaped()); 278 auto *Ptr = &Inst; 279 addNode(Ptr, getAttrUnknown()); 300 auto *Ptr = Inst.getPointerOperand(); 302 addStoreEdge(Val, Ptr); 306 auto *Ptr = Inst.getPointerOperand(); 308 addStoreEdge(Val, Ptr); 347 auto *Ptr = Inst.getPointerOperand(); 349 addLoadEdge(Ptr, Va [all...] |
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/AST/ |
H A D | DeclarationName.h | 150 /// upper bits of the Ptr field. This is only used internally. 174 /// * PtrMask must mask the low 3 bits of Ptr. 194 "The various classes that DeclarationName::Ptr can point to" 222 /// The lowest three bits of Ptr are used to express what kind of name 224 /// on the kind of name this is, the upper bits of Ptr may have one 227 /// StoredIdentifier - The name is a normal identifier, and Ptr is 231 /// selector with zero arguments, and Ptr is an IdentifierInfo 235 /// with one argument, and Ptr is an IdentifierInfo pointer 239 /// Ptr points to a CXXSpecialNameExtra. 242 /// Ptr point 254 uintptr_t Ptr = 0; member in class:clang::DeclarationName [all...] |
H A D | CommentVisitor.h | 18 template <template <typename> class Ptr, typename ImplClass, 22 #define PTR(CLASS) typename Ptr<CLASS>::type
|
H A D | DeclGroup.h | 126 static DeclGroupRef getFromOpaquePtr(void *Ptr) { argument 128 X.D = static_cast<Decl*>(Ptr);
|
/freebsd-12-stable/contrib/llvm-project/clang/utils/TableGen/ |
H A D | MveEmitter.cpp | 459 using Ptr = std::shared_ptr<Result>; 462 Ptr Predecessor; 469 using Scope = std::map<std::string, Ptr>; 493 virtual void morePrerequisites(std::vector<Ptr> &output) const {} 494 std::vector<Ptr> prerequisites() const { 495 std::vector<Ptr> ToRet; 502 void setPredecessor(Ptr p) { 602 Ptr V; 603 IntCastResult(const ScalarType *IntegerType, Ptr V) 615 void morePrerequisites(std::vector<Ptr> [all...] |
/freebsd-12-stable/contrib/llvm-project/clang/lib/Format/ |
H A D | Encoding.h | 35 const llvm::UTF8 *Ptr = reinterpret_cast<const llvm::UTF8 *>(Text.begin()); local 37 if (llvm::isLegalUTF8String(&Ptr, BufEnd))
|
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
H A D | BuildLibCalls.h | 48 /// pointer. Ptr is required to be some pointer type, and the return value has 50 Value *emitStrLen(Value *Ptr, IRBuilder<> &B, const DataLayout &DL, 54 /// pointer. Ptr is required to be some pointer type, and the return value has 56 Value *emitStrDup(Value *Ptr, IRBuilder<> &B, const TargetLibraryInfo *TLI); 59 /// pointer. Ptr is required to be some pointer type, MaxLen must be of size_t 61 Value *emitStrNLen(Value *Ptr, Value *MaxLen, IRBuilder<> &B, 65 /// pointer and character. Ptr is required to be some pointer type, and the 67 Value *emitStrChr(Value *Ptr, char C, IRBuilder<> &B, 100 /// Emit a call to the memchr function. This assumes that Ptr is a pointer, 102 Value *emitMemChr(Value *Ptr, Valu [all...] |
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Support/Windows/ |
H A D | DynamicLibrary.inc | 132 if (FARPROC Ptr = GetProcAddress(HMODULE(Handles.front()), Symbol)) 133 return (void *) uintptr_t(Ptr); 143 if (FARPROC Ptr = GetProcAddress(HMODULE(*I), Symbol)) 144 return (void *) uintptr_t(Ptr);
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | LowerAtomic.cpp | 26 Value *Ptr = CXI->getPointerOperand(); local 30 LoadInst *Orig = Builder.CreateLoad(Val->getType(), Ptr); 33 Builder.CreateStore(Res, Ptr); 45 Value *Ptr = RMWI->getPointerOperand(); local 48 LoadInst *Orig = Builder.CreateLoad(Val->getType(), Ptr); 97 Builder.CreateStore(Res, Ptr);
|
H A D | LoopVersioningLICM.cpp | 297 Value *Ptr = A.getValue(); local 299 TypeCheck = (TypeCheck && (SomePtr->getType() == Ptr->getType())); 359 Value *Ptr = Ld->getPointerOperand(); local 361 if (SE->isLoopInvariant(SE->getSCEV(Ptr), CurLoop)) 373 Value *Ptr = St->getPointerOperand(); local 375 if (SE->isLoopInvariant(SE->getSCEV(Ptr), CurLoop))
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | BoundsChecking.cpp | 52 /// \p Ptr is the pointer that will be read/written, and \p InstVal is either 57 static Value *getBoundsCheckCond(Value *Ptr, Value *InstVal, argument 62 LLVM_DEBUG(dbgs() << "Instrument " << *Ptr << " for " << Twine(NeededSize) 65 SizeOffsetEvalType SizeOffset = ObjSizeEval.compute(Ptr); 76 Type *IntTy = DL.getIntPtrType(Ptr->getType()); 92 ? ConstantInt::getFalse(Ptr->getContext()) 97 ? ConstantInt::getFalse(Ptr->getContext())
|
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | DenseMap.h | 318 bool isPointerIntoBucketsArray(const void *Ptr) const { 319 return Ptr >= getBuckets() && Ptr < getBucketsEnd(); 1174 pointer Ptr = nullptr; 1182 : DebugEpochBase::HandleBase(&Epoch), Ptr(Pos), End(E) { 1200 : DebugEpochBase::HandleBase(I), Ptr(I.Ptr), End(I.End) {} 1205 return Ptr[-1]; 1206 return *Ptr; 1211 return &(Ptr[ [all...] |
H A D | FoldingSet.h | 317 void AddPointer(const void *Ptr); 663 void *Ptr; member in class:llvm::FoldingSetBucketIteratorImpl 667 FoldingSetBucketIteratorImpl(void **Bucket, bool) : Ptr(Bucket) {} 670 void *Probe = static_cast<FoldingSetNode*>(Ptr)->getNextInBucket(); 672 Ptr = reinterpret_cast<void*>(x); 677 return Ptr == RHS.Ptr; 680 return Ptr != RHS.Ptr; 693 T &operator*() const { return *static_cast<T*>(Ptr); } [all...] |
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | LoopAccessAnalysis.h | 185 Value *Ptr = SI->getPointerOperand(); local 186 Accesses[MemAccessInfo(Ptr, true)].push_back(AccessIdx); 194 Value *Ptr = LI->getPointerOperand(); local 195 Accesses[MemAccessInfo(Ptr, false)].push_back(AccessIdx); 253 /// Find the set of instructions that read or write via \p Ptr. 254 SmallVector<Instruction *, 4> getInstructionsForAccess(Value *Ptr, 377 void insert(Loop *Lp, Value *Ptr, bool WritePtr, unsigned DepSetId, 578 /// Return the list of instructions that use \p Ptr to read or write 580 SmallVector<Instruction *, 4> getInstructionsForAccess(Value *Ptr, argument 582 return DepChecker->getInstructionsForAccess(Ptr, isWrit [all...] |
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/cfi/ |
H A D | cfi.cpp | 341 ALWAYS_INLINE void CfiSlowPathCommon(u64 CallSiteTypeId, void *Ptr, argument 343 uptr Addr = (uptr)Ptr; 344 VReport(3, "__cfi_slowpath: %llx, %p\n", CallSiteTypeId, Ptr); 347 VReport(1, "CFI: invalid memory region for a check target: %p\n", Ptr); 358 VReport(2, "CFI: unchecked call (shadow=FFFF): %p\n", Ptr); 363 cfi_check(CallSiteTypeId, Ptr, DiagData); 402 __cfi_slowpath(u64 CallSiteTypeId, void *Ptr) { argument 403 CfiSlowPathCommon(CallSiteTypeId, Ptr, nullptr); 408 __cfi_slowpath_diag(u64 CallSiteTypeId, void *Ptr, void *DiagData) { argument 409 CfiSlowPathCommon(CallSiteTypeId, Ptr, DiagDat [all...] |
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | CFG.h | 41 template <class Ptr, class USE_iterator> // Predecessor Iterator 43 Ptr, ptrdiff_t, Ptr*, Ptr*> { 45 std::iterator<std::forward_iterator_tag, Ptr, ptrdiff_t, Ptr*, Ptr*>; 46 using Self = PredIterator<Ptr, USE_iterator>; 65 explicit inline PredIterator(Ptr *bb) : It(bb->user_begin()) { 68 inline PredIterator(Ptr *b [all...] |
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | OnDiskHashTable.h | 445 const unsigned char *Ptr; member in class:llvm::OnDiskIterableChainedHashTable::iterator_base 452 iterator_base(const unsigned char *const Ptr, offset_type NumEntries) argument 453 : Ptr(Ptr), NumItemsInBucketLeft(0), NumEntriesLeft(NumEntries) {} 455 : Ptr(nullptr), NumItemsInBucketLeft(0), NumEntriesLeft(0) {} 471 endian::readNext<uint16_t, little, unaligned>(Ptr); 473 Ptr += sizeof(hash_value_type); // Skip the hash. 476 Info::ReadKeyDataLength(Ptr); 477 Ptr += L.first + L.second; 487 return Ptr 507 key_iterator(const unsigned char *const Ptr, offset_type NumEntries, Info *InfoObj) argument 553 data_iterator(const unsigned char *const Ptr, offset_type NumEntries, Info *InfoObj) argument [all...] |
H A D | TrailingObjects.h | 164 auto *Ptr = TopTrailingObj::getTrailingObjectsImpl( 171 alignAddr(Ptr, Align::Of<NextTy>())); 173 return reinterpret_cast<const NextTy *>(Ptr); 179 auto *Ptr = TopTrailingObj::getTrailingObjectsImpl( 185 return reinterpret_cast<NextTy *>(alignAddr(Ptr, Align::Of<NextTy>())); 187 return reinterpret_cast<NextTy *>(Ptr);
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/ |
H A D | Speculation.cpp | 40 void Speculator::speculateForEntryPoint(Speculator *Ptr, uint64_t StubId) { argument 41 assert(Ptr && " Null Address Received in orc_speculate_for "); 42 Ptr->speculateFor(StubId);
|
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_ring_buffer.h | 26 void *Ptr = MmapOrDie(SizeInBytes(Size), "RingBuffer"); local 27 RingBuffer *RB = reinterpret_cast<RingBuffer*>(Ptr); 28 uptr End = reinterpret_cast<uptr>(Ptr) + SizeInBytes(Size);
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Support/ |
H A D | MD5.cpp | 192 const uint8_t *Ptr = Data.data(); local 206 memcpy(&buffer[used], Ptr, Size); 210 memcpy(&buffer[used], Ptr, free); 211 Ptr = Ptr + free; 217 Ptr = body(makeArrayRef(Ptr, Size & ~(unsigned long) 0x3f)); 221 memcpy(buffer, Ptr, Size);
|
H A D | Parallel.cpp | 81 static void call(void *Ptr) { ((ThreadPoolExecutor *)Ptr)->stop(); } argument
|
H A D | SourceMgr.cpp | 72 unsigned SourceMgr::SrcBuffer::getLineNumber(const char *Ptr) const { 93 assert(Ptr >= BufStart && Ptr <= Buffer->getBufferEnd()); 94 ptrdiff_t PtrDiff = Ptr - BufStart; 131 const char *Ptr = Loc.getPointer(); local 136 LineNo = SB.getLineNumber<uint8_t>(Ptr); 138 LineNo = SB.getLineNumber<uint16_t>(Ptr); 140 LineNo = SB.getLineNumber<uint32_t>(Ptr); 142 LineNo = SB.getLineNumber<uint64_t>(Ptr); 145 size_t NewlineOffs = StringRef(BufStart, Ptr [all...] |
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64StackTagging.cpp | 225 Value *Ptr = BasePtr; local 227 Ptr = IRB.CreateConstGEP1_32(Ptr, Offset); 229 {Ptr, ConstantInt::get(IRB.getInt64Ty(), Size)}); 235 Value *Ptr = BasePtr; local 237 Ptr = IRB.CreateConstGEP1_32(Ptr, Offset); 238 IRB.CreateCall(SetTagFn, {Ptr, ConstantInt::get(IRB.getInt64Ty(), Size)}); 244 Value *Ptr = BasePtr; local 246 Ptr 407 tagAlloca(AllocaInst *AI, Instruction *InsertBefore, Value *Ptr, uint64_t Size) argument 668 Value *Ptr = IRB.CreatePointerCast(TagPCall, IRB.getInt8PtrTy()); local [all...] |
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/MIRParser/ |
H A D | MILexer.cpp | 36 const char *Ptr = nullptr; member in class:__anon4572::Cursor 43 Ptr = Str.data(); 44 End = Ptr + Str.size(); 47 bool isEOF() const { return Ptr == End; } 49 char peek(int I = 0) const { return End - Ptr <= I ? 0 : Ptr[I]; } 51 void advance(unsigned I = 1) { Ptr += I; } 53 StringRef remaining() const { return StringRef(Ptr, End - Ptr); } 56 assert(C.Ptr > [all...] |