Home
last modified time | relevance | path

Searched refs:UnOpInit (Results 1 – 9 of 9) sorted by relevance

/external/llvm/lib/TableGen/
DTGParser.cpp773 UnOpInit::UnaryOp Code; in ParseOperation()
780 Code = UnOpInit::CAST; in ParseOperation()
792 Code = UnOpInit::HEAD; in ParseOperation()
796 Code = UnOpInit::TAIL; in ParseOperation()
800 Code = UnOpInit::EMPTY; in ParseOperation()
813 if (Code == UnOpInit::HEAD || in ParseOperation()
814 Code == UnOpInit::TAIL || in ParseOperation()
815 Code == UnOpInit::EMPTY) { in ParseOperation()
832 if (Code == UnOpInit::HEAD || Code == UnOpInit::TAIL) { in ParseOperation()
849 Type = (Code == UnOpInit::HEAD) ? Itemt->getType() in ParseOperation()
[all …]
DRecord.cpp630 UnOpInit *UnOpInit::get(UnaryOp Opc, Init *LHS, RecTy *Type) { in get()
631 static FoldingSet<UnOpInit> ThePool; in get()
632 static std::vector<std::unique_ptr<UnOpInit>> TheActualPool; in get()
638 if (UnOpInit *I = ThePool.FindNodeOrInsertPos(ID, IP)) in get()
641 UnOpInit *I = new UnOpInit(Opc, LHS, Type); in get()
643 TheActualPool.push_back(std::unique_ptr<UnOpInit>(I)); in get()
647 void UnOpInit::Profile(FoldingSetNodeID &ID) const { in Profile()
651 Init *UnOpInit::Fold(Record *CurRec, MultiClass *CurMultiClass) const { in Fold()
746 return const_cast<UnOpInit *>(this); in Fold()
749 Init *UnOpInit::resolveReferences(Record &R, const RecordVal *RV) const { in resolveReferences()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/TableGen/
DTGParser.cpp872 return UnOpInit::get(UnOpInit::CAST, Name, CurRec->getType()); in ParseIDValue()
892 UnOpInit::UnaryOp Code; in ParseOperation()
899 Code = UnOpInit::CAST; in ParseOperation()
911 Code = UnOpInit::HEAD; in ParseOperation()
915 Code = UnOpInit::TAIL; in ParseOperation()
919 Code = UnOpInit::SIZE; in ParseOperation()
924 Code = UnOpInit::EMPTY; in ParseOperation()
937 if (Code == UnOpInit::HEAD || in ParseOperation()
938 Code == UnOpInit::TAIL || in ParseOperation()
939 Code == UnOpInit::EMPTY) { in ParseOperation()
[all …]
DRecord.cpp680 UnOpInit *UnOpInit::get(UnaryOp Opc, Init *LHS, RecTy *Type) { in get()
681 static FoldingSet<UnOpInit> ThePool; in get()
687 if (UnOpInit *I = ThePool.FindNodeOrInsertPos(ID, IP)) in get()
690 UnOpInit *I = new(Allocator) UnOpInit(Opc, LHS, Type); in get()
695 void UnOpInit::Profile(FoldingSetNodeID &ID) const { in Profile()
699 Init *UnOpInit::Fold(Record *CurRec, bool IsFinal) const { in Fold()
777 return const_cast<UnOpInit *>(this); in Fold()
780 Init *UnOpInit::resolveReferences(Resolver &R) const { in resolveReferences()
784 return (UnOpInit::get(getOpcode(), lhs, getType())) in resolveReferences()
786 return const_cast<UnOpInit *>(this); in resolveReferences()
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/TableGen/
DRecord.h48 class UnOpInit; variable
93 virtual Init *convertValue( UnOpInit *UI) { in convertValue()
151 virtual Init *convertValue( UnOpInit *UI) { return RecTy::convertValue(UI);} in convertValue()
196 virtual Init *convertValue( UnOpInit *UI) { return RecTy::convertValue(UI);} in convertValue()
240 virtual Init *convertValue( UnOpInit *UI) { return RecTy::convertValue(UI);} in convertValue()
278 virtual Init *convertValue( UnOpInit *BO);
329 virtual Init *convertValue( UnOpInit *UI) { return RecTy::convertValue(UI);} in convertValue()
372 virtual Init *convertValue( UnOpInit *UI) { return RecTy::convertValue(UI);} in convertValue()
411 virtual Init *convertValue( UnOpInit *BO);
456 virtual Init *convertValue( UnOpInit *UI) { return RecTy::convertValue(UI);} in convertValue()
[all …]
/external/swiftshader/third_party/LLVM/lib/TableGen/
DRecord.cpp255 Init *StringRecTy::convertValue(UnOpInit *BO) { in convertValue()
256 if (BO->getOpcode() == UnOpInit::CAST) { in convertValue()
260 return UnOpInit::get(UnOpInit::CAST, L, new StringRecTy); in convertValue()
330 Init *DagRecTy::convertValue(UnOpInit *BO) { in convertValue()
331 if (BO->getOpcode() == UnOpInit::CAST) { in convertValue()
335 return UnOpInit::get(UnOpInit::CAST, L, new DagRecTy); in convertValue()
723 UnOpInit *UnOpInit::get(UnaryOp opc, Init *lhs, RecTy *Type) { in get()
726 typedef DenseMap<Key, UnOpInit *> Pool; in get()
731 UnOpInit *&I = ThePool[TheKey]; in get()
732 if (!I) I = new UnOpInit(opc, lhs, Type); in get()
[all …]
DTGParser.cpp693 UnOpInit::UnaryOp Code; in ParseOperation()
700 Code = UnOpInit::CAST; in ParseOperation()
712 Code = UnOpInit::HEAD; in ParseOperation()
716 Code = UnOpInit::TAIL; in ParseOperation()
720 Code = UnOpInit::EMPTY; in ParseOperation()
733 if (Code == UnOpInit::HEAD in ParseOperation()
734 || Code == UnOpInit::TAIL in ParseOperation()
735 || Code == UnOpInit::EMPTY) { in ParseOperation()
752 if (Code == UnOpInit::HEAD in ParseOperation()
753 || Code == UnOpInit::TAIL) { in ParseOperation()
[all …]
/external/llvm/include/llvm/TableGen/
DRecord.h751 class UnOpInit : public OpInit, public FoldingSetNode {
758 UnOpInit(UnaryOp opc, Init *lhs, RecTy *Type) in UnOpInit() function
761 UnOpInit(const UnOpInit &Other) = delete;
762 UnOpInit &operator=(const UnOpInit &Other) = delete;
768 static UnOpInit *get(UnaryOp opc, Init *lhs, RecTy *Type);
776 return UnOpInit::get(getOpcode(), *Operands.begin(), getType()); in clone()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/TableGen/
DRecord.h750 class UnOpInit : public OpInit, public FoldingSetNode {
757 UnOpInit(UnaryOp opc, Init *lhs, RecTy *Type) in UnOpInit() function
761 UnOpInit(const UnOpInit &) = delete;
762 UnOpInit &operator=(const UnOpInit &) = delete;
768 static UnOpInit *get(UnaryOp opc, Init *lhs, RecTy *Type);
776 return UnOpInit::get(getOpcode(), *Operands.begin(), getType()); in clone()