Home
last modified time | relevance | path

Searched refs:RecTy (Results 1 – 18 of 18) sorted by relevance

/external/swiftshader/third_party/LLVM/include/llvm/TableGen/
DRecord.h69 class RecTy {
72 RecTy() : ListTy(0) {} in RecTy() function
73 virtual ~RecTy() {} in ~RecTy()
81 virtual bool typeIsConvertibleTo(const RecTy *RHS) const = 0;
127 inline raw_ostream &operator<<(raw_ostream &OS, const RecTy &Ty) {
135 class BitRecTy : public RecTy {
151 virtual Init *convertValue( UnOpInit *UI) { return RecTy::convertValue(UI);} in convertValue()
152 virtual Init *convertValue( BinOpInit *UI) { return RecTy::convertValue(UI);} in convertValue()
153 virtual Init *convertValue( TernOpInit *UI) { return RecTy::convertValue(UI);} in convertValue()
155 virtual Init *convertValue( VarInit *VI) { return RecTy::convertValue(VI);} in convertValue()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/TableGen/
DRecord.h55 class RecTy {
74 RecTy(RecTyKind K) : Kind(K) {} in RecTy() function
75 virtual ~RecTy() = default;
85 virtual bool typeIsConvertibleTo(const RecTy *RHS) const;
89 virtual bool typeIsA(const RecTy *RHS) const;
95 inline raw_ostream &operator<<(raw_ostream &OS, const RecTy &Ty) {
101 class BitRecTy : public RecTy {
104 BitRecTy() : RecTy(BitRecTyKind) {} in BitRecTy()
107 static bool classof(const RecTy *RT) { in classof()
115 bool typeIsConvertibleTo(const RecTy *RHS) const override;
[all …]
/external/llvm/include/llvm/TableGen/
DRecord.h41 class RecTy {
62 RecTy(RecTyKind K) : Kind(K) {} in RecTy() function
63 virtual ~RecTy() {} in ~RecTy()
71 virtual bool typeIsConvertibleTo(const RecTy *RHS) const;
77 inline raw_ostream &operator<<(raw_ostream &OS, const RecTy &Ty) {
84 class BitRecTy : public RecTy {
86 BitRecTy() : RecTy(BitRecTyKind) {} in BitRecTy()
89 static bool classof(const RecTy *RT) { in classof()
97 bool typeIsConvertibleTo(const RecTy *RHS) const override;
102 class BitsRecTy : public RecTy {
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/TableGen/
DTGParser.h28 class RecTy; variable
74 RecTy *EltTy;
181 Init *ParseSimpleValue(Record *CurRec, RecTy *ItemType = nullptr,
183 Init *ParseValue(Record *CurRec, RecTy *ItemType = nullptr,
186 Record *ArgsRec = nullptr, RecTy *EltTy = nullptr);
194 RecTy *ParseType();
195 Init *ParseOperation(Record *CurRec, RecTy *ItemType);
196 RecTy *ParseOperatorType();
DRecord.cpp53 LLVM_DUMP_METHOD void RecTy::dump() const { print(errs()); } in dump()
56 ListRecTy *RecTy::getListTy() { in getListTy()
62 bool RecTy::typeIsConvertibleTo(const RecTy *RHS) const { in typeIsConvertibleTo()
67 bool RecTy::typeIsA(const RecTy *RHS) const { return this == RHS; } in typeIsA()
69 bool BitRecTy::typeIsConvertibleTo(const RecTy *RHS) const{ in typeIsConvertibleTo()
70 if (RecTy::typeIsConvertibleTo(RHS) || RHS->getRecTyKind() == IntRecTyKind) in typeIsConvertibleTo()
91 bool BitsRecTy::typeIsConvertibleTo(const RecTy *RHS) const { in typeIsConvertibleTo()
92 if (RecTy::typeIsConvertibleTo(RHS)) //argument and the sender are same type in typeIsConvertibleTo()
98 bool BitsRecTy::typeIsA(const RecTy *RHS) const { in typeIsA()
104 bool IntRecTy::typeIsConvertibleTo(const RecTy *RHS) const { in typeIsConvertibleTo()
[all …]
DTGParser.cpp780 RecTy *TGParser::ParseType() { in ParseType()
815 RecTy *SubType = ParseType(); in ParseType()
882 Init *TGParser::ParseOperation(Record *CurRec, RecTy *ItemType) { in ParseOperation()
893 RecTy *Type = nullptr; in ParseOperation()
1002 RecTy *Type = ParseOperatorType(); in ParseOperation()
1064 RecTy *Type = nullptr; in ParseOperation()
1065 RecTy *ArgType = nullptr; in ParseOperation()
1149 RecTy *Resolved = resolveTypes(ArgType, TI->getType()); in ParseOperation()
1240 RecTy *InEltType = nullptr; in ParseOperation()
1241 RecTy *OutEltType = nullptr; in ParseOperation()
[all …]
/external/llvm/lib/TableGen/
DRecord.cpp90 LLVM_DUMP_METHOD void RecTy::dump() const { print(errs()); } in dump()
92 ListRecTy *RecTy::getListTy() { in getListTy()
98 bool RecTy::typeIsConvertibleTo(const RecTy *RHS) const { in typeIsConvertibleTo()
103 bool BitRecTy::typeIsConvertibleTo(const RecTy *RHS) const{ in typeIsConvertibleTo()
104 if (RecTy::typeIsConvertibleTo(RHS) || RHS->getRecTyKind() == IntRecTyKind) in typeIsConvertibleTo()
125 bool BitsRecTy::typeIsConvertibleTo(const RecTy *RHS) const { in typeIsConvertibleTo()
126 if (RecTy::typeIsConvertibleTo(RHS)) //argument and the sender are same type in typeIsConvertibleTo()
132 bool IntRecTy::typeIsConvertibleTo(const RecTy *RHS) const { in typeIsConvertibleTo()
145 bool ListRecTy::typeIsConvertibleTo(const RecTy *RHS) const { in typeIsConvertibleTo()
163 bool RecordRecTy::typeIsConvertibleTo(const RecTy *RHS) const { in typeIsConvertibleTo()
[all …]
DTGParser.h28 class RecTy; variable
173 Init *ParseSimpleValue(Record *CurRec, RecTy *ItemType = nullptr,
175 Init *ParseValue(Record *CurRec, RecTy *ItemType = nullptr,
178 RecTy *EltTy = nullptr);
184 RecTy *ParseType();
185 Init *ParseOperation(Record *CurRec, RecTy *ItemType);
186 RecTy *ParseOperatorType();
DTGParser.cpp394 RecTy *Type = nullptr; in ParseObjectName()
659 RecTy *TGParser::ParseType() { in ParseType()
693 RecTy *SubType = ParseType(); in ParseType()
764 Init *TGParser::ParseOperation(Record *CurRec, RecTy *ItemType) { in ParseOperation()
774 RecTy *Type = nullptr; in ParseOperation()
885 RecTy *Type = nullptr; in ParseOperation()
966 RecTy *Type = nullptr; in ParseOperation()
1020 RecTy *MHSTy = nullptr; in ParseOperation()
1021 RecTy *RHSTy = nullptr; in ParseOperation()
1088 RecTy *TGParser::ParseOperatorType() { in ParseOperatorType()
[all …]
/external/swiftshader/third_party/LLVM/lib/TableGen/
DTGParser.h27 class RecTy; variable
118 Init *ParseSimpleValue(Record *CurRec, RecTy *ItemType = 0);
119 Init *ParseValue(Record *CurRec, RecTy *ItemType = 0);
120 std::vector<Init*> ParseValueList(Record *CurRec, Record *ArgsRec = 0, RecTy *EltTy = 0);
126 RecTy *ParseType();
128 RecTy *ParseOperatorType();
DRecord.cpp84 void RecTy::dump() const { print(errs()); } in dump()
86 ListRecTy *RecTy::getListTy() { in getListTy()
393 RecTy *llvm::resolveTypes(RecTy *T1, RecTy *T2) { in resolveTypes()
407 RecTy *NewType1 = resolveTypes(SuperRecTy1, T2); in resolveTypes()
426 RecTy *NewType2 = resolveTypes(T1, SuperRecTy2); in resolveTypes()
588 RecTy *EltTy) { in ProfileListInit()
599 ListInit *ListInit::get(ArrayRef<Init *> Range, RecTy *EltTy) { in get()
620 RecTy *EltTy = ListType->getElementType(); in Profile()
723 UnOpInit *UnOpInit::get(UnaryOp opc, Init *lhs, RecTy *Type) { in get()
724 typedef std::pair<std::pair<unsigned, Init *>, RecTy *> Key; in get()
[all …]
DTGParser.cpp581 RecTy *TGParser::ParseType() { in ParseType()
615 RecTy *SubType = ParseType(); in ParseType()
694 RecTy *Type = 0; in ParseOperation()
810 RecTy *Type = 0; in ParseOperation()
872 RecTy *Type = 0; in ParseOperation()
929 RecTy *MHSTy = 0; in ParseOperation()
930 RecTy *RHSTy = 0; in ParseOperation()
1001 RecTy *TGParser::ParseOperatorType() { in ParseOperatorType()
1002 RecTy *Type = 0; in ParseOperatorType()
1044 Init *TGParser::ParseSimpleValue(Record *CurRec, RecTy *ItemType) { in ParseSimpleValue()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/
DSearchableTableEmitter.cpp56 RecTy *RecType = nullptr;
603 RecTy *Ty = resolveTypes(Field.RecType, TI->getType()); in collectTableEntries()
DCodeGenRegisters.cpp641 RecTy *RegisterRecTy = RecordRecTy::get(RegisterCl); in expand()
/external/swiftshader/third_party/LLVM/utils/TableGen/
DCodeGenRegisters.cpp186 RecTy *RegisterRecTy = RecordRecTy::get(RegisterCl); in expand()
/external/llvm/utils/TableGen/
DCodeGenRegisters.cpp565 RecTy *RegisterRecTy = RecordRecTy::get(RegisterCl); in expand()
/external/clang/lib/CodeGen/
DCGCall.cpp72 QualType RecTy = Context.getTagDeclType(RD)->getCanonicalTypeInternal(); in GetThisType() local
73 return Context.getPointerType(CanQualType::CreateUnsafe(RecTy)); in GetThisType()
/external/clang/lib/Sema/
DSemaDecl.cpp4524 QualType RecTy = Context.getTypeDeclType(Record); in BuildMicrosoftCAnonymousStruct() local
4532 RecTy, in BuildMicrosoftCAnonymousStruct()
4548 if (RequireCompleteType(Anon->getLocation(), RecTy, in BuildMicrosoftCAnonymousStruct()