| /freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | SmallBitVector.h | 95 BitVector *getPointer() const { in getPointer() function 160 switchToLarge(new BitVector(*RHS.getPointer())); in SmallBitVector() 169 delete getPointer(); in ~SmallBitVector() 191 return isSmall() ? getSmallSize() == 0 : getPointer()->empty(); in empty() 196 return isSmall() ? getSmallSize() : getPointer()->size(); in size() 205 return getPointer()->count(); in count() 212 return getPointer()->any(); in any() 219 return getPointer()->all(); in all() 226 return getPointer()->none(); in none() 237 return getPointer()->find_first(); in find_first() [all …]
|
| H A D | PagedVector.h | 70 delete Allocator.getPointer(); in ~PagedVector() 88 PagePtr = Allocator.getPointer()->template Allocate<T>(PageSize); 138 Allocator.getPointer()->Deallocate(Page); in resize() 158 Allocator.getPointer()->Deallocate(Page); in clear() 162 Allocator.getPointer()->Reset(); in clear()
|
| H A D | PointerIntPair.h | 94 PointerTy getPointer() const { return Info::getPointer(Value); } in getPointer() function 120 assert(Value == reinterpret_cast<intptr_t>(getPointer()) && in getAddrOfPointer() 190 static PointerT getPointer(intptr_t Value) { in getPointer() function 272 return Pair.getPointer();
|
| H A D | FunctionExtras.h | 177 return isa<TrivialCallback *>(CallbackAndInlineFlag.getPointer()); 181 return cast<TrivialCallback *>(CallbackAndInlineFlag.getPointer())->CallPtr; 185 return cast<NonTrivialCallbacks *>(CallbackAndInlineFlag.getPointer()); 284 if (!CallbackAndInlineFlag.getPointer()) 347 return (bool)CallbackAndInlineFlag.getPointer();
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | Address.h | 63 return PointerAndKnownNonNull.getPointer() != nullptr; in isValid() 66 llvm::Value *getPointer() const { in getPointer() function 68 return PointerAndKnownNonNull.getPointer(); in getPointer() 73 return llvm::cast<llvm::PointerType>(getPointer()->getType()); in getType() 89 return getPointer()->getName(); in getName() 101 return RawAddress(getPointer(), ElemTy, getAlignment(), isKnownNonNull()); in withElementType() 170 : Pointer(RawAddr.isValid() ? RawAddr.getPointer() : nullptr, in Address() 177 bool isValid() const { return Pointer.getPointer() != nullptr; } in isValid() 181 return !isSigned() ? Pointer.getPointer() : nullptr; in getPointerIfNotSigned() 188 assert(P->getType() == Pointer.getPointer()->getType() && in replaceBasePointer() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/ |
| H A D | Address.h | 68 return pointerAndKnownNonNull.getPointer() != nullptr; in isValid() 75 mlir::Value getPointer() const { in getPointer() function 77 return pointerAndKnownNonNull.getPointer(); in getPointer() 84 return getPointer(); in getBasePointer() 89 pointerAndKnownNonNull.getPointer().getType()) in getType() 92 return mlir::cast<cir::PointerType>(getPointer().getType()); in getType() 98 pointerAndKnownNonNull.getPointer().getType()) in getElementType()
|
| H A D | CIRGenValue.h | 68 return getAggregateAddress().getPointer(); in getAggregatePointer() 197 mlir::Value getPointer() const { return v; } in getPointer() function 205 return Address(getPointer(), elementType, getAlignment()); in getAddress() 222 r.v = address.getPointer(); in makeAddr() 246 r.v = vecAddress.getPointer(); in makeVectorElt() 278 r.v = addr.getPointer(); in makeBitfield() 365 mlir::Value getPointer() const { return addr.getPointer(); } in getPointer() function
|
| H A D | CIRGenExpr.cpp | 53 loc, fieldPtr, base.getPointer(), fieldName, fieldIndex); in emitAddrOfFieldStorage() 231 cgm.errorNYI(dst.getPointer().getLoc(), in emitStoreThroughLValue() 287 cgm.errorNYI(addr.getPointer().getLoc(), in emitStoreOfScalar() 296 cgm.errorNYI(addr.getPointer().getLoc(), in emitStoreOfScalar() 305 assert(addr.getPointer() && "expected pointer to exist"); in emitStoreOfScalar() 307 dyn_cast_or_null<cir::AllocaOp>(addr.getPointer().getDefiningOp()); in emitStoreOfScalar() 319 cgm.errorNYI(addr.getPointer().getLoc(), "emitStoreOfScalar nontemporal"); in emitStoreOfScalar() 338 mlir::Value dstAddr = dst.getAddress().getPointer(); in emitStoreThroughBitfieldLValue() 355 getLoc(loc), resLTy, ptr.getPointer(), ptr.getElementType(), info, in emitLoadOfBitfieldLValue() 368 loc, fieldPtr, base.getPointer(), field->getName(), index); in getAddrOfBitFieldStorage() [all …]
|
| H A D | CIRGenBuilder.h | 321 loc, ptrTy, addr.getPointer(), mlir::APInt(64, offset), assumeNotNull); in createBaseClassAddr() 333 return Address(createBitcast(loc, addr.getPointer(), ptrTy), destType, in createElementBitCast() 340 return create<cir::LoadOp>(loc, addr.getPointer(), /*isDeref=*/false, 348 return CIRBaseBuilderTy::createStore(loc, val, dst.getPointer(), align); 377 return Address{createComplexRealPtr(loc, addr.getPointer()), in createComplexRealPtr() 392 return Address{createComplexImagPtr(loc, addr.getPointer()), in createComplexImagPtr()
|
| /freebsd/contrib/llvm-project/llvm/lib/Support/ |
| H A D | SourceMgr.cpp | 75 if (Loc.getPointer() >= Buffers[i].Buffer->getBufferStart() && in FindBufferContainingLoc() 78 Loc.getPointer() <= Buffers[i].Buffer->getBufferEnd()) in FindBufferContainingLoc() 198 const char *Ptr = Loc.getPointer(); in getLineAndColumn() 292 const char *LineStart = Loc.getPointer(); in GetMessage() 299 const char *LineEnd = Loc.getPointer(); in GetMessage() 312 if (R.Start.getPointer() > LineEnd || R.End.getPointer() < LineStart) in GetMessage() 316 if (R.Start.getPointer() < LineStart) in GetMessage() 318 if (R.End.getPointer() > LineEnd) in GetMessage() 323 ColRanges.push_back(std::make_pair(R.Start.getPointer() - LineStart, in GetMessage() 324 R.End.getPointer() - LineStart)); in GetMessage() [all …]
|
| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | DeclContextInternals.h | 46 Decls List = Data.getPointer(); in erase_if() 84 if (!Data.getPointer()) in erase_if() 113 Decls List = Data.getPointer(); in MaybeDeallocList() 133 bool isNull() const { return Data.getPointer().isNull(); } in isNull() 145 return getAsListAndHasExternal().getPointer().dyn_cast<NamedDecl *>(); in getAsDecl() 149 return getAsListAndHasExternal().getPointer().dyn_cast<DeclListNode*>(); in getAsList() 203 if (!Data.getPointer()) { in replaceExternalDecls() 216 return DeclContext::lookup_result(Data.getPointer()); in getLookupResult() 279 Node->Rest = Data.getPointer(); in prependDeclNoReplace() 284 Decls D = Data.getPointer(); in dump()
|
| H A D | LambdaCapture.h | 83 return DeclAndBits.getPointer() == nullptr && in capturesThis() 89 return isa_and_nonnull<ValueDecl>(DeclAndBits.getPointer()); in capturesVariable() 95 return DeclAndBits.getPointer() == nullptr && in capturesVLAType() 106 return static_cast<ValueDecl *>(DeclAndBits.getPointer()); in getCapturedVar()
|
| H A D | ExprConcepts.h | 328 return TypeConstraintInfo.getPointer().isNull(); in isEmpty() 333 isa<SubstitutionDiagnostic *>(TypeConstraintInfo.getPointer()); in isSubstitutionFailure() 338 isa<TemplateParameterList *>(TypeConstraintInfo.getPointer()); in isTypeConstraint() 343 return cast<SubstitutionDiagnostic *>(TypeConstraintInfo.getPointer()); in getSubstitutionDiagnostic() 350 return cast<TemplateParameterList *>(TypeConstraintInfo.getPointer()); in getTypeConstraintTemplateParameterList()
|
| H A D | VTableBuilder.h | 121 return reinterpret_cast<CXXRecordDecl *>(getPointer()); in getRTTIDecl() 128 return reinterpret_cast<CXXMethodDecl *>(getPointer()); in getFunctionDecl() 133 return reinterpret_cast<CXXDestructorDecl *>(getPointer()); in getDestructorDecl() 138 return reinterpret_cast<CXXMethodDecl *>(getPointer()); in getUnusedFunctionDecl() 218 uintptr_t getPointer() const { in getPointer() function
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | WithCache.h | 48 Known = computeKnownBits(Pointer.getPointer(), Q, 0); in calculateKnownBits() 57 [[nodiscard]] PointerType getValue() const { return Pointer.getPointer(); } in getValue() 67 operator PointerType() const { return Pointer.getPointer(); } in PointerType() 68 PointerType operator->() const { return Pointer.getPointer(); } 69 ReferenceType operator*() const { return *Pointer.getPointer(); }
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | SourceMgr.h | 272 if (Range.Start.getPointer() != Other.Range.Start.getPointer()) 273 return Range.Start.getPointer() < Other.Range.Start.getPointer(); 274 if (Range.End.getPointer() != Other.Range.End.getPointer()) 275 return Range.End.getPointer() < Other.Range.End.getPointer();
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/MC/ |
| H A D | MCSectionELF.h | 65 assert((!(Flags & ELF::SHF_GROUP) || Group.getPointer()) && in MCSectionELF() 67 if (Group.getPointer()) in MCSectionELF() 68 Group.getPointer()->setIsSignature(); in MCSectionELF() 84 const MCSymbolELF *getGroup() const { return Group.getPointer(); } in getGroup()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | CalledValuePropagation.cpp | 127 if (isa<Instruction>(Key.getPointer())) { in ComputeLatticeVal() 129 } else if (auto *A = dyn_cast<Argument>(Key.getPointer())) { in ComputeLatticeVal() 132 } else if (auto *C = dyn_cast<Constant>(Key.getPointer())) { in ComputeLatticeVal() 138 if (auto *GV = dyn_cast<GlobalVariable>(Key.getPointer())) { in ComputeLatticeVal() 141 } else if (auto *F = cast<Function>(Key.getPointer())) in ComputeLatticeVal() 212 if (isa<Function>(Key.getPointer())) in PrintLatticeKey() 213 OS << Key.getPointer()->getName(); in PrintLatticeKey() 215 OS << *Key.getPointer(); in PrintLatticeKey() 367 return Key.getPointer(); in getValueFromLatticeKey()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Analysis/ |
| H A D | CFG.h | 140 return static_cast<const Stmt *>(Data1.getPointer()); in getStmt() 167 return static_cast<ConstructionContext *>(Data2.getPointer()); in getConstructionContext() 213 return static_cast<ConstructionContext *>(Data2.getPointer()); in getConstructionContext() 234 return static_cast<CXXCtorInitializer*>(Data1.getPointer()); in getInitializer() 255 return static_cast<CXXNewExpr *>(Data1.getPointer()); in getAllocatorExpr() 279 return static_cast<Stmt *>(Data1.getPointer()); in getLoopStmt() 299 return static_cast<VarDecl *>(Data1.getPointer()); in getVarDecl() 303 return static_cast<Stmt *>(Data2.getPointer()); in getTriggerStmt() 326 return static_cast<Stmt*>(Data2.getPointer()); in getTriggerStmt() 331 return static_cast<VarDecl *>(Data1.getPointer()); in getVarDecl() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | DIE.h | 537 return Next.getInt() ? nullptr : Next.getPointer(); in getNext() 549 assert(N.Next.getPointer() == &N && "Expected unlinked node"); in push_back() 560 assert(N.Next.getPointer() == &N && "Expected unlinked node"); in push_front() 564 N.Next.setPointerAndInt(Last->Next.getPointer(), false); in push_front() 582 return *static_cast<T *>(Last ? Last->Next.getPointer() : nullptr); in front() 585 return *static_cast<T *>(Last ? Last->Next.getPointer() : nullptr); in front() 592 T *FirstNode = static_cast<T *>(Other.Last->Next.getPointer()); in takeNodes() 597 IterNode = static_cast<T *>(IterNode->Next.getPointer()); in takeNodes() 609 Last = Last->Next.getPointer(); in deleteNode() 615 while (cur && cur->Next.getPointer()) { in deleteNode() [all …]
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-mca/ |
| H A D | CodeRegion.cpp | 20 if (RangeEnd.isValid() && Loc.getPointer() > RangeEnd.getPointer()) in isLocInRange() 22 if (RangeStart.isValid() && Loc.getPointer() < RangeStart.getPointer()) in isLocInRange()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | ObjCMethodList.h | 45 ObjCMethodList *getNext() const { return NextAndExtraBits.getPointer(); } in getNext() 51 return MethodAndHasMoreThanOneDecl.getPointer(); in getMethod()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | GlobalsModRef.cpp | 103 delete Info.getPointer(); in ~FunctionInfo() 110 if (const auto *ArgPtr = Arg.Info.getPointer()) in FunctionInfo() 114 : Info(Arg.Info.getPointer(), Arg.Info.getInt()) { in FunctionInfo() 118 delete Info.getPointer(); in operator =() 120 if (const auto *RHSPtr = RHS.Info.getPointer()) in operator =() 125 delete Info.getPointer(); in operator =() 126 Info.setPointerAndInt(RHS.Info.getPointer(), RHS.Info.getInt()); in operator =() 159 if (AlignedMap *P = Info.getPointer()) { in getModRefInfoForGlobal() 175 if (AlignedMap *P = FI.Info.getPointer()) in addFunctionInfo() 181 AlignedMap *P = Info.getPointer(); in addModRefInfoForGlobal() [all …]
|
| /freebsd/contrib/llvm-project/clang/include/clang/Lex/ |
| H A D | ModuleLoader.h | 58 return Storage.getInt() == Normal && Storage.getPointer(); 61 operator Module *() const { return Storage.getPointer(); }
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | CodeMoverUtils.cpp | 44 OS << "[" << *C.getPointer() << ", " << (C.getInt() ? "true" : "false") in operator <<() 198 if (isEquivalent(*C1.getPointer(), *C2.getPointer())) in isEquivalent() 200 } else if (isInverse(*C1.getPointer(), *C2.getPointer())) in isEquivalent()
|