Home
last modified time | relevance | path

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

/external/swiftshader/third_party/subzero/src/
DWasmTranslator.cpp151 static constexpr uintptr_t NODE_FLAG = 1; member in OperandNode
161 : Data(reinterpret_cast<uintptr_t>(Node) | NODE_FLAG) {} in OperandNode()
181 return reinterpret_cast<CfgNode *>(Data & ~NODE_FLAG); in operator CfgNode*()
187 (UNDEF_PTR == Data && (Rhs.Data == 0 || Rhs.Data == NODE_FLAG)) || in operator ==()
188 (UNDEF_PTR == Rhs.Data && (Data == 0 || Data == NODE_FLAG)); in operator ==()
192 bool isOperand() const { return (Data != UNDEF_PTR) && !(Data & NODE_FLAG); } in isOperand()
193 bool isCfgNode() const { return (Data != UNDEF_PTR) && (Data & NODE_FLAG); } in isCfgNode()