Lines Matching defs:LLTCodeGen
257 class LLTCodeGen {
262 LLTCodeGen() = default;
263 LLTCodeGen(const LLT &Ty) : Ty(Ty) {}
275 bool operator<(const LLTCodeGen &Other) const;
276 bool operator==(const LLTCodeGen &B) const { return Ty == B.Ty; }
280 extern std::set<LLTCodeGen> KnownTypes;
284 std::optional<LLTCodeGen> MVTToLLT(MVT::SimpleValueType SVT);
289 LLTCodeGenOrTempType(const LLTCodeGen &LLT) : Data(LLT) {}
292 bool isLLTCodeGen() const { return std::holds_alternative<LLTCodeGen>(Data); }
297 const LLTCodeGen &getLLTCodeGen() const {
299 return std::get<LLTCodeGen>(Data);
308 std::variant<LLTCodeGen, TempTypeIdx> Data;
691 LLTCodeGen getFirstConditionAsRootType();
944 LLTCodeGen Ty;
947 static std::map<LLTCodeGen, unsigned> TypeIDValues;
953 for (const LLTCodeGen &LLTy : KnownTypes)
957 LLTOperandMatcher(unsigned InsnVarID, unsigned OpIdx, const LLTCodeGen &Ty)
974 LLTCodeGen getTy() const { return Ty; }