MCPcopy Create free account
hub / github.com/KhronosGroup/SPIRV-Tools / IsSameImpl

Method IsSameImpl

source/opt/types.cpp:378–382  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

376}
377
378bool Integer::IsSameImpl(const Type* that, IsSameCache*) const {
379 const Integer* it = that->AsInteger();
380 return it && width_ == it->width_ && signed_ == it->signed_ &&
381 HasSameDecorations(that);
382}
383
384std::string Integer::str() const {
385 std::ostringstream oss;

Callers

nothing calls this directly

Calls 15

CompareTwoVectorsFunction · 0.85
AsIntegerMethod · 0.80
AsFloatMethod · 0.80
AsVectorMethod · 0.80
AsMatrixMethod · 0.80
AsImageMethod · 0.80
AsSampledImageMethod · 0.80
AsArrayMethod · 0.80
AsRuntimeArrayMethod · 0.80
AsStructMethod · 0.80
AsOpaqueMethod · 0.80

Tested by

no test coverage detected