Home
last modified time | relevance | path

Searched refs:BinOpInit (Results 1 – 3 of 3) sorted by relevance

/external/llvm/lib/TableGen/
DRecord.cpp263 Init *StringRecTy::convertValue(BinOpInit *BO) { in convertValue()
264 if (BO->getOpcode() == BinOpInit::STRCONCAT) { in convertValue()
269 return BinOpInit::get(BinOpInit::STRCONCAT, L, R, new StringRecTy); in convertValue()
335 Init *DagRecTy::convertValue(BinOpInit *BO) { in convertValue()
336 if (BO->getOpcode() == BinOpInit::CONCAT) { in convertValue()
341 return BinOpInit::get(BinOpInit::CONCAT, L, R, new DagRecTy); in convertValue()
887 BinOpInit *BinOpInit::get(BinaryOp opc, Init *lhs, in get()
894 static Pool<DenseMap<Key, BinOpInit *> > ThePool; in get()
899 BinOpInit *&I = ThePool[TheKey]; in get()
900 if (!I) I = new BinOpInit(opc, lhs, rhs, Type); in get()
[all …]
DTGParser.cpp915 BinOpInit::BinaryOp Code; in ParseOperation()
920 case tgtok::XConcat: Code = BinOpInit::CONCAT;Type = DagRecTy::get(); break; in ParseOperation()
921 case tgtok::XADD: Code = BinOpInit::ADD; Type = IntRecTy::get(); break; in ParseOperation()
922 case tgtok::XAND: Code = BinOpInit::AND; Type = IntRecTy::get(); break; in ParseOperation()
923 case tgtok::XSRA: Code = BinOpInit::SRA; Type = IntRecTy::get(); break; in ParseOperation()
924 case tgtok::XSRL: Code = BinOpInit::SRL; Type = IntRecTy::get(); break; in ParseOperation()
925 case tgtok::XSHL: Code = BinOpInit::SHL; Type = IntRecTy::get(); break; in ParseOperation()
926 case tgtok::XEq: Code = BinOpInit::EQ; Type = BitRecTy::get(); break; in ParseOperation()
928 Code = BinOpInit::LISTCONCAT; in ParseOperation()
932 Code = BinOpInit::STRCONCAT; in ParseOperation()
[all …]
/external/llvm/include/llvm/TableGen/
DRecord.h49 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()
938 class BinOpInit : public OpInit {
[all …]