/external/llvm/include/llvm/ADT/ |
H A D | SmallBitVector.h | 89 BitVector *getPointer() const { function in class:llvm::SmallBitVector 154 switchToLarge(new BitVector(*RHS.getPointer())); 163 delete getPointer(); 168 return isSmall() ? getSmallSize() == 0 : getPointer()->empty(); 173 return isSmall() ? getSmallSize() : getPointer()->size(); 186 return getPointer()->count(); 193 return getPointer()->any(); 200 return getPointer()->all(); 207 return getPointer()->none(); 223 return getPointer() [all...] |
H A D | Optional.h | 108 const T* getPointer() const { assert(hasVal); return reinterpret_cast<const T*>(storage.buffer); } function in class:llvm::Optional 109 T* getPointer() { assert(hasVal); return reinterpret_cast<T*>(storage.buffer); } function in class:llvm::Optional 110 const T& getValue() const LLVM_LVALUE_FUNCTION { assert(hasVal); return *getPointer(); } 111 T& getValue() LLVM_LVALUE_FUNCTION { assert(hasVal); return *getPointer(); } 115 const T* operator->() const { return getPointer(); } 116 T* operator->() { return getPointer(); } 117 const T& operator*() const LLVM_LVALUE_FUNCTION { assert(hasVal); return *getPointer(); } 118 T& operator*() LLVM_LVALUE_FUNCTION { assert(hasVal); return *getPointer(); } 121 T&& getValue() && { assert(hasVal); return std::move(*getPointer()); } 122 T&& operator*() && { assert(hasVal); return std::move(*getPointer()); } [all...] |
/external/llvm/unittests/ADT/ |
H A D | PointerIntPairTest.cpp | 23 EXPECT_EQ(this, Pair.getPointer()); 27 EXPECT_EQ(this, Pair.getPointer()); 31 EXPECT_EQ(nullptr, Pair.getPointer()); 35 EXPECT_EQ(this, Pair.getPointer()); 41 EXPECT_EQ(nullptr, Pair.getPointer()); 64 EXPECT_EQ((uintptr_t)0, pair.getPointer().Value); 68 EXPECT_EQ((uintptr_t)0x7FFFFFFF, pair.getPointer().Value);
|
/external/clang/include/clang/AST/ |
H A D | LambdaCapture.h | 71 bool capturesThis() const { return DeclAndBits.getPointer() == nullptr; } 75 return dyn_cast_or_null<VarDecl>(DeclAndBits.getPointer()); 90 return cast<VarDecl>(DeclAndBits.getPointer());
|
H A D | GlobalDecl.h | 54 CanonGD.Value.setPointer(Value.getPointer()->getCanonicalDecl()); 60 const Decl *getDecl() const { return Value.getPointer(); }
|
H A D | VTTBuilder.h | 41 return BaseAndIsVirtual.getPointer();
|
/external/clang/test/Analysis/inlining/ |
H A D | path-notes.c | 29 int *getPointer(); 32 int *a = getPointer(); 44 a = getPointer();
|
H A D | false-positive-suppression.cpp | 82 extern int *getPointer(); 83 box = getPointer();
|
/external/llvm/include/llvm/IR/ |
H A D | ValueHandle.h | 70 if (isValid(VP.getPointer())) 75 if (isValid(VP.getPointer())) 79 if (isValid(VP.getPointer())) 84 if (VP.getPointer() == RHS) return RHS; 85 if (isValid(VP.getPointer())) RemoveFromUseList(); 87 if (isValid(VP.getPointer())) AddToUseList(); 92 if (VP.getPointer() == RHS.VP.getPointer()) return RHS.VP.getPointer(); 93 if (isValid(VP.getPointer())) RemoveFromUseLis [all...] |
/external/llvm/lib/Support/ |
H A D | SourceMgr.cpp | 75 if (Loc.getPointer() >= Buffers[i].Buffer->getBufferStart() && 78 Loc.getPointer() <= Buffers[i].Buffer->getBufferEnd()) 103 Cache->LastQuery <= Loc.getPointer()) { 162 const char *LineStart = Loc.getPointer(); 169 const char *LineEnd = Loc.getPointer(); 182 if (R.Start.getPointer() > LineEnd || R.End.getPointer() < LineStart) 186 if (R.Start.getPointer() < LineStart) 188 if (R.End.getPointer() > LineEnd) 193 ColRanges.push_back(std::make_pair(R.Start.getPointer() [all...] |
H A D | StreamableMemoryObject.cpp | 35 const uint8_t *getPointer(uint64_t address, uint64_t size) const override; 74 const uint8_t *RawMemoryObject::getPointer(uint64_t address, function in class:__anon25918::RawMemoryObject
|
/external/clang/include/clang/Sema/ |
H A D | ObjCMethodList.h | 33 ObjCMethodList *getNext() const { return NextAndExtraBits.getPointer(); }
|
/external/llvm/include/llvm/Support/ |
H A D | SourceMgr.h | 216 if (Range.Start.getPointer() != Other.Range.Start.getPointer()) 217 return Range.Start.getPointer() < Other.Range.Start.getPointer(); 218 if (Range.End.getPointer() != Other.Range.End.getPointer()) 219 return Range.End.getPointer() < Other.Range.End.getPointer();
|
H A D | SMLoc.h | 33 const char *getPointer() const { return Ptr; } function in class:llvm::SMLoc
|
H A D | StreamableMemoryObject.h | 34 /// Finally, getPointer can be used instead of readBytes to avoid extra copying. 78 /// getPointer - Ensures that the requested data is in memory, and returns 85 virtual const uint8_t *getPointer(uint64_t address, uint64_t size) const = 0; 114 const uint8_t *getPointer(uint64_t address, uint64_t size) const override { 119 llvm_unreachable("getPointer in streaming memory objects not allowed");
|
/external/clang/lib/Sema/ |
H A D | Scope.cpp | 116 if (VarDecl *Candidate = NRVO.getPointer()) { 126 else if (NRVO.getPointer()) 127 getParent()->addNRVOCandidate(NRVO.getPointer()); 215 else if (NRVO.getPointer()) 216 OS << "NRVO candidate : (clang::VarDecl*)" << NRVO.getPointer() << '\n';
|
/external/llvm/lib/Target/Sparc/ |
H A D | SparcTargetObjectFile.cpp | 31 if (!StubSym.getPointer()) {
|
/external/llvm/lib/IR/ |
H A D | Value.cpp | 586 assert(VP.getPointer() == Next->VP.getPointer() && "Added to wrong list?"); 602 assert(VP.getPointer() && "Null pointer doesn't have a use list!"); 604 LLVMContextImpl *pImpl = VP.getPointer()->getContext().pImpl; 606 if (VP.getPointer()->HasValueHandle) { 609 ValueHandleBase *&Entry = pImpl->ValueHandles[VP.getPointer()]; 623 ValueHandleBase *&Entry = Handles[VP.getPointer()]; 626 VP.getPointer()->HasValueHandle = true; 638 assert(I->second && I->first == I->second->VP.getPointer() && 646 assert(VP.getPointer() [all...] |
/external/clang/lib/AST/ |
H A D | DeclBase.cpp | 988 assert(NeedToReconcileExternalVisibleStorage && LookupPtr.getPointer()); 991 for (auto &Lookup : *LookupPtr.getPointer()) 1042 if (!(Map = DC->LookupPtr.getPointer())) 1058 if (!(Map = DC->LookupPtr.getPointer())) 1116 (D->NextInContextAndBits.getPointer() || D == LastDecl)); 1122 assert((D->NextInContextAndBits.getPointer() || D == LastDecl) && 1130 FirstDecl = D->NextInContextAndBits.getPointer(); 1132 for (Decl *I = FirstDecl; true; I = I->NextInContextAndBits.getPointer()) { 1134 if (I->NextInContextAndBits.getPointer() == D) { 1135 I->NextInContextAndBits.setPointer(D->NextInContextAndBits.getPointer()); [all...] |
/external/llvm/include/llvm/Analysis/ |
H A D | PtrUseVisitor.h | 70 Instruction *getAbortingInst() const { return AbortedInfo.getPointer(); } 75 Instruction *getEscapingInst() const { return EscapedInfo.getPointer(); } 219 U = ToVisit.UseAndIsOffsetKnown.getPointer();
|
H A D | MemoryDependenceAnalysis.h | 138 && Value.getPointer() == reinterpret_cast<Instruction*>(NonLocal); 145 && Value.getPointer() == reinterpret_cast<Instruction*>(NonFuncLocal); 152 && Value.getPointer() == reinterpret_cast<Instruction*>(Unknown); 159 return Value.getPointer();
|
/external/clang/include/clang/Lex/ |
H A D | ModuleLoader.h | 42 operator Module *() const { return Storage.getPointer(); }
|
H A D | ModuleMap.h | 93 Module *getModule() const { return Storage.getPointer(); } 106 return Storage.getPointer() != nullptr;
|
/external/llvm/include/llvm/Object/ |
H A D | ELF.h | 169 assert(Current.getPointer() && 171 return *reinterpret_cast<pointer>(Current.getPointer()); 175 assert(Current.getPointer() && 177 return reinterpret_cast<pointer>(Current.getPointer()); 187 assert(Current.getPointer() && 189 Current.setPointer(Current.getPointer() + EntitySize); 200 assert(Current.getPointer() && 202 Current.setPointer(Current.getPointer() + EntitySize * Dist); 215 return (Current.getPointer() - Other.Current.getPointer()) / EntitySiz [all...] |
/external/clang/include/clang/Analysis/ |
H A D | CFG.h | 120 return static_cast<const Stmt *>(Data1.getPointer()); 139 return static_cast<CXXCtorInitializer*>(Data1.getPointer()); 158 return static_cast<CXXNewExpr *>(Data1.getPointer()); 200 return static_cast<VarDecl*>(Data1.getPointer()); 205 return static_cast<Stmt*>(Data2.getPointer()); 224 return static_cast<CXXRecordDecl*>(Data1.getPointer()); 229 return static_cast<CXXDeleteExpr *>(Data2.getPointer()); 249 return static_cast<const CXXBaseSpecifier*>(Data1.getPointer()); 268 return static_cast<const FieldDecl*>(Data1.getPointer()); 287 return static_cast<const CXXBindTemporaryExpr *>(Data1.getPointer()); [all...] |