Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/compiler/tf2xla/
Dfunctionalize_cond_test.cc47 StateMap::CondId GetUniqueId(const StateMap::StateMap::CondState& state) { in GetUniqueId()
51 string GetString(const StateMap::StateMap::CondId id) { in GetString()
55 xla::StatusOr<StateMap::CondId> JoinCondStatesNonMerge(StateMap::CondId src, in JoinCondStatesNonMerge()
56 StateMap::CondId dst) { in JoinCondStatesNonMerge()
60 xla::StatusOr<StateMap::CondId> JoinCondStatesMerge(Node* n, in JoinCondStatesMerge()
61 StateMap::CondId src, in JoinCondStatesMerge()
62 StateMap::CondId dst) { in JoinCondStatesMerge()
83 StateMap::CondId then_branch; in TEST_F()
85 StateMap::CondState ss; in TEST_F()
89 StateMap::CondId else_branch; in TEST_F()
[all …]
Dfunctionalize_cond.h92 class StateMap {
94 explicit StateMap(Graph* graph);
219 StateMap::CondId StateAlongEdge(const Edge* e);
241 xla::StatusOr<StateMap::CondId> JoinCondStatesMerge(Node* merge,
242 StateMap::CondId src,
243 StateMap::CondId dst);
244 xla::StatusOr<StateMap::CondId> JoinCondStatesNonMerge(StateMap::CondId src,
245 StateMap::CondId dst);
267 StateMap state_map_;
Dfunctionalize_cond.cc70 typedef std::tuple<StateMap::CondId, StateMap::AncestorId, OutputTensor>
80 return StateMap::OutputTensorLess()(std::get<2>(a), std::get<2>(b)); in operator ()()
105 string DebugString(StateMap::CondId cond_state) { in DebugString()
107 using value_type = StateMap::CondState::value_type; in DebugString()
143 bool StateMap::OutputTensorLess::operator()(const OutputTensor& lhs, in operator ()()
150 bool operator()(const StateMap::CondState::value_type& lhs, in operator ()()
151 const StateMap::CondState::value_type& rhs) const { in operator ()()
152 if (StateMap::OutputTensorLess().operator()(lhs.first, rhs.first)) in operator ()()
161 StateMap::StateMap(Graph* graph) { in StateMap() function in tensorflow::functionalize_cond::StateMap
169 bool StateMap::IsDead(StateMap::CondId id) const { return id == dead_id_; } in IsDead()
[all …]
/external/llvm-project/clang/lib/Analysis/
DConsumed.cpp386 ConsumedState getAsState(const ConsumedStateMap *StateMap) const { in getAsState()
390 return StateMap->getState(Var); in getAsState()
392 return StateMap->getState(Tmp); in getAsState()
446 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()
466 ConsumedStateMap *StateMap; member in clang::consumed::ConsumedStmtVisitor
516 ConsumedStmtVisitor(ConsumedAnalyzer &Analyzer, ConsumedStateMap *StateMap) in ConsumedStmtVisitor() argument
517 : Analyzer(Analyzer), StateMap(StateMap) {} in ConsumedStmtVisitor()
529 StateMap = NewStateMap; in reset()
[all …]
/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/libchrome/base/i18n/
Dbuild_utf8_validator_tables.cc302 typedef std::map<StringSet, uint8_t> StateMap; typedef
308 StateMap* state_map) { in MakeState()
312 const StateMap::const_iterator where = state_map->find(rest); in MakeState()
334 StateMap state_map; in GenerateStates()
341 const StateMap::const_iterator where = state_map.find(rest); in GenerateStates()
/external/llvm-project/llvm/utils/unittest/googlemock/src/
Dgmock-spec-builders.cc544 typedef std::map<const void*, MockObjectState> StateMap; typedef in testing::__anon958f27100111::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/clang/include/clang/Analysis/Analyses/
DConsumed.h222 void addInfo(const CFGBlock *Block, ConsumedStateMap *StateMap,
225 std::unique_ptr<ConsumedStateMap> StateMap);
/external/llvm-project/clang/include/clang/Analysis/Analyses/
DConsumed.h224 void addInfo(const CFGBlock *Block, ConsumedStateMap *StateMap,
227 std::unique_ptr<ConsumedStateMap> StateMap);
/external/googletest/googlemock/src/
Dgmock-spec-builders.cc609 typedef std::map<const void*, MockObjectState> StateMap; typedef in testing::__anonf4177e150311::MockObjectRegistry
620 for (StateMap::const_iterator it = states_.begin(); it != states_.end(); in ~MockObjectRegistry()
660 StateMap& states() { return states_; } in states()
663 StateMap states_;
827 for (MockObjectRegistry::StateMap::iterator it = in UnregisterLocked()
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DFuchsiaHandleChecker.cpp623 HStateMapTy StateMap = State->get<HStateMap>(); in printState() local
625 if (!StateMap.isEmpty()) { in printState()
627 for (HStateMapTy::iterator I = StateMap.begin(), E = StateMap.end(); I != E; in printState()
/external/rust/crates/regex/src/
Ddfa.rs111 compiled: StateMap,
420 compiled: StateMap::new(num_byte_classes), in new()
1596 struct StateMap { struct
1609 impl StateMap { impl
1610 fn new(num_byte_classes: usize) -> StateMap { in new() argument
1611 StateMap { in new()
/external/fmtlib/test/
Dgmock-gtest-all.cc10788 typedef std::map<const void*, MockObjectState> StateMap; typedef in testing::__anonf69cd7f30711::MockObjectRegistry
10801 for (StateMap::const_iterator it = states_.begin(); it != states_.end(); in ~MockObjectRegistry()
10835 StateMap& states() { return states_; } in states()
10838 StateMap states_;
10991 for (MockObjectRegistry::StateMap::iterator it = in UnregisterLocked()
/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/test/gmock-1.8.0/
Dgmock-gtest-all.cc11805 typedef std::map<const void*, MockObjectState> StateMap; typedef in testing::__anone3e958430c11::MockObjectRegistry
11819 for (StateMap::const_iterator it = states_.begin(); it != states_.end(); in ~MockObjectRegistry()
11853 StateMap& states() { return states_; } in states()
11856 StateMap states_;
12009 for (MockObjectRegistry::StateMap::iterator it = in UnregisterLocked()