HomeSort by relevance Sort by last modified time
    Searched refs:BinOpInit (Results 1 - 3 of 3) sorted by null

  /external/llvm/lib/TableGen/
TGParser.cpp 889 BinOpInit::BinaryOp Code;
894 case tgtok::XConcat: Code = BinOpInit::CONCAT;Type = DagRecTy::get(); break;
895 case tgtok::XADD: Code = BinOpInit::ADD; Type = IntRecTy::get(); break;
896 case tgtok::XAND: Code = BinOpInit::AND; Type = IntRecTy::get(); break;
897 case tgtok::XSRA: Code = BinOpInit::SRA; Type = IntRecTy::get(); break;
898 case tgtok::XSRL: Code = BinOpInit::SRL; Type = IntRecTy::get(); break;
899 case tgtok::XSHL: Code = BinOpInit::SHL; Type = IntRecTy::get(); break;
900 case tgtok::XEq: Code = BinOpInit::EQ; Type = BitRecTy::get(); break;
902 Code = BinOpInit::LISTCONCAT;
906 Code = BinOpInit::STRCONCAT
    [all...]
Record.cpp 734 BinOpInit *BinOpInit::get(BinaryOp opc, Init *lhs,
741 static DenseMap<Key, std::unique_ptr<BinOpInit>> ThePool;
746 std::unique_ptr<BinOpInit> &I = ThePool[TheKey];
747 if (!I) I.reset(new BinOpInit(opc, lhs, rhs, Type));
751 Init *BinOpInit::Fold(Record *CurRec, MultiClass *CurMultiClass) const {
839 return const_cast<BinOpInit *>(this);
842 Init *BinOpInit::resolveReferences(Record &R, const RecordVal *RV) const {
847 return (BinOpInit::get(getOpcode(), lhs, rhs, getType()))->Fold(&R,nullptr);
851 std::string BinOpInit::getAsString() const
    [all...]
  /external/llvm/include/llvm/TableGen/
Record.h 723 /// BinOpInit - !op (X, Y) - Combine two inits.
725 class BinOpInit : public OpInit {
733 BinOpInit(BinaryOp opc, Init *lhs, Init *rhs, RecTy *Type) :
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());
    [all...]

Completed in 68 milliseconds