Searched refs:CXXPredicateCode (Results 1 – 5 of 5) sorted by relevance
| /llvm-project/llvm/utils/TableGen/Common/GlobalISel/ |
| H A D | CXXPredicates.cpp | 18 std::vector<const CXXPredicateCode *> 19 CXXPredicateCode::getSorted(const CXXPredicateCodePool &Pool) { in getSorted() 20 std::vector<const CXXPredicateCode *> Out; in getSorted() 27 const CXXPredicateCode &CXXPredicateCode::get(CXXPredicateCodePool &Pool, in get() 36 auto OwnedData = std::unique_ptr<CXXPredicateCode>( in get() 37 new CXXPredicateCode(std::move(Code), ID)); in get() 44 CXXPredicateCode::CXXPredicateCode(std::string Code, unsigned ID) in CXXPredicateCode() function in llvm::gi::CXXPredicateCode 47 CXXPredicateCode::CXXPredicateCodePool CXXPredicateCode::AllCXXMatchCode; 48 CXXPredicateCode::CXXPredicateCodePool CXXPredicateCode::AllCXXCustomActionCode;
|
| H A D | CXXPredicates.h | 36 class CXXPredicateCode { 38 DenseMap<hash_code, std::unique_ptr<CXXPredicateCode>>; 43 static std::vector<const CXXPredicateCode *> 46 /// Gets an instance of `CXXPredicateCode` for \p Code, or returns an already 48 static const CXXPredicateCode &get(CXXPredicateCodePool &Pool, 51 CXXPredicateCode(std::string Code, unsigned ID); 54 static const CXXPredicateCode &getMatchCode(std::string Code) { in getMatchCode() 58 static const CXXPredicateCode &getCustomActionCode(std::string Code) { in getCustomActionCode() 62 static std::vector<const CXXPredicateCode *> getAllMatchCode() { in getAllMatchCode() 66 static std::vector<const CXXPredicateCode *> getAllCustomActionsCod [all...] |
| H A D | Patterns.h | 41 class CXXPredicateCode; variable 199 /// For the expanded code, \see CXXPredicateCode. CXXPredicateCode objects are 240 /// \return A CXXPredicateCode object that contains the expanded code. Note 241 /// that this may or may not insert a new object. All CXXPredicateCode objects 243 const CXXPredicateCode &
|
| H A D | Patterns.cpp | 183 const CXXPredicateCode & in print() 196 return CXXPredicateCode::getMatchCode(std::move(Result)); in print()
|
| /llvm-project/llvm/utils/TableGen/ |
| H A D | GlobalISelCombinerEmitter.cpp | 1910 const auto &Code = CXXPredicateCode::getCustomActionCode(CodeStr); in emitInstructionApplyPattern() 2546 auto MatchCode = CXXPredicateCode::getAllMatchCode(); in buildMatchTable() 2547 emitMIPredicateFnsImpl<const CXXPredicateCode *>( in buildMatchTable() 2548 OS, "", ArrayRef<const CXXPredicateCode *>(MatchCode), in buildMatchTable() 2549 [](const CXXPredicateCode *C) -> StringRef { return C->BaseEnumName; }, in buildMatchTable() 2550 [](const CXXPredicateCode *C) -> StringRef { return C->Code; }); in buildMatchTable() 2600 const auto CustomActionsCode = CXXPredicateCode::getAllCustomActionsCode(); in gatherRules()
|