Home
last modified time | relevance | path

Searched refs:CXXPredicateCode (Results 1 – 6 of 6) sorted by relevance

/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/GlobalISel/
H A DCXXPredicates.cpp18 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 DCXXPredicates.h36 class CXXPredicateCode {
38 DenseMap<hash_code, std::unique_ptr<CXXPredicateCode>>;
43 static std::vector<const CXXPredicateCode *>
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 *> getAllCustomActionsCode() { in getAllCustomActionsCode()
H A DPatterns.h41 class CXXPredicateCode; variable
221 const CXXPredicateCode &
H A DPatterns.cpp145 const CXXPredicateCode &
158 return CXXPredicateCode::getMatchCode(std::move(Result)); in expandCode()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DGlobalISelCombinerMatchTableEmitter.cpp
H A DGlobalISelCombinerEmitter.cpp1847 const auto &Code = CXXPredicateCode::getCustomActionCode(CodeStr); in emitCXXMatchApply()
2451 auto MatchCode = CXXPredicateCode::getAllMatchCode(); in emitMIPredicateFns()
2452 emitMIPredicateFnsImpl<const CXXPredicateCode *>( in emitMIPredicateFns()
2453 OS, "", ArrayRef<const CXXPredicateCode *>(MatchCode), in emitMIPredicateFns()
2454 [](const CXXPredicateCode *C) -> StringRef { return C->BaseEnumName; }, in emitMIPredicateFns()
2455 [](const CXXPredicateCode *C) -> StringRef { return C->Code; }); in emitMIPredicateFns()
2505 const auto CustomActionsCode = CXXPredicateCode::getAllCustomActionsCode(); in emitRunCustomAction()