Home
last modified time | relevance | path

Searched refs:SubClass (Results 1 – 11 of 11) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DOperandTraits.h29 template <typename SubClass, unsigned ARITY>
31 static Use *op_begin(SubClass* U) { in op_begin()
33 !std::is_polymorphic<SubClass>::value, in op_begin()
37 static Use *op_end(SubClass* U) { in op_end()
52 template <typename SubClass, unsigned ARITY = 1>
53 struct OptionalOperandTraits : public FixedNumOperandTraits<SubClass, ARITY> {
67 template <typename SubClass, unsigned MINARITY = 0>
69 static Use *op_begin(SubClass* U) { in op_begin()
71 !std::is_polymorphic<SubClass>::value, in op_begin()
75 static Use *op_end(SubClass* U) { in op_end()
H A DInstVisitor.h29 return static_cast<SubClass*>(this)-> \
78 template<typename SubClass, typename RetTy=void>
90 static_cast<SubClass*>(this)->visit(*Start++); in visit()
96 static_cast<SubClass*>(this)->visitModule(M); in visit()
100 static_cast<SubClass*>(this)->visitFunction(F); in visit()
104 static_cast<SubClass*>(this)->visitBasicBlock(BB); in visit()
117 static_assert(std::is_base_of<InstVisitor, SubClass>::value, in visit()
125 static_cast<SubClass*>(this)-> \ in visit()
226 return static_cast<SubClass *>(this)->visitTerminator(I); in visitReturnInst()
229 return static_cast<SubClass *>(this)->visitTerminator(I); in visitBranchInst()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Support/
H A DRecycler.h82 template<class SubClass, class AllocatorType>
83 SubClass *Allocate(AllocatorType &Allocator) { in Allocate()
84 static_assert(alignof(SubClass) <= Align, in Allocate()
86 static_assert(sizeof(SubClass) <= Size, in Allocate()
88 return FreeList ? reinterpret_cast<SubClass *>(pop_val()) in Allocate()
89 : static_cast<SubClass *>(Allocator.Allocate(Size, Align)); in Allocate()
97 template<class SubClass, class AllocatorType>
98 void Deallocate(AllocatorType & /*Allocator*/, SubClass* Element) { in Deallocate()
H A DRecyclingAllocator.h42 template<class SubClass>
43 SubClass *Allocate() { return Base.template Allocate<SubClass>(Allocator); } in Allocate()
50 template<class SubClass>
51 void Deallocate(SubClass* E) { return Base.Deallocate(Allocator, E); } in Deallocate()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
H A DRegAllocRegistry.h28 template <class SubClass>
43 SubClass *getNext() const { in getNext()
44 return static_cast<SubClass *>(MachinePassRegistryNode::getNext()); in getNext()
47 static SubClass *getList() { in getList()
48 return static_cast<SubClass *>(Registry.getList()); in getList()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/TableGen/
H A DTGParser.cpp230 bool TGParser::AddSubClass(Record *CurRec, SubClassReference &SubClass) { in AddSubClass() argument
231 Record *SC = SubClass.Rec; in AddSubClass()
240 if (AddValue(CurRec, SubClass.RefRange.Start, Field)) in AddSubClass()
246 assert(SubClass.TemplateArgs.size() <= TArgs.size() && in AddSubClass()
252 if (I < SubClass.TemplateArgs.size()) in AddSubClass()
253 R.set(TArgs[I], SubClass.TemplateArgs[I]); in AddSubClass()
255 return Error(SubClass.RefRange.Start, in AddSubClass()
279 return Error(SubClass.RefRange.Start, in AddSubClass()
285 return Error(SubClass.RefRange.Start, in AddSubClass()
287 CurRec->addSuperClass(SC, SubClass.RefRange); in AddSubClass()
[all …]
H A DTGParser.h201 bool AddSubClass(Record *Rec, SubClassReference &SubClass);
202 bool AddSubClass(RecordsEntry &Entry, SubClassReference &SubClass);
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DTargetRegisterInfo.cpp260 const TargetRegisterClass *SubClass = getAllocatableClass(RC); in getAllocatableSet() local
261 if (SubClass) in getAllocatableSet()
262 getAllocatableSetForRC(MF, SubClass, Allocatable); in getAllocatableSet()
/netbsd-src/external/apache2/llvm/dist/llvm/utils/TableGen/
H A DGlobalISelEmitter.cpp4591 auto SubClass = inferRegClassFromPattern(Dst->getChild(1)); in createAndImportSubInstructionRenderer() local
4592 if (!SubClass) in createAndImportSubInstructionRenderer()
4608 InsertPt, DstMIBuilder.getInsnID(), 2, **SubClass); in createAndImportSubInstructionRenderer()
4642 auto SubClass = inferRegClassFromPattern(Dst->getChild(1)); in createAndImportSubInstructionRenderer() local
4643 if (!SubClass) in createAndImportSubInstructionRenderer()
4654 InsertPt, DstMIBuilder.getInsnID(), 2, **SubClass); in createAndImportSubInstructionRenderer()
5336 auto SubClass = inferRegClassFromPattern(Dst->getChild(1)); in runOnPattern() local
5337 if (!SubClass) in runOnPattern()
5347 M.addAction<ConstrainOperandToRegClassAction>(0, 2, **SubClass); in runOnPattern()
5360 auto SubClass = inferRegClassFromPattern(Dst->getChild(1)); in runOnPattern() local
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/utils/TableGen/
H A DClangAttrEmitter.cpp2738 for (auto SubClass : SubClasses) { in emitAttrList() local
2739 SubClass->emitAttrList(OS); in emitAttrList()
2759 for (auto SubClass : SubClasses) { in classifyAttr() local
2760 if (SubClass->classifyAttr(Attr)) in classifyAttr()
/netbsd-src/sys/external/bsd/gnu-efi/dist/inc/
H A Defilib.h922 IN UINT8 SubClass