Searched refs:Base (Results 276 - 300 of 394) sorted by relevance

<<111213141516

/external/clang/test/CodeGenCXX/
H A Dvtable-layout.cpp51 struct Base { virtual const Obj *foo() = 0; }; struct in namespace:test0
52 struct Derived : Base { virtual Obj *foo() { return new Obj(); } };
/external/clang/tools/libclang/
H A DIndexingContext.cpp128 const CXXBaseSpecifier &Base = *I; local
131 QualType T = Base.getType();
132 SourceLocation Loc = getBaseLoc(Base);
146 MakeCursorCXXBaseSpecifier(&Base, IdxCtx.CXTU),
161 const CXXBaseSpecifier &Base) const {
162 SourceLocation Loc = Base.getSourceRange().getBegin();
164 if (Base.getTypeSourceInfo())
165 TL = Base.getTypeSourceInfo()->getTypeLoc();
/external/webkit/Source/JavaScriptCore/runtime/
H A DJSCell.h158 // Base implementation; for non-object classes implements getPropertySlot.
213 template <typename Base> UString HandleConverter<Base, Unknown>::getString(ExecState* exec) const
/external/clang/lib/CodeGen/
H A DCGVTables.cpp667 const BaseSubobject &Base,
672 VTContext.createConstructionVTableLayout(Base.getBase(),
673 Base.getBaseOffset(),
683 mangleCXXCtorVTable(RD, Base.getBaseOffset().getQuantity(), Base.getBase(),
701 CreateVTableInitializer(Base.getBase(),
666 GenerateConstructionVTable(const CXXRecordDecl *RD, const BaseSubobject &Base, bool BaseIsVirtual, llvm::GlobalVariable::LinkageTypes Linkage, VTableAddressPointsMapTy& AddressPoints) argument
H A DTargetInfo.cpp1505 const CXXRecordDecl *Base =
1515 OffsetBase + getContext().toBits(Layout.getBaseClassOffset(Base));
1750 const CXXRecordDecl *Base =
1754 unsigned BaseOffset = Context.toBits(Layout.getBaseClassOffset(Base));
1796 // Base case if we find a float.
2753 static bool isHomogeneousAggregate(QualType Ty, const Type *&Base,
2758 if (!isHomogeneousAggregate(AT->getElementType(), Base, Context, &Members))
2771 if (!isHomogeneousAggregate(FD->getType(), Base, Context, &FldMembers))
2802 if (!Base)
2803 Base
[all...]
/external/llvm/lib/Target/X86/
H A DX86ISelDAGToDAG.cpp111 dbgs() << " Base.FrameIndex " << Base_FrameIndex << '\n'
204 bool SelectAddr(SDNode *Parent, SDValue N, SDValue &Base,
207 bool SelectLEAAddr(SDValue N, SDValue &Base,
210 bool SelectTLSADDRAddr(SDValue N, SDValue &Base,
214 SDValue &Base, SDValue &Scale,
220 SDValue &Base, SDValue &Scale,
232 inline void getAddressOperands(X86ISelAddressMode &AM, SDValue &Base, argument
235 Base = (AM.BaseType == X86ISelAddressMode::FrameIndexBase) ?
631 // Base and index reg must be 0 in order to use %rip as base.
1276 bool X86DAGToDAGISel::SelectAddr(SDNode *Parent, SDValue N, SDValue &Base, argument
1319 SelectScalarSSELoad(SDNode *Root, SDValue N, SDValue &Base, SDValue &Scale, SDValue &Index, SDValue &Disp, SDValue &Segment, SDValue &PatternNodeWithChain) argument
1360 SelectLEAAddr(SDValue N, SDValue &Base, SDValue &Scale, SDValue &Index, SDValue &Disp, SDValue &Segment) argument
1422 SelectTLSADDRAddr(SDValue N, SDValue &Base, SDValue &Scale, SDValue &Index, SDValue &Disp, SDValue &Segment) argument
1446 TryFoldLoad(SDNode *P, SDValue N, SDValue &Base, SDValue &Scale, SDValue &Index, SDValue &Disp, SDValue &Segment) argument
1964 SDValue Base = Node->getOperand(3); local
2591 SDValue Base, Scale, Index, Disp, Segment; local
[all...]
/external/llvm/lib/Target/X86/AsmParser/
H A DX86AsmParser.cpp1612 StringRef Base = Op->getToken(); local
1614 Tmp += Base;
1624 const char *Suffixes = Base[0] != 'f' ? "bwlq" : "slt\0";
1627 Tmp[Base.size()] = Suffixes[0];
1634 Tmp[Base.size()] = Suffixes[1];
1637 Tmp[Base.size()] = Suffixes[2];
1640 Tmp[Base.size()] = Suffixes[3];
1645 Op->setTokenValue(Base);
1679 OS << "'" << Base << MatchChars[i] << "'";
1695 return Error(IDLoc, "invalid instruction mnemonic '" + Base
[all...]
/external/clang/lib/Sema/
H A DSemaAccess.cpp170 : AccessedEntity(Context.getDiagAllocator(), Base, BaseClass, DerivedClass,
933 const CXXRecordDecl *Base = Target.getDeclaringClass(); local
936 bool isDerived = Derived->isDerivedFrom(const_cast<CXXRecordDecl*>(Base),
970 AccessSpecifier BaseAccess = I->Base->getAccessSpecifier();
1174 const CXXBaseSpecifier *BS = I->Base;
1479 AccessTarget::Base,
1745 QualType Base,
1758 BaseD = cast<CXXRecordDecl>(Base->getAs<RecordType>()->getDecl());
1761 AccessTarget Entity(Context, AccessTarget::Base, BaseD, DerivedD,
1764 Entity.setDiag(DiagID) << Derived << Base; local
1744 CheckBaseClassAccess(SourceLocation AccessLoc, QualType Base, QualType Derived, const CXXBasePath &Path, unsigned DiagID, bool ForceCheck, bool ForceUnprivileged) argument
[all...]
/external/guava/guava-tests/test/com/google/common/collect/
H A DSetsTest.java960 static class Base implements Comparable<Base>, Serializable { class in class:SetsTest
963 public Base(String s) { method in class:SetsTest.Base
974 } else if (other instanceof Base) {
975 return s.equals(((Base) other).s);
982 public int compareTo(Base o) {
992 static class Derived extends Base {
/external/llvm/lib/Target/XCore/
H A DXCoreISelLowering.cpp364 const SDValue &Base = Addr.getOperand(0); local
365 const SDValue *Root = &Base;
366 if (Base.getOpcode() == ISD::ADD &&
367 Base.getOperand(1).getOpcode() == ISD::SHL) {
368 ConstantSDNode *CN = dyn_cast<ConstantSDNode>(Base.getOperand(1)
371 Root = &Base.getOperand(0);
376 AlignedBase = Base;
383 AlignedBase = Base;
391 AlignedBase = Base;
418 SDValue Base; local
[all...]
/external/clang/lib/AST/
H A DType.cpp452 ObjCObjectType::ObjCObjectType(QualType Canonical, QualType Base, argument
456 BaseType(Base)
1452 #define ABSTRACT_TYPE(Derived, Base)
1453 #define TYPE(Derived, Base) case Derived: return #Derived;
2053 #define TYPE(Class,Base)
2054 #define NON_CANONICAL_TYPE(Class,Base) case Type::Class:
2058 #define TYPE(Class,Base)
2059 #define DEPENDENT_TYPE(Class,Base) case Type::Class:
2060 #define NON_CANONICAL_UNLESS_DEPENDENT_TYPE(Class,Base) case Type::Class:
H A DDeclCXX.cpp138 const CXXBaseSpecifier *Base = Bases[i]; local
139 QualType BaseType = Base->getType();
190 if (Base->isVirtual()) {
193 VBases.push_back(Base);
905 // Base element type of field is a non-class type.
1047 CXXRecordDecl *Base = cast<CXXRecordDecl>(RT->getDecl()); local
1048 CollectVisibleConversions(Context, Base, BaseInVirtual, BaseAccess,
1332 const CXXRecordDecl *Base = cast<CXXRecordDecl>(RT->getDecl()); local
1333 CXXMethodDecl *T = this->getCorrespondingMethodInClass(Base);
1754 "Base cto
[all...]
/external/llvm/lib/Analysis/
H A DValueTracking.cpp1173 /// ComputeMultiple - This function computes the integer multiple of Base that
1177 bool llvm::ComputeMultiple(Value *V, unsigned Base, Value *&Multiple, argument
1189 if (Base == 0)
1192 if (Base == 1) {
1198 Constant *BaseVal = ConstantInt::get(T, Base);
1205 if (CI && CI->getZExtValue() % Base == 0) {
1206 Multiple = ConstantInt::get(T, CI->getZExtValue() / Base);
1221 return ComputeMultiple(I->getOperand(0), Base, Multiple,
1240 if (ComputeMultiple(Op0, Base, Mul0, LookThroughSExt, Depth+1)) {
1250 // V == Base * (Mul
[all...]
/external/clang/include/clang/ASTMatchers/
H A DASTMatchers.h1109 /// a class matching \c Base.
1113 /// Example matches Y, Z, C (Base == hasName("X"))
1130 internal::Matcher<NamedDecl>, Base) {
1131 return Finder->classIsDerivedFrom(&Node, Base, Builder);
1141 /// match \c Base.
1142 inline internal::Matcher<CXXRecordDecl> isA(internal::Matcher<NamedDecl> Base) { argument
1143 return anyOf(Base, isDerivedFrom(Base));
/external/llvm/lib/Target/Mips/AsmParser/
H A DMipsAsmParser.cpp150 unsigned Base; member in struct:__anon8937::MipsOperand::__anon8938::__anon8942
210 return Mem.Base;
243 static MipsOperand *CreateMem(unsigned Base, const MCExpr *Off, argument
246 Op->Mem.Base = Base;
/external/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp868 bool PPCTargetLowering::SelectAddressRegReg(SDValue N, SDValue &Base, argument
878 Base = N.getOperand(0);
899 Base = N.getOperand(0);
913 SDValue &Base,
918 if (SelectAddressRegReg(N, Disp, Base, DAG))
926 Base = DAG.getTargetFrameIndex(FI->getIndex(), N.getValueType());
928 Base = N.getOperand(0);
940 Base = N.getOperand(0);
955 Base = N.getOperand(0);
968 Base
912 SelectAddressRegImm(SDValue N, SDValue &Disp, SDValue &Base, SelectionDAG &DAG) const argument
998 SelectAddressRegRegOnly(SDValue N, SDValue &Base, SDValue &Index, SelectionDAG &DAG) const argument
1026 SelectAddressRegImmShift(SDValue N, SDValue &Disp, SDValue &Base, SelectionDAG &DAG) const argument
1112 getPreIndexedAddressParts(SDNode *N, SDValue &Base, SDValue &Offset, ISD::MemIndexedMode &AM, SelectionDAG &DAG) const argument
[all...]
/external/clang/include/clang/AST/
H A DExpr.h1669 Base = 0x03 enumerator in enum:clang::StringLiteral::OffsetOfExpr::OffsetOfNode::Kind
1708 explicit OffsetOfNode(const CXXBaseSpecifier *Base) argument
1709 : Range(), Data(reinterpret_cast<uintptr_t>(Base) | OffsetOfNode::Base) {}
1735 assert(getKind() == Base);
1751 // Base type;
2177 /// Base - the expression for the base pointer or structure references. In
2179 Stmt *Base; member in class:clang::StringLiteral::OffsetOfExpr::MemberExpr
2196 /// refer to the member, e.g., "x->Base::f", or found its member via a using
2234 Base(bas
4196 Stmt *Base; member in class:clang::StringLiteral::OffsetOfExpr::DesignatedInitExpr::ExtVectorElementExpr
[all...]
/external/chromium/testing/gmock/test/
H A Dgmock-internal-utils_test.cc126 class Base {}; class in namespace:testing::internal::__anon3133
127 class Derived : public Base {};
162 EXPECT_EQ(kOther, GMOCK_KIND_OF_(Base)); // NOLINT
/external/clang/lib/StaticAnalyzer/Core/
H A DMemRegion.cpp897 while (const CXXBaseObjectRegion *Base =
899 superRegion = Base->getSuperRegion();
1127 const CXXRecordDecl *Base = BOR->getDecl(); local
1128 if (Child->isVirtuallyDerivedFrom(Base))
1129 BaseOffset = Layout.getVBaseClassOffset(Base);
1131 BaseOffset = Layout.getBaseClassOffset(Base);
H A DExprEngineCXX.cpp78 SVal Base = State->getLValue(Var, LCtx); local
81 Base).getAsRegion();
/external/llvm/lib/Target/X86/MCTargetDesc/
H A DX86MCCodeEmitter.cpp110 void EmitSIBByte(unsigned SS, unsigned Index, unsigned Base,
113 EmitByte(ModRMByte(SS, Index, Base), CurByte, OS);
303 const MCOperand &Base = MI.getOperand(Op+X86::AddrBaseReg); local
306 unsigned BaseReg = Base.getReg();
334 unsigned BaseRegNo = BaseReg ? GetX86RegNum(Base) : -1U;
396 // Base reg can't be anything that ends up with '5' as the base
404 ForceDisp8 = true; // Make sure to force 8 bit disp if Base=EBP
429 EmitSIBByte(SS, IndexRegNo, GetX86RegNum(Base), CurByte, OS);
/external/llvm/lib/Target/ARM/
H A DARMISelLowering.h313 virtual bool getPreIndexedAddressParts(SDNode *N, SDValue &Base,
322 SDValue &Base, SDValue &Offset,
/external/protobuf/gtest/include/gtest/internal/
H A Dgtest-param-util.h66 // Downcasts the pointer of type Base to Derived.
67 // Derived must be a subclass of Base. The parameter MUST
71 template <class Derived, class Base>
72 Derived* CheckedDowncastToActualType(Base* base) {
437 // Base part of test case name for display purposes.
/external/clang/test/SemaCXX/
H A Dwarn-thread-safety-analysis.cpp1133 class Base { class in namespace:thread_annot_lock_47
1140 class Child : public Base {
1148 Base *b = c;
1404 class Base { class in namespace:thread_annot_lock_46
1411 class Child : public Base {
1419 Base *b = c;
3177 class Base { class in namespace:LockReturnedScopeFix
3192 struct Base::Inner {
3198 const Mutex& Base::getLock(const Inner* i) LOCK_RETURNED(i->lock_) {
3203 void Base
[all...]
/external/clang/include/clang/Sema/
H A DDelayedDiagnostic.h39 enum BaseNonce { Base }; enumerator in enum:clang::sema::AccessedEntity::BaseNonce

Completed in 762 milliseconds

<<111213141516