Home
last modified time | relevance | path

Searched refs:Base (Results 1 – 25 of 338) sorted by relevance

12345678910>>...14

/freebsd-9-stable/contrib/llvm/tools/clang/lib/AST/
DVTTBuilder.cpp39 void VTTBuilder::AddVTablePointer(BaseSubobject Base, uint64_t VTableIndex, in AddVTablePointer() argument
43 assert(!SecondaryVirtualPointerIndices.count(Base) && in AddVTablePointer()
45 SecondaryVirtualPointerIndices[Base] = VTTComponents.size(); in AddVTablePointer()
53 VTTComponents.push_back(VTTComponent(VTableIndex, Base)); in AddVTablePointer()
56 void VTTBuilder::LayoutSecondaryVTTs(BaseSubobject Base) { in LayoutSecondaryVTTs() argument
57 const CXXRecordDecl *RD = Base.getBase(); in LayoutSecondaryVTTs()
70 CharUnits BaseOffset = Base.getBaseOffset() + in LayoutSecondaryVTTs()
79 VTTBuilder::LayoutSecondaryVirtualPointers(BaseSubobject Base, in LayoutSecondaryVirtualPointers() argument
84 const CXXRecordDecl *RD = Base.getBase(); in LayoutSecondaryVirtualPointers()
119 BaseOffset = Base.getBaseOffset() + in LayoutSecondaryVirtualPointers()
[all …]
DInheritViz.cpp96 for (CXXRecordDecl::base_class_const_iterator Base = Decl->bases_begin(); in WriteNode() local
97 Base != Decl->bases_end(); ++Base) { in WriteNode()
98 QualType CanonBaseType = Context.getCanonicalType(Base->getType()); in WriteNode()
102 if (!Base->isVirtual()) in WriteNode()
106 WriteNode(Base->getType(), Base->isVirtual()); in WriteNode()
112 WriteNodeReference(Base->getType(), Base->isVirtual()); in WriteNode()
115 if (Base->isVirtual()) { in WriteNode()
DCXXInheritance.cpp80 bool CXXRecordDecl::isDerivedFrom(const CXXRecordDecl *Base) const { in isDerivedFrom()
83 return isDerivedFrom(Base, Paths); in isDerivedFrom()
86 bool CXXRecordDecl::isDerivedFrom(const CXXRecordDecl *Base, in isDerivedFrom() argument
88 if (getCanonicalDecl() == Base->getCanonicalDecl()) in isDerivedFrom()
93 const_cast<CXXRecordDecl*>(Base->getCanonicalDecl()), in isDerivedFrom()
97 bool CXXRecordDecl::isVirtuallyDerivedFrom(const CXXRecordDecl *Base) const { in isVirtuallyDerivedFrom()
104 if (getCanonicalDecl() == Base->getCanonicalDecl()) in isVirtuallyDerivedFrom()
109 const void *BasePtr = static_cast<const void*>(Base->getCanonicalDecl()); in isVirtuallyDerivedFrom()
115 static bool BaseIsNot(const CXXRecordDecl *Base, void *OpaqueTarget) { in BaseIsNot() argument
117 return Base->getCanonicalDecl() != (const CXXRecordDecl*) OpaqueTarget; in BaseIsNot()
[all …]
DVTableBuilder.cpp113 void ComputeBaseOffsets(BaseSubobject Base, bool IsVirtual,
123 void dump(raw_ostream &Out, BaseSubobject Base,
224 if (Element.Base->isVirtual()) { in ComputeBaseOffset()
226 QualType VBaseType = Element.Base->getType(); in ComputeBaseOffset()
239 const CXXRecordDecl *Base = Element.Base->getType()->getAsCXXRecordDecl(); in ComputeBaseOffset() local
241 NonVirtualOffset += Layout.getBaseClassOffset(Base); in ComputeBaseOffset()
318 FinalOverriders::ComputeBaseOffsets(BaseSubobject Base, bool IsVirtual, in ComputeBaseOffsets() argument
323 const CXXRecordDecl *RD = Base.getBase(); in ComputeBaseOffsets()
335 SubobjectOffsets[std::make_pair(RD, SubobjectNumber)] = Base.getBaseOffset(); in ComputeBaseOffsets()
361 BaseOffset = Base.getBaseOffset() + Offset; in ComputeBaseOffsets()
[all …]
/freebsd-9-stable/contrib/llvm/lib/Target/SystemZ/
DSystemZISelDAGToDAG.cpp56 SDValue Base; member
62 : Form(form), DR(dr), Base(), Disp(0), Index(), in SystemZAddressingMode()
75 if (Base.getNode() != 0) in dump()
76 Base.getNode()->dump(); in dump()
153 SDValue &Base, SDValue &Disp) const;
155 SDValue &Base, SDValue &Disp, SDValue &Index) const;
161 SDValue &Base, SDValue &Disp) const;
167 SDValue &Base, SDValue &Disp) const;
174 SDValue &Base, SDValue &Disp, SDValue &Index) const;
186 bool selectBDAddr12Only(SDValue Addr, SDValue &Base, SDValue &Disp) const { in selectBDAddr12Only() argument
[all …]
/freebsd-9-stable/contrib/llvm/tools/clang/include/clang/AST/
DBaseSubobject.h30 const CXXRecordDecl *Base; variable
37 BaseSubobject(const CXXRecordDecl *Base, CharUnits BaseOffset) in BaseSubobject() argument
38 : Base(Base), BaseOffset(BaseOffset) { } in BaseSubobject()
41 const CXXRecordDecl *getBase() const { return Base; } in getBase()
47 return LHS.Base == RHS.Base && LHS.BaseOffset == RHS.BaseOffset;
68 static unsigned getHashValue(const clang::BaseSubobject &Base) {
70 return DenseMapInfo<PairTy>::getHashValue(PairTy(Base.getBase(),
71 Base.getBaseOffset()));
DTypeLocNodes.def15 // TYPELOC(Class, Base) - A TypeLoc subclass. If UNQUAL_TYPELOC is
18 // UNQUAL_TYPELOC(Class, Base, Type) - An UnqualTypeLoc subclass.
25 # define UNQUAL_TYPELOC(Class, Base) TYPELOC(Class, Base)
29 # define ABSTRACT_TYPELOC(Class, Base) UNQUAL_TYPELOC(Class, Base)
33 #define TYPE(Class, Base) UNQUAL_TYPELOC(Class, Base##Loc)
34 #define ABSTRACT_TYPE(Class, Base) ABSTRACT_TYPELOC(Class, Base##Loc)
DVTTBuilder.h34 VTTVTable(const CXXRecordDecl *Base, CharUnits BaseOffset, bool BaseIsVirtual) in VTTVTable() argument
35 : BaseAndIsVirtual(Base, BaseIsVirtual), BaseOffset(BaseOffset) {} in VTTVTable()
36 VTTVTable(BaseSubobject Base, bool BaseIsVirtual) in VTTVTable() argument
37 : BaseAndIsVirtual(Base.getBase(), BaseIsVirtual), in VTTVTable()
38 BaseOffset(Base.getBaseOffset()) {} in VTTVTable()
102 void AddVTablePointer(BaseSubobject Base, uint64_t VTableIndex,
106 void LayoutSecondaryVTTs(BaseSubobject Base);
113 void LayoutSecondaryVirtualPointers(BaseSubobject Base,
121 void LayoutSecondaryVirtualPointers(BaseSubobject Base,
131 void LayoutVTT(BaseSubobject Base, bool BaseIsVirtual);
DTypeNodes.def16 // TYPE(Class, Base) - A type that can show up anywhere in the AST,
20 // ABSTRACT_TYPE(Class, Base) - An abstract class that shows up in
23 // NON_CANONICAL_TYPE(Class, Base) - A type that can show up
29 // DEPENDENT_TYPE(Class, Base) - A type that will only show up
34 // NON_CANONICAL_UNLESS_DEPENDENT_TYPE(Class, Base) - A type that
47 # define ABSTRACT_TYPE(Class, Base) TYPE(Class, Base)
51 # define NON_CANONICAL_TYPE(Class, Base) TYPE(Class, Base)
55 # define DEPENDENT_TYPE(Class, Base) TYPE(Class, Base)
59 # define NON_CANONICAL_UNLESS_DEPENDENT_TYPE(Class, Base) TYPE(Class, Base)
/freebsd-9-stable/contrib/llvm/lib/Target/SystemZ/MCTargetDesc/
DSystemZMCCodeEmitter.cpp118 uint64_t Base = getMachineOpValue(MI, MI.getOperand(OpNum), Fixups); in getBDAddr12Encoding() local
120 assert(isUInt<4>(Base) && isUInt<12>(Disp)); in getBDAddr12Encoding()
121 return (Base << 12) | Disp; in getBDAddr12Encoding()
127 uint64_t Base = getMachineOpValue(MI, MI.getOperand(OpNum), Fixups); in getBDAddr20Encoding() local
129 assert(isUInt<4>(Base) && isInt<20>(Disp)); in getBDAddr20Encoding()
130 return (Base << 20) | ((Disp & 0xfff) << 8) | ((Disp & 0xff000) >> 12); in getBDAddr20Encoding()
136 uint64_t Base = getMachineOpValue(MI, MI.getOperand(OpNum), Fixups); in getBDXAddr12Encoding() local
139 assert(isUInt<4>(Base) && isUInt<12>(Disp) && isUInt<4>(Index)); in getBDXAddr12Encoding()
140 return (Index << 16) | (Base << 12) | Disp; in getBDXAddr12Encoding()
146 uint64_t Base = getMachineOpValue(MI, MI.getOperand(OpNum), Fixups); in getBDXAddr20Encoding() local
[all …]
/freebsd-9-stable/contrib/llvm/include/llvm/Support/
DYAMLParser.h282 basic_collection_iterator() : Base(0) {} in basic_collection_iterator()
283 basic_collection_iterator(BaseT *B) : Base(B) {} in basic_collection_iterator()
286 assert(Base && Base->CurrentEntry && "Attempted to access end iterator!");
287 return Base->CurrentEntry;
291 assert(Base && Base->CurrentEntry &&
293 return *Base->CurrentEntry;
297 assert(Base && Base->CurrentEntry && "Attempted to access end iterator!");
298 return Base->CurrentEntry;
302 if(Base != Other.Base)
304 return (Base && Other.Base) && Base->CurrentEntry
[all …]
DCallSite.h298 CallInst, InvokeInst, User::op_iterator> Base; typedef
301 CallSite(Base B) : Base(B) {} in CallSite()
302 CallSite(Value* V) : Base(V) {} in CallSite()
303 CallSite(CallInst *CI) : Base(CI) {} in CallSite()
304 CallSite(InvokeInst *II) : Base(II) {} in CallSite()
305 CallSite(Instruction *II) : Base(II) {} in CallSite()
319 typedef CallSiteBase<> Base; typedef
321 ImmutableCallSite(const Value* V) : Base(V) {} in ImmutableCallSite()
322 ImmutableCallSite(const CallInst *CI) : Base(CI) {} in ImmutableCallSite()
323 ImmutableCallSite(const InvokeInst *II) : Base(II) {} in ImmutableCallSite()
[all …]
DRecyclingAllocator.h31 Recycler<T, Size, Align> Base;
38 ~RecyclingAllocator() { Base.clear(Allocator); } in ~RecyclingAllocator()
44 SubClass *Allocate() { return Base.template Allocate<SubClass>(Allocator); } in Allocate()
46 T *Allocate() { return Base.Allocate(Allocator); } in Allocate()
52 void Deallocate(SubClass* E) { return Base.Deallocate(Allocator, E); } in Deallocate()
56 Base.PrintStats(); in PrintStats()
DStringRefMemoryObject.h27 uint64_t Base; variable
29 StringRefMemoryObject(StringRef Bytes, uint64_t Base = 0)
30 : Bytes(Bytes), Base(Base) {} in Bytes()
32 uint64_t getBase() const LLVM_OVERRIDE { return Base; } in getBase()
/freebsd-9-stable/contrib/llvm/lib/Support/
DStringRefMemoryObject.cpp15 if (Addr >= Base + getExtent() || Addr < Base) in readByte()
17 *Byte = Bytes[Addr - Base]; in readByte()
24 uint64_t Offset = Addr - Base; in readBytes()
25 if (Addr >= Base + getExtent() || Offset + Size > getExtent() || Addr < Base) in readBytes()
/freebsd-9-stable/contrib/llvm/lib/Target/SystemZ/Disassembler/
DSystemZDisassembler.cpp190 uint64_t Base = Field >> 12; in decodeBDAddr12Operand() local
192 assert(Base < 16 && "Invalid BDAddr12"); in decodeBDAddr12Operand()
193 Inst.addOperand(MCOperand::CreateReg(Base == 0 ? 0 : Regs[Base])); in decodeBDAddr12Operand()
200 uint64_t Base = Field >> 20; in decodeBDAddr20Operand() local
202 assert(Base < 16 && "Invalid BDAddr20"); in decodeBDAddr20Operand()
203 Inst.addOperand(MCOperand::CreateReg(Base == 0 ? 0 : Regs[Base])); in decodeBDAddr20Operand()
211 uint64_t Base = (Field >> 12) & 0xf; in decodeBDXAddr12Operand() local
214 Inst.addOperand(MCOperand::CreateReg(Base == 0 ? 0 : Regs[Base])); in decodeBDXAddr12Operand()
223 uint64_t Base = (Field >> 20) & 0xf; in decodeBDXAddr20Operand() local
226 Inst.addOperand(MCOperand::CreateReg(Base == 0 ? 0 : Regs[Base])); in decodeBDXAddr20Operand()
[all …]
/freebsd-9-stable/contrib/llvm/tools/clang/utils/TableGen/
DClangASTNodesEmitter.cpp54 Record *Base);
75 Record *Base) { in EmitNode() argument
76 std::string BaseName = macroName(Base->getName()); in EmitNode()
78 ChildIterator i = Tree.lower_bound(Base), e = Tree.upper_bound(Base); in EmitNode()
83 if (Base->getValue("Abstract") && !Base->getValueAsBit("Abstract")) in EmitNode()
84 First = Last = Base; in EmitNode()
98 << R->getName() << ", " << baseName(*Base) << "))\n"; in EmitNode()
101 << baseName(*Base) << ")\n"; in EmitNode()
124 if (Base == &Root) in EmitNode()
128 OS << Base->getName() << ", " << First->getName() << ", " in EmitNode()
/freebsd-9-stable/contrib/ntp/kernel/sys/
Dpcl720.h49 #define pcl720_load(Base,Cntr,Mode,Val) \ argument
50 ({ register unsigned int b = Base, c = Cntr, v = Val; \
63 #define pcl720_read(Base,Cntr) \ argument
64 ({ register unsigned int b = Base, v; \
75 #define pcl720_input(Base) \ argument
76 ({ register unsigned int b = Base, v; \
85 #define pcl720_output(Base,Value) \ argument
86 ({ register unsigned int b = Base, v = Value; \
/freebsd-9-stable/contrib/llvm/lib/Target/ARM/
DARMLoadStoreOptimizer.cpp98 int Offset, unsigned Base, bool BaseKill, int Opcode,
109 unsigned Base,
117 void MergeLDR_STR(MachineBasicBlock &MBB, unsigned SIndex, unsigned Base,
288 int Offset, unsigned Base, bool BaseKill, in MergeOps() argument
343 .addReg(Base, getKillRegState(BaseKill)).addImm(Offset) in MergeOps()
345 Base = NewBase; in MergeOps()
354 .addReg(Base, getKillRegState(BaseKill)) in MergeOps()
429 unsigned Base, bool BaseKill, in MergeOpsUpdate() argument
482 if (!MergeOps(MBB, Loc, Offset, Base, BaseKill, Opcode, in MergeOpsUpdate()
524 unsigned Base, int Opcode, unsigned Size, in MergeLDR_STR() argument
[all …]
DARMISelDAGToDAG.cpp110 bool SelectAddrModeImm12(SDValue N, SDValue &Base, SDValue &OffImm);
111 bool SelectLdStSOReg(SDValue N, SDValue &Base, SDValue &Offset, SDValue &Opc);
113 AddrMode2Type SelectAddrMode2Worker(SDValue N, SDValue &Base,
115 bool SelectAddrMode2Base(SDValue N, SDValue &Base, SDValue &Offset, in SelectAddrMode2Base() argument
117 return SelectAddrMode2Worker(N, Base, Offset, Opc) == AM2_BASE; in SelectAddrMode2Base()
120 bool SelectAddrMode2ShOp(SDValue N, SDValue &Base, SDValue &Offset, in SelectAddrMode2ShOp() argument
122 return SelectAddrMode2Worker(N, Base, Offset, Opc) == AM2_SHOP; in SelectAddrMode2ShOp()
125 bool SelectAddrMode2(SDValue N, SDValue &Base, SDValue &Offset, in SelectAddrMode2() argument
127 SelectAddrMode2Worker(N, Base, Offset, Opc); in SelectAddrMode2()
146 bool SelectAddrOffsetNone(SDValue N, SDValue &Base);
[all …]
/freebsd-9-stable/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
DStore.cpp45 const MemRegion *StoreManager::MakeElementRegion(const MemRegion *Base, in MakeElementRegion() argument
48 return MRMgr.getElementRegion(EleTy, idx, Base, svalBuilder.getContext()); in MakeElementRegion()
267 Result = evalDerivedToBase(Result, I->Base->getType(), in evalDerivedToBase()
268 I->Base->isVirtual()); in evalDerivedToBase()
306 SVal StoreManager::evalDynamicCast(SVal Base, QualType TargetType, in evalDynamicCast() argument
310 const MemRegion *MR = Base.getAsRegion(); in evalDynamicCast()
399 SVal StoreManager::getLValueFieldOrIvar(const Decl *D, SVal Base) { in getLValueFieldOrIvar() argument
400 if (Base.isUnknownOrUndef()) in getLValueFieldOrIvar()
401 return Base; in getLValueFieldOrIvar()
403 Loc BaseL = Base.castAs<Loc>(); in getLValueFieldOrIvar()
[all …]
/freebsd-9-stable/sys/contrib/dev/acpica/compiler/
Daslutils.c851 UINT32 Base, in UtStrtoul64() argument
862 switch (Base) in UtStrtoul64()
908 if (Base == 0) in UtStrtoul64()
914 Base = 16; in UtStrtoul64()
919 Base = 8; in UtStrtoul64()
924 Base = 10; in UtStrtoul64()
932 if (Base == 8 && *String == '0') in UtStrtoul64()
937 if (Base == 16 && in UtStrtoul64()
965 if (Index >= Base) in UtStrtoul64()
973 (UINT64) Base)) in UtStrtoul64()
[all …]
/freebsd-9-stable/contrib/llvm/lib/Target/Hexagon/
DHexagonISelDAGToDAG.cpp74 bool SelectMEMriS11_2(SDValue& Addr, SDValue &Base, SDValue &Offset);
76 bool SelectADDRrr(SDValue &Addr, SDValue &Base, SDValue &Offset);
90 bool SelectAddr(SDNode *Op, SDValue Addr, SDValue &Base, SDValue &Offset);
393 SDValue Base = Const32->getOperand(0); in SelectBaseOffsetLoad() local
395 int64_t Offset = cast<GlobalAddressSDNode>(Base)->getOffset(); in SelectBaseOffsetLoad()
399 cast<GlobalAddressSDNode>(Base)->getGlobal(); in SelectBaseOffsetLoad()
438 SDValue Base = LD->getBasePtr(); in SelectIndexedLoadSignExtend64() local
453 MVT::Other, Base, TargetConst, in SelectIndexedLoadSignExtend64()
474 MVT::Other, Base, TargetConst0, in SelectIndexedLoadSignExtend64()
479 MVT::i32, Base, TargetConstVal, in SelectIndexedLoadSignExtend64()
[all …]
/freebsd-9-stable/contrib/llvm/tools/clang/lib/CodeGen/
DCGRTTI.cpp370 CXXRecordDecl::base_class_const_iterator Base = RD->bases_begin(); in CanUseSingleInheritance() local
373 if (Base->isVirtual()) in CanUseSingleInheritance()
377 if (Base->getAccessSpecifier() != AS_public) in CanUseSingleInheritance()
382 cast<CXXRecordDecl>(Base->getType()->getAs<RecordType>()->getDecl()); in CanUseSingleInheritance()
404 #define TYPE(Class, Base) in BuildVTablePointer() argument
405 #define ABSTRACT_TYPE(Class, Base) in BuildVTablePointer() argument
406 #define NON_CANONICAL_UNLESS_DEPENDENT_TYPE(Class, Base) case Type::Class: in BuildVTablePointer() argument
407 #define NON_CANONICAL_TYPE(Class, Base) case Type::Class: in BuildVTablePointer() argument
408 #define DEPENDENT_TYPE(Class, Base) case Type::Class: in BuildVTablePointer() argument
551 #define TYPE(Class, Base) in BuildTypeInfo() argument
[all …]
/freebsd-9-stable/contrib/llvm/lib/Target/NVPTX/
DNVPTXISelDAGToDAG.h78 bool SelectADDRri_imp(SDNode *OpNode, SDValue Addr, SDValue &Base,
80 bool SelectADDRri(SDNode *OpNode, SDValue Addr, SDValue &Base,
82 bool SelectADDRri64(SDNode *OpNode, SDValue Addr, SDValue &Base,
85 bool SelectADDRsi_imp(SDNode *OpNode, SDValue Addr, SDValue &Base,
87 bool SelectADDRsi(SDNode *OpNode, SDValue Addr, SDValue &Base,
89 bool SelectADDRsi64(SDNode *OpNode, SDValue Addr, SDValue &Base,

12345678910>>...14