Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/compiler/tf2xla/
Dfunctionalize_cond_test.cc40 StateMap::CondId GetUniqueId(const StateMap::StateMap::CondState& state) { in GetUniqueId()
44 string GetString(const StateMap::StateMap::CondId id) { in GetString()
48 xla::StatusOr<StateMap::CondId> JoinCondStatesNonMerge(StateMap::CondId src, in JoinCondStatesNonMerge()
49 StateMap::CondId dst) { in JoinCondStatesNonMerge()
53 xla::StatusOr<StateMap::CondId> JoinCondStatesMerge(Node* n, in JoinCondStatesMerge()
54 StateMap::CondId src, in JoinCondStatesMerge()
55 StateMap::CondId dst) { in JoinCondStatesMerge()
76 StateMap::CondId then_branch; in TEST_F()
78 StateMap::CondState ss; in TEST_F()
82 StateMap::CondId else_branch; in TEST_F()
[all …]
Dfunctionalize_cond.cc66 typedef std::tuple<StateMap::CondId, StateMap::AncestorId, OutputTensor>
76 return StateMap::OutputTensorLess()(std::get<2>(a), std::get<2>(b)); in operator ()()
101 string DebugString(StateMap::CondId cond_state) { in DebugString()
103 using value_type = StateMap::CondState::value_type; in DebugString()
139 bool StateMap::OutputTensorLess::operator()(const OutputTensor& lhs, in operator ()()
146 bool operator()(const StateMap::CondState::value_type& lhs, in operator ()()
147 const StateMap::CondState::value_type& rhs) const { in operator ()()
148 if (StateMap::OutputTensorLess().operator()(lhs.first, rhs.first)) in operator ()()
157 StateMap::StateMap(Graph* graph) { in StateMap() function in tensorflow::functionalize_cond::StateMap
165 bool StateMap::IsDead(StateMap::CondId id) const { return id == dead_id_; } in IsDead()
[all …]
Dfunctionalize_cond.h81 class StateMap {
83 explicit StateMap(Graph* graph);
209 StateMap::CondId StateAlongEdge(const Edge* e);
231 xla::StatusOr<StateMap::CondId> JoinCondStatesMerge(Node* merge,
232 StateMap::CondId src,
233 StateMap::CondId dst);
234 xla::StatusOr<StateMap::CondId> JoinCondStatesNonMerge(StateMap::CondId src,
235 StateMap::CondId dst);
257 StateMap state_map_;
/external/clang/lib/Analysis/
DConsumed.cpp388 ConsumedState getAsState(const ConsumedStateMap *StateMap) const { in getAsState()
392 return StateMap->getState(Var); in getAsState()
394 return StateMap->getState(Tmp); in getAsState()
445 setStateForVarOrTmp(ConsumedStateMap *StateMap, const PropagationInfo &PInfo, in setStateForVarOrTmp() argument
451 StateMap->setState(PInfo.getVar(), State); in setStateForVarOrTmp()
453 StateMap->setState(PInfo.getTmp(), State); in setStateForVarOrTmp()
465 ConsumedStateMap *StateMap; member in clang::consumed::ConsumedStmtVisitor
514 ConsumedStateMap *StateMap) in ConsumedStmtVisitor() argument
515 : AC(AC), Analyzer(Analyzer), StateMap(StateMap) {} in ConsumedStmtVisitor()
527 StateMap = NewStateMap; in reset()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googlemock/src/
Dgmock-spec-builders.cc544 typedef std::map<const void*, MockObjectState> StateMap; typedef in testing::__anonbfc63a330111::MockObjectRegistry
558 for (StateMap::const_iterator it = states_.begin(); it != states_.end(); in ~MockObjectRegistry()
592 StateMap& states() { return states_; } in states()
595 StateMap states_;
748 for (MockObjectRegistry::StateMap::iterator it = in UnregisterLocked()
/external/google-breakpad/src/testing/src/
Dgmock-spec-builders.cc534 typedef std::map<const void*, MockObjectState> StateMap; typedef in testing::__anonba74af030111::MockObjectRegistry
548 for (StateMap::const_iterator it = states_.begin(); it != states_.end(); in ~MockObjectRegistry()
582 StateMap& states() { return states_; } in states()
585 StateMap states_;
738 for (MockObjectRegistry::StateMap::iterator it = in UnregisterLocked()
/external/googletest/googlemock/src/
Dgmock-spec-builders.cc588 typedef std::map<const void*, MockObjectState> StateMap; typedef in testing::__anoncbefcb4e0111::MockObjectRegistry
599 for (StateMap::const_iterator it = states_.begin(); it != states_.end(); in ~MockObjectRegistry()
639 StateMap& states() { return states_; } in states()
642 StateMap states_;
806 for (MockObjectRegistry::StateMap::iterator it = in UnregisterLocked()
/external/clang/include/clang/Analysis/Analyses/
DConsumed.h222 void addInfo(const CFGBlock *Block, ConsumedStateMap *StateMap,
225 std::unique_ptr<ConsumedStateMap> StateMap);