/external/llvm/include/llvm/ADT/ |
D | SmallBitVector.h | 91 BitVector *getPointer() const { in getPointer() function 156 switchToLarge(new BitVector(*RHS.getPointer())); in SmallBitVector() 165 delete getPointer(); in ~SmallBitVector() 170 return isSmall() ? getSmallSize() == 0 : getPointer()->empty(); in empty() 175 return isSmall() ? getSmallSize() : getPointer()->size(); in size() 184 return getPointer()->count(); in count() 191 return getPointer()->any(); in any() 198 return getPointer()->all(); in all() 205 return getPointer()->none(); in none() 216 return getPointer()->find_first(); in find_first() [all …]
|
D | Optional.h | 119 const T* getPointer() const { assert(hasVal); return reinterpret_cast<const T*>(storage.buffer); } in getPointer() function 120 T* getPointer() { assert(hasVal); return reinterpret_cast<T*>(storage.buffer); } in getPointer() function 121 const T& getValue() const LLVM_LVALUE_FUNCTION { assert(hasVal); return *getPointer(); } in getValue() 122 T& getValue() LLVM_LVALUE_FUNCTION { assert(hasVal); return *getPointer(); } in getValue() 126 const T* operator->() const { return getPointer(); } 127 T* operator->() { return getPointer(); } 128 const T& operator*() const LLVM_LVALUE_FUNCTION { assert(hasVal); return *getPointer(); } 129 T& operator*() LLVM_LVALUE_FUNCTION { assert(hasVal); return *getPointer(); } 137 T&& getValue() && { assert(hasVal); return std::move(*getPointer()); } in getValue() 138 T&& operator*() && { assert(hasVal); return std::move(*getPointer()); }
|
/external/swiftshader/third_party/LLVM/include/llvm/ADT/ |
D | SmallBitVector.h | 87 BitVector *getPointer() const { in getPointer() function 152 switchToLarge(new BitVector(*RHS.getPointer())); in SmallBitVector() 157 delete getPointer(); in ~SmallBitVector() 162 return isSmall() ? getSmallSize() == 0 : getPointer()->empty(); in empty() 167 return isSmall() ? getSmallSize() : getPointer()->size(); in size() 180 return getPointer()->count(); in count() 187 return getPointer()->any(); in any() 194 return getPointer()->all(); in all() 201 return getPointer()->none(); in none() 217 return getPointer()->find_first(); in find_first() [all …]
|
D | Optional.h | 41 const T* getPointer() const { assert(hasVal); return &x; } in getPointer() function 46 const T* operator->() const { return getPointer(); } 56 return Val.getPointer();
|
/external/llvm/unittests/ADT/ |
D | PointerIntPairTest.cpp | 24 EXPECT_EQ(&s, Pair.getPointer()); in TEST() 28 EXPECT_EQ(&s, Pair.getPointer()); in TEST() 32 EXPECT_EQ(nullptr, Pair.getPointer()); in TEST() 36 EXPECT_EQ(&s, Pair.getPointer()); in TEST() 51 EXPECT_EQ(&s, Pair2.getPointer()); in TEST() 55 EXPECT_EQ(&s, Pair2.getPointer()); in TEST() 59 EXPECT_EQ(nullptr, Pair2.getPointer()); in TEST() 63 EXPECT_EQ(&s, Pair2.getPointer()); in TEST() 69 EXPECT_EQ(nullptr, Pair.getPointer()); in TEST() 91 EXPECT_EQ((uintptr_t)0, pair.getPointer().Value); in TEST() [all …]
|
/external/clang/lib/CodeGen/ |
D | CGBuilder.h | 71 return CreateAlignedLoad(Addr.getPointer(), 78 return CreateAlignedLoad(Addr.getPointer(), in CreateLoad() 84 return CreateAlignedLoad(Addr.getPointer(), 115 return CreateAlignedStore(Val, Addr.getPointer(), 162 return Address(CreateBitCast(Addr.getPointer(), Ty, Name), 178 CreatePointerBitCastOrAddrSpaceCast(Addr.getPointer(), Ty, Name); 186 Addr.getPointer(), Index, Name), 208 return Address(CreateInBoundsGEP(Addr.getPointer(), 225 return Address(CreateInBoundsGEP(Addr.getElementType(), Addr.getPointer(), 239 return Address(CreateGEP(Addr.getElementType(), Addr.getPointer(), [all …]
|
D | Address.h | 38 llvm::Value *getPointer() const { in getPointer() function 45 return llvm::cast<llvm::PointerType>(getPointer()->getType()); in getType() 63 return getPointer()->getName(); in getName() 84 llvm::Constant *getPointer() const { in getPointer() function 85 return llvm::cast<llvm::Constant>(Address::getPointer()); in getPointer() 89 return ConstantAddress(llvm::ConstantExpr::getBitCast(getPointer(), ty), in getBitCast() 98 return llvm::isa<llvm::Constant>(addr.getPointer()); in isaImpl() 101 return ConstantAddress(llvm::cast<llvm::Constant>(addr.getPointer()), in castImpl()
|
D | CGValue.h | 60 return V1.getPointer(); in getScalarVal() 66 return std::make_pair(V1.getPointer(), V2.getPointer()); in getComplexVal() 72 auto align = reinterpret_cast<uintptr_t>(V2.getPointer()) >> AggAlignShift; in getAggregateAddress() 73 return Address(V1.getPointer(), CharUnits::fromQuantity(align)); in getAggregateAddress() 77 return V1.getPointer(); in getAggregatePointer() 108 ER.V1.setPointer(addr.getPointer()); 327 llvm::Value *getPointer() const { in getPointer() function 331 Address getAddress() const { return Address(getPointer(), getAlignment()); } in getAddress() 334 V = address.getPointer(); in setAddress() 380 assert(address.getPointer()->getType()->isPointerTy()); [all …]
|
D | CGExprCXX.cpp | 190 return RValue::get(This.getPointer()); in EmitCXXMemberOrOperatorMemberCallExpr() 199 return RValue::get(This.getPointer()); in EmitCXXMemberOrOperatorMemberCallExpr() 247 EmitCXXMemberOrOperatorCall(MD, Callee, ReturnValue, This.getPointer(), in EmitCXXMemberOrOperatorMemberCallExpr() 280 return EmitCXXMemberOrOperatorCall(MD, Callee, ReturnValue, This.getPointer(), in EmitCXXMemberOrOperatorMemberCallExpr() 310 EmitTypeCheck(TCK_MemberCall, E->getExprLoc(), This.getPointer(), in EmitCXXMemberPointerCallExpr() 876 CleanupDominator = Builder.CreateStore(BeginPtr.getPointer(), EndOfInit); in EmitNewArrayInitializer() 877 pushIrregularPartialArrayCleanup(BeginPtr.getPointer(), EndOfInit, in EmitNewArrayInitializer() 890 Builder.CreateBitCast(CurPtr.getPointer(), BeginPtr.getType()); in EmitNewArrayInitializer() 898 CurPtr = Address(Builder.CreateInBoundsGEP(CurPtr.getPointer(), in EmitNewArrayInitializer() 979 Builder.CreateStore(CurPtr.getPointer(), EndOfInit); in EmitNewArrayInitializer() [all …]
|
D | CGAtomic.cpp | 143 return LVal.getPointer(); in getAtomicPointer() 346 llvm::Value *addr = LVal.getPointer(); in emitMemSetZeroIfNecessary() 368 Ptr.getPointer(), Expected, Desired, SuccessOrder, FailureOrder); in emitAtomicCmpXchg() 613 CGF.Builder.CreateAtomicRMW(Op, Ptr.getPointer(), LoadVal1, Order); in EmitAtomicOp() 836 Args.add(RValue::get(EmitCastToVoidPtr(Ptr.getPointer())), in EmitAtomicExpr() 863 Args.add(RValue::get(EmitCastToVoidPtr(Val1.getPointer())), in EmitAtomicExpr() 865 AddDirectArgument(*this, Args, UseOptimizedLibcall, Val2.getPointer(), in EmitAtomicExpr() 877 AddDirectArgument(*this, Args, UseOptimizedLibcall, Val1.getPointer(), in EmitAtomicExpr() 888 AddDirectArgument(*this, Args, UseOptimizedLibcall, Val1.getPointer(), in EmitAtomicExpr() 906 AddDirectArgument(*this, Args, UseOptimizedLibcall, Val1.getPointer(), in EmitAtomicExpr() [all …]
|
/external/llvm/lib/Support/ |
D | SourceMgr.cpp | 68 if (Loc.getPointer() >= Buffers[i].Buffer->getBufferStart() && in FindBufferContainingLoc() 71 Loc.getPointer() <= Buffers[i].Buffer->getBufferEnd()) in FindBufferContainingLoc() 96 Cache->LastQuery <= Loc.getPointer()) { in getLineAndColumn() 155 const char *LineStart = Loc.getPointer(); in GetMessage() 162 const char *LineEnd = Loc.getPointer(); in GetMessage() 175 if (R.Start.getPointer() > LineEnd || R.End.getPointer() < LineStart) in GetMessage() 179 if (R.Start.getPointer() < LineStart) in GetMessage() 181 if (R.End.getPointer() > LineEnd) in GetMessage() 186 ColRanges.push_back(std::make_pair(R.Start.getPointer()-LineStart, in GetMessage() 187 R.End.getPointer()-LineStart)); in GetMessage() [all …]
|
/external/llvm/unittests/Support/ |
D | StreamingMemoryObjectTest.cpp | 57 TEST(StreamingMemoryObjectTest, getPointer) { in TEST() argument 62 EXPECT_TRUE(std::equal(InputBuffer + 1, InputBuffer + 2, O.getPointer(1, 2))); in TEST() 63 EXPECT_TRUE(std::equal(InputBuffer + 3, InputBuffer + 7, O.getPointer(3, 4))); in TEST() 64 EXPECT_TRUE(std::equal(InputBuffer + 4, InputBuffer + 8, O.getPointer(4, 5))); in TEST() 65 EXPECT_TRUE(std::equal(InputBuffer, InputBuffer + 8, O.getPointer(0, 20))); in TEST()
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | SourceMgr.h | 217 if (Range.Start.getPointer() != Other.Range.Start.getPointer()) 218 return Range.Start.getPointer() < Other.Range.Start.getPointer(); 219 if (Range.End.getPointer() != Other.Range.End.getPointer()) 220 return Range.End.getPointer() < Other.Range.End.getPointer();
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
D | Optional.h | 119 const T* getPointer() const { assert(hasVal); return reinterpret_cast<const T*>(storage.buffer); } in getPointer() function 120 T* getPointer() { assert(hasVal); return reinterpret_cast<T*>(storage.buffer); } in getPointer() function 121 const T& getValue() const LLVM_LVALUE_FUNCTION { assert(hasVal); return *getPointer(); } in getValue() 122 T& getValue() LLVM_LVALUE_FUNCTION { assert(hasVal); return *getPointer(); } in getValue() 126 const T* operator->() const { return getPointer(); } 127 T* operator->() { return getPointer(); } 128 const T& operator*() const LLVM_LVALUE_FUNCTION { assert(hasVal); return *getPointer(); } 129 T& operator*() LLVM_LVALUE_FUNCTION { assert(hasVal); return *getPointer(); } 137 T&& getValue() && { assert(hasVal); return std::move(*getPointer()); } in getValue() 138 T&& operator*() && { assert(hasVal); return std::move(*getPointer()); }
|
D | PointerIntPair.h | 56 PointerTy getPointer() const { return Info::getPointer(Value); } in getPointer() function 84 assert(Value == reinterpret_cast<intptr_t>(getPointer()) && in getAddrOfPointer() 147 static PointerT getPointer(intptr_t Value) { in getPointer() function
|
/external/llvm/include/llvm/Support/ |
D | SourceMgr.h | 222 if (Range.Start.getPointer() != Other.Range.Start.getPointer()) 223 return Range.Start.getPointer() < Other.Range.Start.getPointer(); 224 if (Range.End.getPointer() != Other.Range.End.getPointer()) 225 return Range.End.getPointer() < Other.Range.End.getPointer();
|
/external/clang/include/clang/AST/ |
D | LambdaCapture.h | 84 return DeclAndBits.getPointer() == nullptr && in capturesThis() 90 return dyn_cast_or_null<VarDecl>(DeclAndBits.getPointer()); in capturesVariable() 96 return DeclAndBits.getPointer() == nullptr && in capturesVLAType() 107 return static_cast<VarDecl *>(DeclAndBits.getPointer()); in getCapturedVar()
|
/external/swiftshader/third_party/LLVM/lib/MC/MCDisassembler/ |
D | EDToken.cpp | 111 const char *wsPointer = asmTokens.begin()->getLoc().getPointer(); in tokenize() 118 const char *tokenPointer = tokenLoc.getPointer(); in tokenize() 134 tokenLoc.getPointer() > in tokenize() 135 (*operandIterator)->getEndLoc().getPointer()) { in tokenize() 188 tokenLoc.getPointer() >= in tokenize() 189 (*operandIterator)->getStartLoc().getPointer()) { in tokenize()
|
/external/swiftshader/third_party/LLVM/lib/Support/ |
D | SourceMgr.cpp | 74 if (Loc.getPointer() >= Buffers[i].Buffer->getBufferStart() && in FindBufferContainingLoc() 77 Loc.getPointer() <= Buffers[i].Buffer->getBufferEnd()) in FindBufferContainingLoc() 101 Cache->LastQuery <= Loc.getPointer()) { in FindLineNumber() 154 const char *LineStart = Loc.getPointer(); in GetMessage() 162 const char *LineEnd = Loc.getPointer(); in GetMessage() 177 Loc.getPointer()-LineStart, OS.str(), in GetMessage()
|
/external/llvm/include/llvm/IR/ |
D | GetElementPtrTypeIterator.h | 60 return CurTy.getPointer()->getPointerTo(AddrSpace); 61 return CurTy.getPointer(); 66 return CurTy.getPointer(); in getIndexedType() 67 CompositeType *CT = cast<CompositeType>(CurTy.getPointer()); in getIndexedType() 81 dyn_cast<CompositeType>(CurTy.getPointer())) {
|
/external/clang/lib/Sema/ |
D | Scope.cpp | 123 if (VarDecl *Candidate = NRVO.getPointer()) { in mergeNRVOIntoParent() 133 else if (NRVO.getPointer()) in mergeNRVOIntoParent() 134 getParent()->addNRVOCandidate(NRVO.getPointer()); in mergeNRVOIntoParent() 226 else if (NRVO.getPointer()) in dumpImpl() 227 OS << "NRVO candidate : (clang::VarDecl*)" << NRVO.getPointer() << '\n'; in dumpImpl()
|
/external/clang/test/Analysis/inlining/ |
D | path-notes.c | 29 int *getPointer(); 32 int *a = getPointer(); in testInitCheck() 44 a = getPointer(); in testStoreCheck()
|
/external/swiftshader/third_party/LLVM/lib/Target/X86/ |
D | X86AsmPrinter.cpp | 112 if (StubSym.getPointer() == 0) in printSymbolOperand() 119 if (StubSym.getPointer() == 0) in printSymbolOperand() 126 if (StubSym.getPointer() == 0) in printSymbolOperand() 150 if (StubSym.getPointer() == 0) { in printSymbolOperand() 156 SymToPrint = StubSym.getPointer(); in printSymbolOperand() 505 OutStreamer.EmitSymbolAttribute(Stubs[i].second.getPointer(), in EmitEndOfAsmFile() 530 OutStreamer.EmitSymbolAttribute(MCSym.getPointer(), in EmitEndOfAsmFile() 543 OutStreamer.EmitValue(MCSymbolRefExpr::Create(MCSym.getPointer(), in EmitEndOfAsmFile() 561 Create(Stubs[i].second.getPointer(), in EmitEndOfAsmFile() 657 OutStreamer.EmitSymbolValue(Stubs[i].second.getPointer(), in EmitEndOfAsmFile()
|
/external/llvm/lib/Analysis/ |
D | GlobalsModRef.cpp | 99 delete Info.getPointer(); in ~FunctionInfo() 106 if (const auto *ArgPtr = Arg.Info.getPointer()) in FunctionInfo() 110 : Info(Arg.Info.getPointer(), Arg.Info.getInt()) { in FunctionInfo() 114 delete Info.getPointer(); in operator =() 116 if (const auto *RHSPtr = RHS.Info.getPointer()) in operator =() 121 delete Info.getPointer(); in operator =() 122 Info.setPointerAndInt(RHS.Info.getPointer(), RHS.Info.getInt()); in operator =() 148 if (AlignedMap *P = Info.getPointer()) { in getModRefInfoForGlobal() 164 if (AlignedMap *P = FI.Info.getPointer()) in addFunctionInfo() 170 AlignedMap *P = Info.getPointer(); in addModRefInfoForGlobal() [all …]
|
/external/clang/include/clang/Analysis/ |
D | CFG.h | 120 return static_cast<const Stmt *>(Data1.getPointer()); in getStmt() 139 return static_cast<CXXCtorInitializer*>(Data1.getPointer()); in getInitializer() 158 return static_cast<CXXNewExpr *>(Data1.getPointer()); in getAllocatorExpr() 200 return static_cast<VarDecl*>(Data1.getPointer()); in getVarDecl() 205 return static_cast<Stmt*>(Data2.getPointer()); in getTriggerStmt() 224 return static_cast<CXXRecordDecl*>(Data1.getPointer()); in getCXXRecordDecl() 229 return static_cast<CXXDeleteExpr *>(Data2.getPointer()); in getDeleteExpr() 248 return static_cast<const CXXBaseSpecifier*>(Data1.getPointer()); in getBaseSpecifier() 267 return static_cast<const FieldDecl*>(Data1.getPointer()); in getFieldDecl() 286 return static_cast<const CXXBindTemporaryExpr *>(Data1.getPointer()); in getBindTemporaryExpr() [all …]
|