Home
last modified time | relevance | path

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

/external/pytorch/torch/csrc/jit/tensorexpr/
Dhash_provider.h12 struct TORCH_API SimplifierHashType { struct
13 SimplifierHashType() = default;
14 explicit SimplifierHashType(size_t s) : _h(s) {} in SimplifierHashType() function
16 bool operator==(const SimplifierHashType& other) const;
17 bool operator!=(const SimplifierHashType& other) const;
18 bool operator<(const SimplifierHashType& other) const;
29 struct hash<torch::jit::tensorexpr::SimplifierHashType> {
30 size_t operator()(const torch::jit::tensorexpr::SimplifierHashType& k) const {
52 SimplifierHashType hash(T e) {
111 SimplifierHashType hash_combine(const Types&... args) {
[all …]
Dhash_provider.cpp9 bool SimplifierHashType::operator==(const SimplifierHashType& other) const { in operator ==()
13 bool SimplifierHashType::operator!=(const SimplifierHashType& other) const { in operator !=()
17 bool SimplifierHashType::operator<(const SimplifierHashType& other) const { in operator <()
21 bool SimplifierHashType::operator==(const size_t other) const { in operator ==()
25 bool SimplifierHashType::operator!=(const size_t other) const { in operator !=()
159 SimplifierHashType indices_hash; in visit()
170 SimplifierHashType indices_hash; in visit()
184 SimplifierHashType hash; in visit()
199 SimplifierHashType hash = hash_combine( in visit()
237 putHash(v, (SimplifierHashType)rand()); in visit()
[all …]
Dregisterizer.h53 SimplifierHashType h, in AccessInfo()
90 SimplifierHashType hash() const { in hash()
176 SimplifierHashType hash_;
216 std::unordered_map<SimplifierHashType, std::shared_ptr<AccessInfo>>;
Dir_simplifier.h59 std::unordered_map<SimplifierHashType, ExprType>& m) { in promoteTypesMap() argument
134 std::unordered_map<SimplifierHashType, ExprPtr> varmap) in Term() argument
154 SimplifierHashType hashVars() const;
210 std::unordered_map<SimplifierHashType, TermPtr> varmap) in Polynomial() argument
228 SimplifierHashType hashVars() const;
425 std::unordered_map<SimplifierHashType, TermPtr>& varmap,
Dir_simplifier.cpp88 SimplifierHashType Term::hashVars() const { in hashVars()
89 SimplifierHashType hash; in hashVars()
117 SimplifierHashType Polynomial::hashVars() const { in hashVars()
118 SimplifierHashType hash; in hashVars()
309 std::unordered_map<SimplifierHashType, TermPtr>& varmap, in addOrUpdateTerm() argument
311 SimplifierHashType hash = term->hashVars(); in addOrUpdateTerm()
333 std::unordered_map<SimplifierHashType, TermPtr> varmap; in addPolynomials()
351 SimplifierHashType tHash = term->hashVars(); in insertTerm()
544 std::unordered_map<SimplifierHashType, TermPtr> varmap; in subPolynomials()
Dregisterizer.cpp399 SimplifierHashType accessHash = hasher_.hash(v->buf()); in visit()
448 SimplifierHashType accessHash = hasher_.hash(v->buf()); in visit()