Searched refs:BinOpInit (Results 1 – 3 of 3) sorted by relevance
/external/llvm/lib/TableGen/ |
D | Record.cpp | 250 Init *StringRecTy::convertValue(BinOpInit *BO) { in convertValue() 251 if (BO->getOpcode() == BinOpInit::STRCONCAT) { in convertValue() 256 return BinOpInit::get(BinOpInit::STRCONCAT, L, R, new StringRecTy); in convertValue() 322 Init *DagRecTy::convertValue(BinOpInit *BO) { in convertValue() 323 if (BO->getOpcode() == BinOpInit::CONCAT) { in convertValue() 328 return BinOpInit::get(BinOpInit::CONCAT, L, R, new DagRecTy); in convertValue() 874 BinOpInit *BinOpInit::get(BinaryOp opc, Init *lhs, in get() 881 static Pool<DenseMap<Key, BinOpInit *> > ThePool; in get() 886 BinOpInit *&I = ThePool[TheKey]; in get() 887 if (!I) I = new BinOpInit(opc, lhs, rhs, Type); in get() [all …]
|
D | TGParser.cpp | 917 BinOpInit::BinaryOp Code; in ParseOperation() 922 case tgtok::XConcat: Code = BinOpInit::CONCAT;Type = DagRecTy::get(); break; in ParseOperation() 923 case tgtok::XADD: Code = BinOpInit::ADD; Type = IntRecTy::get(); break; in ParseOperation() 924 case tgtok::XSRA: Code = BinOpInit::SRA; Type = IntRecTy::get(); break; in ParseOperation() 925 case tgtok::XSRL: Code = BinOpInit::SRL; Type = IntRecTy::get(); break; in ParseOperation() 926 case tgtok::XSHL: Code = BinOpInit::SHL; Type = IntRecTy::get(); break; in ParseOperation() 927 case tgtok::XEq: Code = BinOpInit::EQ; Type = BitRecTy::get(); break; in ParseOperation() 929 Code = BinOpInit::LISTCONCAT; in ParseOperation() 933 Code = BinOpInit::STRCONCAT; in ParseOperation() 977 if (Code == BinOpInit::STRCONCAT || Code == BinOpInit::LISTCONCAT) { in ParseOperation() [all …]
|
/external/llvm/include/llvm/TableGen/ |
D | Record.h | 49 class BinOpInit; variable 114 virtual Init *convertValue( BinOpInit *UI) { in convertValue() 163 Init *convertValue( BinOpInit *UI) override { return RecTy::convertValue(UI);} in convertValue() 202 Init *convertValue( BinOpInit *UI) override { return RecTy::convertValue(UI);} in convertValue() 239 Init *convertValue( BinOpInit *UI) override { return RecTy::convertValue(UI);} in convertValue() 274 Init *convertValue( BinOpInit *BO) override; 317 Init *convertValue( BinOpInit *UI) override { return RecTy::convertValue(UI);} in convertValue() 354 Init *convertValue( BinOpInit *BO) override; 393 Init *convertValue( BinOpInit *UI) override { return RecTy::convertValue(UI);} in convertValue() 929 class BinOpInit : public OpInit { [all …]
|