/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 | 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 273 return Pair.getPointer();
|
H A D | FunctionExtras.h | 175 return isa<TrivialCallback *>(CallbackAndInlineFlag.getPointer()); 179 return cast<TrivialCallback *>(CallbackAndInlineFlag.getPointer())->CallPtr; 183 return cast<NonTrivialCallbacks *>(CallbackAndInlineFlag.getPointer()); 282 if (!CallbackAndInlineFlag.getPointer()) 344 return (bool)CallbackAndInlineFlag.getPointer();
|
H A D | PointerUnion.h | 142 bool isNull() const { return !this->Val.getPointer(); } 178 this->Val.getPointer() && 235 return PointerLikeTypeTraits<To>::getFromVoidPointer(F.Val.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() 183 assert(P->getType() == Pointer.getPointer()->getType() && in replaceBasePointer() 195 return Pointer.getPointer(); in getBasePointer() [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() 204 if (!Data.getPointer()) { in replaceExternalDecls() 217 return DeclContext::lookup_result(Data.getPointer()); in getLookupResult() 280 Node->Rest = Data.getPointer(); in prependDeclNoReplace() 285 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 | 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
|
H A D | GlobalDecl.h | 96 CanonGD.Value.setPointer(Value.getPointer()->getCanonicalDecl()); in getCanonicalDecl() 103 const Decl *getDecl() const { return Value.getPointer(); } in getDecl()
|
/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/llvm/include/llvm/Support/ |
H A D | SourceMgr.h | 271 if (Range.Start.getPointer() != Other.Range.Start.getPointer()) 272 return Range.Start.getPointer() < Other.Range.Start.getPointer(); 273 if (Range.End.getPointer() != Other.Range.End.getPointer()) 274 return Range.End.getPointer() < Other.Range.End.getPointer();
|
H A D | SMLoc.h | 34 constexpr const char *getPointer() const { return Ptr; } in getPointer() function
|
/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() 211 if (isa<Function>(Key.getPointer())) in PrintLatticeKey() 212 OS << Key.getPointer()->getName(); in PrintLatticeKey() 214 OS << *Key.getPointer(); in PrintLatticeKey() 362 return Key.getPointer(); in getValueFromLatticeKey()
|
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/ |
H A D | CFG.h | 139 return static_cast<const Stmt *>(Data1.getPointer()); in getStmt() 166 return static_cast<ConstructionContext *>(Data2.getPointer()); in getConstructionContext() 212 return static_cast<ConstructionContext *>(Data2.getPointer()); in getConstructionContext() 233 return static_cast<CXXCtorInitializer*>(Data1.getPointer()); in getInitializer() 254 return static_cast<CXXNewExpr *>(Data1.getPointer()); in getAllocatorExpr() 278 return static_cast<Stmt *>(Data1.getPointer()); in getLoopStmt() 298 return static_cast<VarDecl *>(Data1.getPointer()); in getVarDecl() 302 return static_cast<Stmt *>(Data2.getPointer()); in getTriggerStmt() 325 return static_cast<Stmt*>(Data2.getPointer()); in getTriggerStmt() 330 return static_cast<VarDecl *>(Data1.getPointer()); in getVarDecl() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | DIE.h | 528 return Next.getInt() ? nullptr : Next.getPointer(); in getNext() 540 assert(N.Next.getPointer() == &N && "Expected unlinked node"); in push_back() 551 assert(N.Next.getPointer() == &N && "Expected unlinked node"); in push_front() 555 N.Next.setPointerAndInt(Last->Next.getPointer(), false); in push_front() 573 return *static_cast<T *>(Last ? Last->Next.getPointer() : nullptr); in front() 576 return *static_cast<T *>(Last ? Last->Next.getPointer() : nullptr); in front() 583 T *FirstNode = static_cast<T *>(Other.Last->Next.getPointer()); in takeNodes() 588 IterNode = static_cast<T *>(IterNode->Next.getPointer()); in takeNodes() 600 Last = Last->Next.getPointer(); in deleteNode() 606 while (cur && cur->Next.getPointer()) { in deleteNode() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/ |
H A D | MCSectionELF.h | 65 if (Group.getPointer()) in MCSectionELF() 66 Group.getPointer()->setIsSignature(); in MCSectionELF() 82 const MCSymbolELF *getGroup() const { return Group.getPointer(); } in getGroup()
|
/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/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/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/include/llvm/Analysis/ |
H A D | PtrUseVisitor.h | 75 Instruction *getAbortingInst() const { return AbortedInfo.getPointer(); } in getAbortingInst() 80 Instruction *getEscapingInst() const { return EscapedInfo.getPointer(); } in getEscapingInst() 228 U = ToVisit.UseAndIsOffsetKnown.getPointer(); in visitPtr()
|
/freebsd/contrib/llvm-project/clang/include/clang/Lex/ |
H A D | ModuleLoader.h | 57 return Storage.getInt() == Normal && Storage.getPointer(); 60 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()
|
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | SymbolManager.h | 413 static const llvm::APSInt *getPointer(const llvm::APSInt &Value) { in getPointer() function 416 static const SymExpr *getPointer(const SymExpr *Value) { return Value; } in getPointer() function 433 assert(getPointer(lhs)); in BinarySymExprImpl() 434 assert(getPointer(rhs)); in BinarySymExprImpl() 456 ID.AddPointer(getPointer(lhs)); in Profile() 458 ID.AddPointer(getPointer(rhs)); in Profile()
|
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/Support/ |
H A D | BumpVector.h | 61 delete Alloc.getPointer(); in ~BumpVectorContext() 64 llvm::BumpPtrAllocator &getAllocator() { return *Alloc.getPointer(); } in getAllocator()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Sparc/ |
H A D | SparcTargetObjectFile.cpp | 35 if (!StubSym.getPointer()) { in getTTypeGlobalReference()
|