Searched refs:UnOpInit (Results 1 – 3 of 3) sorted by relevance
/external/llvm/lib/TableGen/ |
D | TGParser.cpp | 778 UnOpInit::UnaryOp Code; in ParseOperation() 785 Code = UnOpInit::CAST; in ParseOperation() 797 Code = UnOpInit::HEAD; in ParseOperation() 801 Code = UnOpInit::TAIL; in ParseOperation() 805 Code = UnOpInit::EMPTY; in ParseOperation() 818 if (Code == UnOpInit::HEAD || in ParseOperation() 819 Code == UnOpInit::TAIL || in ParseOperation() 820 Code == UnOpInit::EMPTY) { in ParseOperation() 837 if (Code == UnOpInit::HEAD || Code == UnOpInit::TAIL) { in ParseOperation() 854 Type = (Code == UnOpInit::HEAD) ? Itemt->getType() in ParseOperation() [all …]
|
D | Record.cpp | 606 UnOpInit *UnOpInit::get(UnaryOp opc, Init *lhs, RecTy *Type) { in get() 608 static DenseMap<Key, std::unique_ptr<UnOpInit>> ThePool; in get() 612 std::unique_ptr<UnOpInit> &I = ThePool[TheKey]; in get() 613 if (!I) I.reset(new UnOpInit(opc, lhs, Type)); in get() 617 Init *UnOpInit::Fold(Record *CurRec, MultiClass *CurMultiClass) const { in Fold() 712 return const_cast<UnOpInit *>(this); in Fold() 715 Init *UnOpInit::resolveReferences(Record &R, const RecordVal *RV) const { in resolveReferences() 719 return (UnOpInit::get(getOpcode(), lhs, getType()))->Fold(&R, nullptr); in resolveReferences() 723 std::string UnOpInit::getAsString() const { in getAsString()
|
/external/llvm/include/llvm/TableGen/ |
D | Record.h | 678 class UnOpInit : public OpInit { 686 UnOpInit(UnaryOp opc, Init *lhs, RecTy *Type) in UnOpInit() function 689 UnOpInit(const UnOpInit &Other) = delete; 690 UnOpInit &operator=(const UnOpInit &Other) = delete; 696 static UnOpInit *get(UnaryOp opc, Init *lhs, RecTy *Type); 702 return UnOpInit::get(getOpcode(), *Operands.begin(), getType()); in clone()
|