Home
last modified time | relevance | path

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

/external/llvm-project/mlir/lib/Transforms/
DSCCP.cpp51 : constantAndTag(nullptr, Kind::Unknown), constantDialect(nullptr) {} in LatticeValue()
54 : constantAndTag(attr, Kind::Constant), constantDialect(dialect) {} in LatticeValue()
57 bool isUnknown() const { return constantAndTag.getInt() == Kind::Unknown; } in isUnknown()
61 constantAndTag.setPointerAndInt(nullptr, Kind::Overdefined); in markOverdefined()
67 return constantAndTag.getInt() == Kind::Overdefined; in isOverdefined()
72 constantAndTag.setPointerAndInt(value, Kind::Constant); in markConstant()
78 Attribute getConstant() const { return constantAndTag.getPointer(); } in getConstant()
95 constantAndTag = rhs.constantAndTag; in meet()
101 if (constantAndTag != rhs.constantAndTag) { in meet()
111 llvm::PointerIntPair<Attribute, 2, Kind> constantAndTag; member in __anon319c02070111::LatticeValue