Home
last modified time | relevance | path

Searched refs:getPointer (Results 1 – 25 of 105) sorted by relevance

12345

/external/llvm/include/llvm/ADT/
DSmallBitVector.h88 BitVector *getPointer() const { in getPointer() function
153 switchToLarge(new BitVector(*RHS.getPointer())); in SmallBitVector()
164 delete getPointer(); in ~SmallBitVector()
169 return isSmall() ? getSmallSize() == 0 : getPointer()->empty(); in empty()
174 return isSmall() ? getSmallSize() : getPointer()->size(); in size()
187 return getPointer()->count(); in count()
194 return getPointer()->any(); in any()
201 return getPointer()->all(); in all()
208 return getPointer()->none(); in none()
224 return getPointer()->find_first(); in find_first()
[all …]
DOptional.h113 const T* getPointer() const { assert(hasVal); return reinterpret_cast<const T*>(storage.buffer); } in getPointer() function
114 T* getPointer() { assert(hasVal); return reinterpret_cast<T*>(storage.buffer); } in getPointer() function
115 const T& getValue() const LLVM_LVALUE_FUNCTION { assert(hasVal); return *getPointer(); } in getValue()
116 T& getValue() LLVM_LVALUE_FUNCTION { assert(hasVal); return *getPointer(); } in getValue()
120 const T* operator->() const { return getPointer(); }
121 T* operator->() { return getPointer(); }
122 const T& operator*() const LLVM_LVALUE_FUNCTION { assert(hasVal); return *getPointer(); }
123 T& operator*() LLVM_LVALUE_FUNCTION { assert(hasVal); return *getPointer(); }
126 T&& getValue() && { assert(hasVal); return std::move(*getPointer()); } in getValue()
127 T&& operator*() && { assert(hasVal); return std::move(*getPointer()); }
[all …]
/external/llvm/include/llvm/Support/
DValueHandle.h69 if (isValid(VP.getPointer())) in ValueHandleBase()
74 if (isValid(VP.getPointer())) in ValueHandleBase()
78 if (isValid(VP.getPointer())) in ~ValueHandleBase()
83 if (VP.getPointer() == RHS) return RHS;
84 if (isValid(VP.getPointer())) RemoveFromUseList();
86 if (isValid(VP.getPointer())) AddToUseList();
91 if (VP.getPointer() == RHS.VP.getPointer()) return RHS.VP.getPointer();
92 if (isValid(VP.getPointer())) RemoveFromUseList();
93 VP.setPointer(RHS.VP.getPointer());
94 if (isValid(VP.getPointer())) AddToExistingUseList(RHS.getPrevPtr());
[all …]
DSourceMgr.h195 if (Range.Start.getPointer() != Other.Range.Start.getPointer())
196 return Range.Start.getPointer() < Other.Range.Start.getPointer();
197 if (Range.End.getPointer() != Other.Range.End.getPointer())
198 return Range.End.getPointer() < Other.Range.End.getPointer();
DErrorOr.h439 if (Other.Error.getPointer()->Error) { in ErrorOr()
440 Error.getPointer()->aquire(); in ErrorOr()
474 if (Error.getPointer()) in ~ErrorOr()
475 Error.getPointer()->release(); in ~ErrorOr()
482 if (!Error.getPointer()->HasUserData) in getError()
485 Error.getPointer())->UserData; in getError()
498 : Error.getPointer()->Error; in error_code()
DStreamableMemoryObject.h87 virtual const uint8_t *getPointer(uint64_t address, uint64_t size) const = 0;
118 virtual const uint8_t *getPointer(uint64_t address, in getPointer() function
DCallSite.h80 InstrTy *getInstruction() const { return I.getPointer(); } in getInstruction()
81 InstrTy *operator->() const { return I.getPointer(); }
82 operator bool() const { return I.getPointer(); }
/external/llvm/lib/Support/
DSourceMgr.cpp78 if (Loc.getPointer() >= Buffers[i].Buffer->getBufferStart() && in FindBufferContainingLoc()
81 Loc.getPointer() <= Buffers[i].Buffer->getBufferEnd()) in FindBufferContainingLoc()
107 Cache->LastQuery <= Loc.getPointer()) { in getLineAndColumn()
171 const char *LineStart = Loc.getPointer(); in GetMessage()
178 const char *LineEnd = Loc.getPointer(); in GetMessage()
191 if (R.Start.getPointer() > LineEnd || R.End.getPointer() < LineStart) in GetMessage()
195 if (R.Start.getPointer() < LineStart) in GetMessage()
197 if (R.End.getPointer() > LineEnd) in GetMessage()
202 ColRanges.push_back(std::make_pair(R.Start.getPointer()-LineStart, in GetMessage()
203 R.End.getPointer()-LineStart)); in GetMessage()
[all …]
DStreamableMemoryObject.cpp36 virtual const uint8_t *getPointer(uint64_t address,
78 const uint8_t *RawMemoryObject::getPointer(uint64_t address, in getPointer() function in __anoneea4e9d40111::RawMemoryObject
/external/llvm/lib/IR/
DValue.cpp492 assert(VP.getPointer() == Next->VP.getPointer() && "Added to wrong list?"); in AddToExistingUseList()
508 assert(VP.getPointer() && "Null pointer doesn't have a use list!"); in AddToUseList()
510 LLVMContextImpl *pImpl = VP.getPointer()->getContext().pImpl; in AddToUseList()
512 if (VP.getPointer()->HasValueHandle) { in AddToUseList()
515 ValueHandleBase *&Entry = pImpl->ValueHandles[VP.getPointer()]; in AddToUseList()
529 ValueHandleBase *&Entry = Handles[VP.getPointer()]; in AddToUseList()
532 VP.getPointer()->HasValueHandle = true; in AddToUseList()
544 assert(I->second && I->first == I->second->VP.getPointer() && in AddToUseList()
552 assert(VP.getPointer() && VP.getPointer()->HasValueHandle && in RemoveFromUseList()
569 LLVMContextImpl *pImpl = VP.getPointer()->getContext().pImpl; in RemoveFromUseList()
[all …]
/external/clang/test/Analysis/inlining/
Dpath-notes.c29 int *getPointer();
32 int *a = getPointer(); in testInitCheck()
44 a = getPointer(); in testStoreCheck()
Dfalse-positive-suppression.cpp82 extern int *getPointer(); in testMap()
83 box = getPointer(); in testMap()
/external/clang/lib/AST/
DDeclBase.cpp939 assert(NeedToReconcileExternalVisibleStorage && LookupPtr.getPointer()); in reconcileExternalVisibleStorage()
942 StoredDeclsMap &Map = *LookupPtr.getPointer(); in reconcileExternalVisibleStorage()
997 if (!(Map = DC->LookupPtr.getPointer())) in SetNoExternalVisibleDeclsForName()
1012 if (!(Map = DC->LookupPtr.getPointer())) in SetExternalVisibleDeclsForName()
1049 assert((D->NextInContextAndBits.getPointer() || D == LastDecl) && in removeDecl()
1057 FirstDecl = D->NextInContextAndBits.getPointer(); in removeDecl()
1059 for (Decl *I = FirstDecl; true; I = I->NextInContextAndBits.getPointer()) { in removeDecl()
1061 if (I->NextInContextAndBits.getPointer() == D) { in removeDecl()
1062 I->NextInContextAndBits.setPointer(D->NextInContextAndBits.getPointer()); in removeDecl()
1079 StoredDeclsMap *Map = getPrimaryContext()->LookupPtr.getPointer(); in removeDecl()
[all …]
/external/llvm/include/llvm/MC/MCParser/
DMCParsedAsmOperand.h43 return getEndLoc().getPointer() - getStartLoc().getPointer(); in getNameLen()
47 return StringRef(getStartLoc().getPointer(), getNameLen()); in getName()
/external/clang/include/clang/AST/
DVTableBuilder.h123 return reinterpret_cast<CXXRecordDecl *>(getPointer()); in getRTTIDecl()
129 return reinterpret_cast<CXXMethodDecl *>(getPointer()); in getFunctionDecl()
136 return reinterpret_cast<CXXDestructorDecl *>(getPointer()); in getDestructorDecl()
142 return reinterpret_cast<CXXMethodDecl *>(getPointer()); in getUnusedFunctionDecl()
176 uintptr_t getPointer() const { in getPointer() function
DGlobalDecl.h53 CanonGD.Value.setPointer(Value.getPointer()->getCanonicalDecl()); in getCanonicalDecl()
59 const Decl *getDecl() const { return Value.getPointer(); } in getDecl()
/external/llvm/lib/Target/X86/
DX86AsmPrinter.cpp110 if (StubSym.getPointer() == 0) in printSymbolOperand()
117 if (StubSym.getPointer() == 0) in printSymbolOperand()
124 if (StubSym.getPointer() == 0) in printSymbolOperand()
148 if (StubSym.getPointer() == 0) { in printSymbolOperand()
154 SymToPrint = StubSym.getPointer(); in printSymbolOperand()
547 OutStreamer.EmitSymbolAttribute(Stubs[i].second.getPointer(), in EmitEndOfAsmFile()
572 OutStreamer.EmitSymbolAttribute(MCSym.getPointer(), in EmitEndOfAsmFile()
585 OutStreamer.EmitValue(MCSymbolRefExpr::Create(MCSym.getPointer(), in EmitEndOfAsmFile()
602 Create(Stubs[i].second.getPointer(), in EmitEndOfAsmFile()
697 OutStreamer.EmitSymbolValue(Stubs[i].second.getPointer(), in EmitEndOfAsmFile()
/external/llvm/include/llvm/Analysis/
DPtrUseVisitor.h70 Instruction *getAbortingInst() const { return AbortedInfo.getPointer(); } in getAbortingInst()
75 Instruction *getEscapingInst() const { return EscapedInfo.getPointer(); } in getEscapingInst()
219 U = ToVisit.UseAndIsOffsetKnown.getPointer(); in visitPtr()
DMemoryDependenceAnalysis.h139 && Value.getPointer() == reinterpret_cast<Instruction*>(NonLocal); in isNonLocal()
146 && Value.getPointer() == reinterpret_cast<Instruction*>(NonFuncLocal); in isNonFuncLocal()
153 && Value.getPointer() == reinterpret_cast<Instruction*>(Unknown); in isUnknown()
160 return Value.getPointer(); in getInst()
/external/clang/lib/Basic/
DSourceManager.cpp41 delete Buffer.getPointer(); in ~ContentCache()
47 return Buffer.getPointer() ? Buffer.getPointer()->getBufferSize() : 0; in getSizeBytesMapped()
53 assert(Buffer.getPointer()); in getMemoryBufferKind()
56 if (!Buffer.getPointer()) in getMemoryBufferKind()
59 const llvm::MemoryBuffer *buf = Buffer.getPointer(); in getMemoryBufferKind()
68 return Buffer.getPointer() ? (unsigned) Buffer.getPointer()->getBufferSize() in getSize()
74 if (B && B == Buffer.getPointer()) { in replaceBuffer()
81 delete Buffer.getPointer(); in replaceBuffer()
92 if (Buffer.getPointer() || ContentsEntry == 0) { in getBuffer()
96 return Buffer.getPointer(); in getBuffer()
[all …]
/external/clang/include/clang/Analysis/
DCFG.h111 return static_cast<const Stmt *>(Data1.getPointer()); in getStmt()
130 return static_cast<CXXCtorInitializer*>(Data1.getPointer()); in getInitializer()
172 return static_cast<VarDecl*>(Data1.getPointer()); in getVarDecl()
177 return static_cast<Stmt*>(Data2.getPointer()); in getTriggerStmt()
196 return static_cast<const CXXBaseSpecifier*>(Data1.getPointer()); in getBaseSpecifier()
215 return static_cast<const FieldDecl*>(Data1.getPointer()); in getFieldDecl()
234 return static_cast<const CXXBindTemporaryExpr *>(Data1.getPointer()); in getBindTemporaryExpr()
258 Stmt *getStmt() { return Data.getPointer(); } in getStmt()
259 const Stmt *getStmt() const { return Data.getPointer(); } in getStmt()
/external/clang/include/clang/Lex/
DModuleMap.h68 Module *getModule() const { return Storage.getPointer(); } in getModule()
80 operator bool() const { return Storage.getPointer() != 0; }
/external/clang/lib/CodeGen/
DCGValue.h55 return V1.getPointer(); in getScalarVal()
61 return std::make_pair(V1.getPointer(), V2.getPointer()); in getComplexVal()
67 return V1.getPointer(); in getAggregateAddr()
/external/clang/include/clang/Sema/
DScopeInfo.h175 const NamedDecl *getBase() const { return Base.getPointer(); } in getBase()
234 const Expr *getUseExpr() const { return Rep.getPointer(); } in getUseExpr()
381 return VarAndKind.getPointer(); in getVariable()
397 return CopyExprAndNested.getPointer(); in getCopyExpr()
/external/llvm/include/llvm/CodeGen/
DSlotIndexes.h112 return lie.getPointer();
136 assert(lie.getPointer() != 0 &&
143 return lie.getPointer();
189 return A.lie.getPointer() == B.lie.getPointer();

12345