/external/swiftshader/third_party/llvm-7.0/llvm/lib/TableGen/ |
D | TGParser.cpp | 118 BinOpInit::getStrConcat(CurRec.getNameInit(), StringInit::get(Scoper)); in QualifyName() 119 NewName = BinOpInit::getStrConcat(NewName, Name); in QualifyName() 121 Init *Prefix = BinOpInit::getStrConcat(CurMultiClass->Rec.getNameInit(), in QualifyName() 123 NewName = BinOpInit::getStrConcat(Prefix, NewName); in QualifyName() 126 if (BinOpInit *BinOp = dyn_cast<BinOpInit>(NewName)) in QualifyName() 521 Name = BinOpInit::getStrConcat(VarInit::get(NameStr, StringRecTy::get()), in ParseObjectName() 1044 BinOpInit::BinaryOp Code; in ParseOperation() 1047 case tgtok::XConcat: Code = BinOpInit::CONCAT; break; in ParseOperation() 1048 case tgtok::XADD: Code = BinOpInit::ADD; break; in ParseOperation() 1049 case tgtok::XAND: Code = BinOpInit::AND; break; in ParseOperation() [all …]
|
D | Record.cpp | 810 BinOpInit *BinOpInit::get(BinaryOp Opc, Init *LHS, in get() 812 static FoldingSet<BinOpInit> ThePool; in get() 818 if (BinOpInit *I = ThePool.FindNodeOrInsertPos(ID, IP)) in get() 821 BinOpInit *I = new(Allocator) BinOpInit(Opc, LHS, RHS, Type); in get() 826 void BinOpInit::Profile(FoldingSetNodeID &ID) const { in Profile() 837 Init *BinOpInit::getStrConcat(Init *I0, Init *I1) { in getStrConcat() 842 return BinOpInit::get(BinOpInit::STRCONCAT, I0, I1, StringRecTy::get()); in getStrConcat() 845 Init *BinOpInit::Fold(Record *CurRec) const { in Fold() 959 return const_cast<BinOpInit *>(this); in Fold() 962 Init *BinOpInit::resolveReferences(Resolver &R) const { in resolveReferences() [all …]
|
/external/llvm/lib/TableGen/ |
D | Record.cpp | 777 BinOpInit *BinOpInit::get(BinaryOp Opc, Init *LHS, in get() 779 static FoldingSet<BinOpInit> ThePool; in get() 780 static std::vector<std::unique_ptr<BinOpInit>> TheActualPool; in get() 786 if (BinOpInit *I = ThePool.FindNodeOrInsertPos(ID, IP)) in get() 789 BinOpInit *I = new BinOpInit(Opc, LHS, RHS, Type); in get() 791 TheActualPool.push_back(std::unique_ptr<BinOpInit>(I)); in get() 795 void BinOpInit::Profile(FoldingSetNodeID &ID) const { in Profile() 799 Init *BinOpInit::Fold(Record *CurRec, MultiClass *CurMultiClass) const { in Fold() 887 return const_cast<BinOpInit *>(this); in Fold() 890 Init *BinOpInit::resolveReferences(Record &R, const RecordVal *RV) const { in resolveReferences() [all …]
|
D | TGParser.cpp | 884 BinOpInit::BinaryOp Code; in ParseOperation() 889 case tgtok::XConcat: Code = BinOpInit::CONCAT;Type = DagRecTy::get(); break; in ParseOperation() 890 case tgtok::XADD: Code = BinOpInit::ADD; Type = IntRecTy::get(); break; in ParseOperation() 891 case tgtok::XAND: Code = BinOpInit::AND; Type = IntRecTy::get(); break; in ParseOperation() 892 case tgtok::XSRA: Code = BinOpInit::SRA; Type = IntRecTy::get(); break; in ParseOperation() 893 case tgtok::XSRL: Code = BinOpInit::SRL; Type = IntRecTy::get(); break; in ParseOperation() 894 case tgtok::XSHL: Code = BinOpInit::SHL; Type = IntRecTy::get(); break; in ParseOperation() 895 case tgtok::XEq: Code = BinOpInit::EQ; Type = BitRecTy::get(); break; in ParseOperation() 897 Code = BinOpInit::LISTCONCAT; in ParseOperation() 901 Code = BinOpInit::STRCONCAT; in ParseOperation() [all …]
|
/external/swiftshader/third_party/LLVM/include/llvm/TableGen/ |
D | Record.h | 49 class BinOpInit; variable 96 virtual Init *convertValue( BinOpInit *UI) { in convertValue() 152 virtual Init *convertValue( BinOpInit *UI) { return RecTy::convertValue(UI);} in convertValue() 197 virtual Init *convertValue( BinOpInit *UI) { return RecTy::convertValue(UI);} in convertValue() 241 virtual Init *convertValue( BinOpInit *UI) { return RecTy::convertValue(UI);} in convertValue() 279 virtual Init *convertValue( BinOpInit *BO); 330 virtual Init *convertValue( BinOpInit *UI) { return RecTy::convertValue(UI);} in convertValue() 373 virtual Init *convertValue( BinOpInit *UI) { return RecTy::convertValue(UI);} in convertValue() 412 virtual Init *convertValue( BinOpInit *BO); 457 virtual Init *convertValue( BinOpInit *UI) { return RecTy::convertValue(UI);} in convertValue() [all …]
|
/external/swiftshader/third_party/LLVM/lib/TableGen/ |
D | Record.cpp | 267 Init *StringRecTy::convertValue(BinOpInit *BO) { in convertValue() 268 if (BO->getOpcode() == BinOpInit::STRCONCAT) { in convertValue() 273 return BinOpInit::get(BinOpInit::STRCONCAT, L, R, new StringRecTy); in convertValue() 341 Init *DagRecTy::convertValue(BinOpInit *BO) { in convertValue() 342 if (BO->getOpcode() == BinOpInit::CONCAT) { in convertValue() 347 return BinOpInit::get(BinOpInit::CONCAT, L, R, new DagRecTy); in convertValue() 868 BinOpInit *BinOpInit::get(BinaryOp opc, Init *lhs, in get() 875 typedef DenseMap<Key, BinOpInit *> Pool; in get() 881 BinOpInit *&I = ThePool[TheKey]; in get() 882 if (!I) I = new BinOpInit(opc, lhs, rhs, Type); in get() [all …]
|
D | TGParser.cpp | 809 BinOpInit::BinaryOp Code; in ParseOperation() 814 case tgtok::XConcat: Code = BinOpInit::CONCAT;Type = DagRecTy::get(); break; in ParseOperation() 815 case tgtok::XSRA: Code = BinOpInit::SRA; Type = IntRecTy::get(); break; in ParseOperation() 816 case tgtok::XSRL: Code = BinOpInit::SRL; Type = IntRecTy::get(); break; in ParseOperation() 817 case tgtok::XSHL: Code = BinOpInit::SHL; Type = IntRecTy::get(); break; in ParseOperation() 818 case tgtok::XEq: Code = BinOpInit::EQ; Type = BitRecTy::get(); break; in ParseOperation() 820 Code = BinOpInit::STRCONCAT; in ParseOperation() 851 if (Code == BinOpInit::STRCONCAT) { in ParseOperation() 854 RHS = (BinOpInit::get(Code, InitList.back(), RHS, Type)) in ParseOperation() 861 return (BinOpInit::get(Code, InitList[0], InitList[1], Type)) in ParseOperation()
|
/external/llvm/include/llvm/TableGen/ |
D | Record.h | 799 class BinOpInit : public OpInit, public FoldingSetNode { 807 BinOpInit(BinaryOp opc, Init *lhs, Init *rhs, RecTy *Type) : in BinOpInit() function 810 BinOpInit(const BinOpInit &Other) = delete; 811 BinOpInit &operator=(const BinOpInit &Other) = delete; 817 static BinOpInit *get(BinaryOp opc, Init *lhs, Init *rhs, 826 return BinOpInit::get(getOpcode(), Operands[0], Operands[1], getType()); in clone()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/TableGen/ |
D | Record.h | 799 class BinOpInit : public OpInit, public FoldingSetNode { 807 BinOpInit(BinaryOp opc, Init *lhs, Init *rhs, RecTy *Type) : in BinOpInit() function 811 BinOpInit(const BinOpInit &) = delete; 812 BinOpInit &operator=(const BinOpInit &) = delete; 818 static BinOpInit *get(BinaryOp opc, Init *lhs, Init *rhs, 828 return BinOpInit::get(getOpcode(), Operands[0], Operands[1], getType()); in clone()
|