reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
37 bool operator<(Boolean RHS) const { return V < RHS.V; } 37 bool operator<(Boolean RHS) const { return V < RHS.V; } 38 bool operator>(Boolean RHS) const { return V > RHS.V; } 38 bool operator>(Boolean RHS) const { return V > RHS.V; } 39 bool operator<=(Boolean RHS) const { return V <= RHS.V; } 39 bool operator<=(Boolean RHS) const { return V <= RHS.V; } 40 bool operator>=(Boolean RHS) const { return V >= RHS.V; } 40 bool operator>=(Boolean RHS) const { return V >= RHS.V; } 41 bool operator==(Boolean RHS) const { return V == RHS.V; } 41 bool operator==(Boolean RHS) const { return V == RHS.V; } 42 bool operator!=(Boolean RHS) const { return V != RHS.V; } 42 bool operator!=(Boolean RHS) const { return V != RHS.V; } 44 bool operator>(unsigned RHS) const { return static_cast<unsigned>(V) > RHS; } 46 Boolean operator-() const { return Boolean(V); } 49 explicit operator unsigned() const { return V; } 50 explicit operator int64_t() const { return V; } 51 explicit operator uint64_t() const { return V; } 54 return APSInt(APInt(1, static_cast<uint64_t>(V), false), true); 64 bool isZero() const { return !V; } 75 return Compare(V, RHS.V); 75 return Compare(V, RHS.V); 78 unsigned countLeadingZeros() const { return V ? 0 : 1; } 82 void print(llvm::raw_ostream &OS) const { OS << (V ? "true" : "false"); } 125 *R = Boolean(A.V || B.V); 125 *R = Boolean(A.V || B.V); 130 *R = Boolean(A.V ^ B.V); 130 *R = Boolean(A.V ^ B.V); 135 *R = Boolean(A.V && B.V); 135 *R = Boolean(A.V && B.V);