Home
last modified time | relevance | path

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

/external/llvm/lib/TableGen/
DTGParser.cpp889 BinOpInit::BinaryOp Code; in ParseOperation()
894 case tgtok::XConcat: Code = BinOpInit::CONCAT;Type = DagRecTy::get(); break; in ParseOperation()
895 case tgtok::XADD: Code = BinOpInit::ADD; Type = IntRecTy::get(); break; in ParseOperation()
896 case tgtok::XAND: Code = BinOpInit::AND; Type = IntRecTy::get(); break; in ParseOperation()
897 case tgtok::XSRA: Code = BinOpInit::SRA; Type = IntRecTy::get(); break; in ParseOperation()
898 case tgtok::XSRL: Code = BinOpInit::SRL; Type = IntRecTy::get(); break; in ParseOperation()
899 case tgtok::XSHL: Code = BinOpInit::SHL; Type = IntRecTy::get(); break; in ParseOperation()
900 case tgtok::XEq: Code = BinOpInit::EQ; Type = BitRecTy::get(); break; in ParseOperation()
902 Code = BinOpInit::LISTCONCAT; in ParseOperation()
906 Code = BinOpInit::STRCONCAT; in ParseOperation()
[all …]
DRecord.cpp734 BinOpInit *BinOpInit::get(BinaryOp opc, Init *lhs, in get()
741 static DenseMap<Key, std::unique_ptr<BinOpInit>> ThePool; in get()
746 std::unique_ptr<BinOpInit> &I = ThePool[TheKey]; in get()
747 if (!I) I.reset(new BinOpInit(opc, lhs, rhs, Type)); in get()
751 Init *BinOpInit::Fold(Record *CurRec, MultiClass *CurMultiClass) const { in Fold()
839 return const_cast<BinOpInit *>(this); in Fold()
842 Init *BinOpInit::resolveReferences(Record &R, const RecordVal *RV) const { in resolveReferences()
847 return (BinOpInit::get(getOpcode(), lhs, rhs, getType()))->Fold(&R,nullptr); in resolveReferences()
851 std::string BinOpInit::getAsString() const { in getAsString()
1920 BinOpInit *NewName = in QualifyName()
[all …]
/external/llvm/include/llvm/TableGen/
DRecord.h725 class BinOpInit : public OpInit {
733 BinOpInit(BinaryOp opc, Init *lhs, Init *rhs, RecTy *Type) : in BinOpInit() function
736 BinOpInit(const BinOpInit &Other) = delete;
737 BinOpInit &operator=(const BinOpInit &Other) = delete;
743 static BinOpInit *get(BinaryOp opc, Init *lhs, Init *rhs,
750 return BinOpInit::get(getOpcode(), Operands[0], Operands[1], getType()); in clone()