Home
last modified time | relevance | path

Searched refs:EdgeKind (Results 1 – 21 of 21) sorted by relevance

/external/rust/crates/bindgen/src/ir/
Dtraversal.rs17 kind: EdgeKind,
22 pub fn new(to: ItemId, kind: EdgeKind) -> Edge { in new()
36 pub enum EdgeKind { enum
207 edge.kind == EdgeKind::InnerType in only_inner_type_edges()
216 EdgeKind::Generic => { in codegen_edges()
223 EdgeKind::TemplateParameterDefinition | in codegen_edges()
224 EdgeKind::TemplateArgument | in codegen_edges()
225 EdgeKind::TemplateDeclaration | in codegen_edges()
226 EdgeKind::BaseMember | in codegen_edges()
227 EdgeKind::Field | in codegen_edges()
[all …]
Dtemplate.rs32 use super::traversal::{EdgeKind, Trace, Tracer};
338 .visit_kind(self.definition.into(), EdgeKind::TemplateDeclaration); in trace()
340 tracer.visit_kind(arg.into(), EdgeKind::TemplateArgument); in trace()
Dcomp.rs10 use super::traversal::{EdgeKind, Trace, Tracer};
222 tracer.visit_kind(data.ty.into(), EdgeKind::Field); in trace()
226 tracer.visit_kind(bf.ty().into(), EdgeKind::Field); in trace()
864 tracer.visit_kind(f.ty().into(), EdgeKind::Field); in trace()
1798 tracer.visit_kind(p.into(), EdgeKind::TemplateParameterDefinition); in trace()
1802 tracer.visit_kind(ty.into(), EdgeKind::InnerType); in trace()
1806 tracer.visit_kind(var.into(), EdgeKind::InnerVar); in trace()
1810 tracer.visit_kind(method.signature.into(), EdgeKind::Method); in trace()
1814 tracer.visit_kind(signature.into(), EdgeKind::Destructor); in trace()
1818 tracer.visit_kind(ctor.into(), EdgeKind::Constructor); in trace()
[all …]
Dfunction.rs7 use super::traversal::{EdgeKind, Trace, Tracer};
647 tracer.visit_kind(self.return_type().into(), EdgeKind::FunctionReturn); in trace()
650 tracer.visit_kind(ty.into(), EdgeKind::FunctionParameter); in trace()
Dty.rs15 use super::traversal::{EdgeKind, Trace, Tracer};
1238 tracer.visit_kind(inner.into(), EdgeKind::TypeReference); in trace()
1241 tracer.visit_kind(inner.into(), EdgeKind::TypeReference); in trace()
1245 EdgeKind::TemplateParameterDefinition, in trace()
Ditem.rs19 use super::traversal::{EdgeKind, Trace, Tracer};
300 tracer.visit_kind(var.ty().into(), EdgeKind::VarType); in trace()
/external/rust/crates/bindgen/src/ir/analysis/
Dhas_type_param_in_array.rs7 use crate::ir::traversal::EdgeKind;
43 fn consider_edge(kind: EdgeKind) -> bool { in consider_edge()
47 EdgeKind::BaseMember | in consider_edge()
48 EdgeKind::Field | in consider_edge()
49 EdgeKind::TypeReference | in consider_edge()
50 EdgeKind::VarType | in consider_edge()
51 EdgeKind::TemplateArgument | in consider_edge()
52 EdgeKind::TemplateDeclaration | in consider_edge()
53 EdgeKind::TemplateParameterDefinition => true, in consider_edge()
55 EdgeKind::Constructor | in consider_edge()
[all …]
Dhas_float.rs7 use crate::ir::traversal::EdgeKind;
43 fn consider_edge(kind: EdgeKind) -> bool { in consider_edge()
45 EdgeKind::BaseMember | in consider_edge()
46 EdgeKind::Field | in consider_edge()
47 EdgeKind::TypeReference | in consider_edge()
48 EdgeKind::VarType | in consider_edge()
49 EdgeKind::TemplateArgument | in consider_edge()
50 EdgeKind::TemplateDeclaration | in consider_edge()
51 EdgeKind::TemplateParameterDefinition => true, in consider_edge()
53 EdgeKind::Constructor | in consider_edge()
[all …]
Dtemplate_params.rs95 use crate::ir::traversal::{EdgeKind, Trace};
165 fn consider_edge(kind: EdgeKind) -> bool { in consider_edge()
170 EdgeKind::TemplateArgument | in consider_edge()
171 EdgeKind::BaseMember | in consider_edge()
172 EdgeKind::Field | in consider_edge()
173 EdgeKind::Constructor | in consider_edge()
174 EdgeKind::Destructor | in consider_edge()
175 EdgeKind::VarType | in consider_edge()
176 EdgeKind::FunctionReturn | in consider_edge()
177 EdgeKind::FunctionParameter | in consider_edge()
[all …]
Dderive.rs13 use crate::ir::traversal::{EdgeKind, Trace};
82 type EdgePredicate = fn(EdgeKind) -> bool;
84 fn consider_edge_default(kind: EdgeKind) -> bool { in consider_edge_default()
87 EdgeKind::BaseMember | in consider_edge_default()
88 EdgeKind::Field | in consider_edge_default()
89 EdgeKind::TypeReference | in consider_edge_default()
90 EdgeKind::VarType | in consider_edge_default()
91 EdgeKind::TemplateArgument | in consider_edge_default()
92 EdgeKind::TemplateDeclaration | in consider_edge_default()
93 EdgeKind::TemplateParameterDefinition => true, in consider_edge_default()
[all …]
Dhas_destructor.rs6 use crate::ir::traversal::EdgeKind;
43 fn consider_edge(kind: EdgeKind) -> bool { in consider_edge()
47 EdgeKind::TypeReference | in consider_edge()
48 EdgeKind::BaseMember | in consider_edge()
49 EdgeKind::Field | in consider_edge()
50 EdgeKind::TemplateArgument | in consider_edge()
51 EdgeKind::TemplateDeclaration => true, in consider_edge()
Dsizedness.rs8 use crate::ir::traversal::EdgeKind;
114 fn consider_edge(kind: EdgeKind) -> bool { in consider_edge()
118 EdgeKind::TemplateArgument | in consider_edge()
119 EdgeKind::TemplateParameterDefinition | in consider_edge()
120 EdgeKind::TemplateDeclaration | in consider_edge()
121 EdgeKind::TypeReference | in consider_edge()
122 EdgeKind::BaseMember | in consider_edge()
123 EdgeKind::Field => true, in consider_edge()
Dhas_vtable.rs5 use crate::ir::traversal::EdgeKind;
81 fn consider_edge(kind: EdgeKind) -> bool { in consider_edge()
85 EdgeKind::TypeReference | in consider_edge()
86 EdgeKind::BaseMember | in consider_edge()
87 EdgeKind::TemplateDeclaration => true, in consider_edge()
Dmod.rs58 use crate::ir::traversal::{EdgeKind, Trace};
182 F: Fn(EdgeKind) -> bool, in generate_dependencies()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DDependenceGraphBuilder.cpp158 using EdgeKind = typename EdgeType::EdgeKind; in createPiBlocks() typedef
159 EnumeratedArray<bool, EdgeKind> EdgeAlreadyCreated[DirectionCount]{ in createPiBlocks()
163 const EdgeKind K) { in createPiBlocks()
165 case EdgeKind::RegisterDefUse: in createPiBlocks()
168 case EdgeKind::MemoryDependence: in createPiBlocks()
171 case EdgeKind::Rooted: in createPiBlocks()
194 EdgeKind Kind = OldEdge->getKind(); in createPiBlocks()
DDDG.cpp152 raw_ostream &llvm::operator<<(raw_ostream &OS, const DDGEdge::EdgeKind K) { in operator <<()
155 case DDGEdge::EdgeKind::RegisterDefUse: in operator <<()
158 case DDGEdge::EdgeKind::MemoryDependence: in operator <<()
161 case DDGEdge::EdgeKind::Rooted: in operator <<()
164 case DDGEdge::EdgeKind::Unknown: in operator <<()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DDDG.h220 enum class EdgeKind { enum
229 DDGEdge(DDGNode &N, EdgeKind K) : DDGEdgeBase(N), Kind(K) {} in DDGEdge()
245 EdgeKind getKind() const { return Kind; }; in getKind()
248 bool isDefUse() const { return Kind == EdgeKind::RegisterDefUse; } in isDefUse()
251 bool isMemoryDependence() const { return Kind == EdgeKind::MemoryDependence; } in isMemoryDependence()
255 bool isRooted() const { return Kind == EdgeKind::Rooted; } in isRooted()
258 EdgeKind Kind;
366 auto *E = new DDGEdge(Tgt, DDGEdge::EdgeKind::RegisterDefUse); in createDefUseEdge()
372 auto *E = new DDGEdge(Tgt, DDGEdge::EdgeKind::MemoryDependence); in createMemoryEdge()
378 auto *E = new DDGEdge(Tgt, DDGEdge::EdgeKind::Rooted); in createRootedEdge()
[all …]
/external/llvm-project/llvm/include/llvm/Analysis/
DDDG.h222 enum class EdgeKind { enum
231 DDGEdge(DDGNode &N, EdgeKind K) : DDGEdgeBase(N), Kind(K) {} in DDGEdge()
247 EdgeKind getKind() const { return Kind; }; in getKind()
250 bool isDefUse() const { return Kind == EdgeKind::RegisterDefUse; } in isDefUse()
253 bool isMemoryDependence() const { return Kind == EdgeKind::MemoryDependence; } in isMemoryDependence()
257 bool isRooted() const { return Kind == EdgeKind::Rooted; } in isRooted()
260 EdgeKind Kind;
374 auto *E = new DDGEdge(Tgt, DDGEdge::EdgeKind::RegisterDefUse); in createDefUseEdge()
380 auto *E = new DDGEdge(Tgt, DDGEdge::EdgeKind::MemoryDependence); in createMemoryEdge()
386 auto *E = new DDGEdge(Tgt, DDGEdge::EdgeKind::Rooted); in createRootedEdge()
[all …]
/external/llvm-project/llvm/lib/Analysis/
DDependenceGraphBuilder.cpp159 using EdgeKind = typename EdgeType::EdgeKind; in createPiBlocks() typedef
160 EnumeratedArray<bool, EdgeKind> EdgeAlreadyCreated[DirectionCount]{ in createPiBlocks()
164 const EdgeKind K) { in createPiBlocks()
166 case EdgeKind::RegisterDefUse: in createPiBlocks()
169 case EdgeKind::MemoryDependence: in createPiBlocks()
172 case EdgeKind::Rooted: in createPiBlocks()
195 EdgeKind Kind = OldEdge->getKind(); in createPiBlocks()
DDDG.cpp157 raw_ostream &llvm::operator<<(raw_ostream &OS, const DDGEdge::EdgeKind K) { in operator <<()
160 case DDGEdge::EdgeKind::RegisterDefUse: in operator <<()
163 case DDGEdge::EdgeKind::MemoryDependence: in operator <<()
166 case DDGEdge::EdgeKind::Rooted: in operator <<()
169 case DDGEdge::EdgeKind::Unknown: in operator <<()
/external/tensorflow/tensorflow/compiler/jit/
Ddeadness_analysis.cc838 enum class EdgeKind { kDataAndControl, kDataOnly, kControlOnly }; enum in tensorflow::__anonaeebdbfa0111::DeadnessAnalysisImpl
840 Status GetInputPreds(Node* n, EdgeKind edge_kind,
902 Node* n, DeadnessAnalysisImpl::EdgeKind edge_kind, in GetInputPreds()
907 edge_kind == EdgeKind::kDataAndControl || in GetInputPreds()
908 (in_edge->IsControlEdge() && edge_kind == EdgeKind::kControlOnly) || in GetInputPreds()
909 (!in_edge->IsControlEdge() && edge_kind == EdgeKind::kDataOnly); in GetInputPreds()
934 TF_RETURN_IF_ERROR(GetInputPreds(n, EdgeKind::kDataAndControl, &input_preds)); in HandleSwitch()
1143 TF_RETURN_IF_ERROR(GetInputPreds(n, EdgeKind::kDataOnly, &input_preds)); in HandleMerge()
1194 TF_RETURN_IF_ERROR(GetInputPreds(n, EdgeKind::kDataAndControl, &input_preds)); in HandleRecv()
1209 TF_RETURN_IF_ERROR(GetInputPreds(n, EdgeKind::kDataAndControl, &input_preds)); in HandleGeneric()