Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/utils/TableGen/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::AllCXXApplyCode;
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 &getApplyCode(std::string Code) { in getApplyCode()
62 static std::vector<const CXXPredicateCode *> getAllMatchCode() { in getAllMatchCode()
66 static std::vector<const CXXPredicateCode *> getAllApplyCode() { in getAllApplyCode()
H A DPatterns.cpp144 const CXXPredicateCode &
156 return CXXPredicateCode::getApplyCode(std::move(Result)); in expandCode()
157 return CXXPredicateCode::getMatchCode(std::move(Result)); in expandCode()
H A DPatterns.h40 class CXXPredicateCode; variable
216 const CXXPredicateCode &
/freebsd-14.2/contrib/llvm-project/llvm/utils/TableGen/
H A DGlobalISelCombinerEmitter.cpp2767 auto MatchCode = CXXPredicateCode::getAllMatchCode(); in emitMIPredicateFns()
2768 emitMIPredicateFnsImpl<const CXXPredicateCode *>( in emitMIPredicateFns()
2769 OS, "", ArrayRef<const CXXPredicateCode *>(MatchCode), in emitMIPredicateFns()
2770 [](const CXXPredicateCode *C) -> StringRef { return C->BaseEnumName; }, in emitMIPredicateFns()
2771 [](const CXXPredicateCode *C) -> StringRef { return C->Code; }); in emitMIPredicateFns()
2821 const auto ApplyCode = CXXPredicateCode::getAllApplyCode(); in emitRunCustomAction()