Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DAliasAnalysisSummary.h199 struct InstantiatedValue { struct
203 Optional<InstantiatedValue> instantiateInterfaceValue(InterfaceValue IValue, argument
206 inline bool operator==(InstantiatedValue LHS, InstantiatedValue RHS) {
209 inline bool operator!=(InstantiatedValue LHS, InstantiatedValue RHS) {
212 inline bool operator<(InstantiatedValue LHS, InstantiatedValue RHS) {
216 inline bool operator>(InstantiatedValue LHS, InstantiatedValue RHS) {
219 inline bool operator<=(InstantiatedValue LHS, InstantiatedValue RHS) {
222 inline bool operator>=(InstantiatedValue LHS, InstantiatedValue RHS) {
229 InstantiatedValue From, To;
238 InstantiatedValue IValue;
[all …]
DCFLSteensAliasAnalysis.cpp73 StratifiedSets<InstantiatedValue> Sets;
78 StratifiedSets<InstantiatedValue> S);
80 const StratifiedSets<InstantiatedValue> &getStratifiedSets() const { in getStratifiedSets()
118 StratifiedSets<InstantiatedValue> S) in FunctionInfo()
167 auto RetInfo = Sets.find(InstantiatedValue{RetVal, 0}); in FunctionInfo()
176 auto ParamInfo = Sets.find(InstantiatedValue{&Param, 0}); in FunctionInfo()
187 StratifiedSetsBuilder<InstantiatedValue> SetBuilder; in buildSetsFrom()
198 SetBuilder.add(InstantiatedValue{Val, 0}); in buildSetsFrom()
199 SetBuilder.noteAttributes(InstantiatedValue{Val, 0}, in buildSetsFrom()
202 SetBuilder.add(InstantiatedValue{Val, I + 1}); in buildSetsFrom()
[all …]
DCFLAndersAliasAnalysis.cpp151 InstantiatedValue IVal;
162 using ValueStateMap = DenseMap<InstantiatedValue, StateSet>;
163 using ValueReachMap = DenseMap<InstantiatedValue, ValueStateMap>;
172 bool insert(InstantiatedValue From, InstantiatedValue To, MatchState State) { in insert()
185 reachableValueAliases(InstantiatedValue V) const { in reachableValueAliases()
202 using MemSet = DenseSet<InstantiatedValue>;
203 using MemMapType = DenseMap<InstantiatedValue, MemSet>;
210 bool insert(InstantiatedValue LHS, InstantiatedValue RHS) { in insert()
217 const MemSet *getMemoryAliases(InstantiatedValue V) const { in getMemoryAliases()
227 using MapType = DenseMap<InstantiatedValue, AliasAttrs>;
[all …]
DCFLGraph.h59 using Node = InstantiatedValue;
207 if (Graph.addNode(InstantiatedValue{GVal, 0},
209 Graph.addNode(InstantiatedValue{GVal, 1}, getAttrUnknown());
212 if (Graph.addNode(InstantiatedValue{CExpr, 0}))
216 Graph.addNode(InstantiatedValue{Val, 0}, Attr);
226 Graph.addEdge(InstantiatedValue{From, 0}, InstantiatedValue{To, 0},
243 Graph.addNode(InstantiatedValue{From, 1}); in addDerefEdge()
244 Graph.addEdge(InstantiatedValue{From, 1}, InstantiatedValue{To, 0}); in addDerefEdge()
246 Graph.addNode(InstantiatedValue{To, 1}); in addDerefEdge()
247 Graph.addEdge(InstantiatedValue{From, 0}, InstantiatedValue{To, 1}); in addDerefEdge()
[all …]
DAliasAnalysisSummary.cpp75 Optional<InstantiatedValue> instantiateInterfaceValue(InterfaceValue IValue, in instantiateInterfaceValue()
80 return InstantiatedValue{V, IValue.DerefLevel}; in instantiateInterfaceValue()
/external/llvm-project/llvm/lib/Analysis/
DAliasAnalysisSummary.h202 struct InstantiatedValue { struct
206 Optional<InstantiatedValue> instantiateInterfaceValue(InterfaceValue IValue, argument
209 inline bool operator==(InstantiatedValue LHS, InstantiatedValue RHS) {
212 inline bool operator!=(InstantiatedValue LHS, InstantiatedValue RHS) {
215 inline bool operator<(InstantiatedValue LHS, InstantiatedValue RHS) {
219 inline bool operator>(InstantiatedValue LHS, InstantiatedValue RHS) {
222 inline bool operator<=(InstantiatedValue LHS, InstantiatedValue RHS) {
225 inline bool operator>=(InstantiatedValue LHS, InstantiatedValue RHS) {
232 InstantiatedValue From, To;
241 InstantiatedValue IValue;
[all …]
DCFLSteensAliasAnalysis.cpp73 StratifiedSets<InstantiatedValue> Sets;
78 StratifiedSets<InstantiatedValue> S);
80 const StratifiedSets<InstantiatedValue> &getStratifiedSets() const { in getStratifiedSets()
118 StratifiedSets<InstantiatedValue> S) in FunctionInfo()
167 auto RetInfo = Sets.find(InstantiatedValue{RetVal, 0}); in FunctionInfo()
176 auto ParamInfo = Sets.find(InstantiatedValue{&Param, 0}); in FunctionInfo()
187 StratifiedSetsBuilder<InstantiatedValue> SetBuilder; in buildSetsFrom()
198 SetBuilder.add(InstantiatedValue{Val, 0}); in buildSetsFrom()
199 SetBuilder.noteAttributes(InstantiatedValue{Val, 0}, in buildSetsFrom()
202 SetBuilder.add(InstantiatedValue{Val, I + 1}); in buildSetsFrom()
[all …]
DCFLAndersAliasAnalysis.cpp151 InstantiatedValue IVal;
162 using ValueStateMap = DenseMap<InstantiatedValue, StateSet>;
163 using ValueReachMap = DenseMap<InstantiatedValue, ValueStateMap>;
172 bool insert(InstantiatedValue From, InstantiatedValue To, MatchState State) { in insert()
185 reachableValueAliases(InstantiatedValue V) const { in reachableValueAliases()
202 using MemSet = DenseSet<InstantiatedValue>;
203 using MemMapType = DenseMap<InstantiatedValue, MemSet>;
210 bool insert(InstantiatedValue LHS, InstantiatedValue RHS) { in insert()
217 const MemSet *getMemoryAliases(InstantiatedValue V) const { in getMemoryAliases()
227 using MapType = DenseMap<InstantiatedValue, AliasAttrs>;
[all …]
DCFLGraph.h59 using Node = InstantiatedValue;
207 if (Graph.addNode(InstantiatedValue{GVal, 0},
209 Graph.addNode(InstantiatedValue{GVal, 1}, getAttrUnknown());
212 if (Graph.addNode(InstantiatedValue{CExpr, 0}))
216 Graph.addNode(InstantiatedValue{Val, 0}, Attr);
226 Graph.addEdge(InstantiatedValue{From, 0}, InstantiatedValue{To, 0},
243 Graph.addNode(InstantiatedValue{From, 1}); in addDerefEdge()
244 Graph.addEdge(InstantiatedValue{From, 1}, InstantiatedValue{To, 0}); in addDerefEdge()
246 Graph.addNode(InstantiatedValue{To, 1}); in addDerefEdge()
247 Graph.addEdge(InstantiatedValue{From, 0}, InstantiatedValue{To, 1}); in addDerefEdge()
[all …]
DAliasAnalysisSummary.cpp76 Optional<InstantiatedValue> instantiateInterfaceValue(InterfaceValue IValue, in instantiateInterfaceValue()
81 return InstantiatedValue{V, IValue.DerefLevel}; in instantiateInterfaceValue()
/external/llvm/lib/Analysis/
DAliasAnalysisSummary.h147 struct InstantiatedValue { struct
151 Optional<InstantiatedValue> instantiateInterfaceValue(InterfaceValue, CallSite); argument
156 InstantiatedValue From, To;
164 InstantiatedValue IValue;
171 template <> struct DenseMapInfo<cflaa::InstantiatedValue> {
172 static inline cflaa::InstantiatedValue getEmptyKey() {
173 return cflaa::InstantiatedValue{DenseMapInfo<Value *>::getEmptyKey(),
176 static inline cflaa::InstantiatedValue getTombstoneKey() {
177 return cflaa::InstantiatedValue{DenseMapInfo<Value *>::getTombstoneKey(),
180 static unsigned getHashValue(const cflaa::InstantiatedValue &IV) {
[all …]
DCFLSteensAliasAnalysis.cpp70 StratifiedSets<InstantiatedValue> Sets;
75 StratifiedSets<InstantiatedValue> S);
77 const StratifiedSets<InstantiatedValue> &getStratifiedSets() const { in getStratifiedSets()
130 StratifiedSets<InstantiatedValue> S) in FunctionInfo()
179 auto RetInfo = Sets.find(InstantiatedValue{RetVal, 0}); in FunctionInfo()
188 auto ParamInfo = Sets.find(InstantiatedValue{&Param, 0}); in FunctionInfo()
199 StratifiedSetsBuilder<InstantiatedValue> SetBuilder; in buildSetsFrom()
210 SetBuilder.add(InstantiatedValue{Val, 0}); in buildSetsFrom()
211 SetBuilder.noteAttributes(InstantiatedValue{Val, 0}, in buildSetsFrom()
214 SetBuilder.add(InstantiatedValue{Val, I + 1}); in buildSetsFrom()
[all …]
DCFLGraph.h39 typedef InstantiatedValue Node;
182 if (Graph.addNode(InstantiatedValue{GVal, 0},
184 Graph.addNode(InstantiatedValue{GVal, 1}, getAttrUnknown());
187 if (Graph.addNode(InstantiatedValue{CExpr, 0}))
191 Graph.addNode(InstantiatedValue{Val, 0}, Attr);
201 Graph.addEdge(InstantiatedValue{From, 0}, InstantiatedValue{To, 0},
212 Graph.addNode(InstantiatedValue{From, 1}); in addDerefEdge()
213 Graph.addEdge(InstantiatedValue{From, 1}, InstantiatedValue{To, 0}); in addDerefEdge()
398 Graph.addAttr(InstantiatedValue{V, 0}, getAttrEscaped()); in visitCallSite()
402 Graph.addNode(InstantiatedValue{V, 1}, getAttrUnknown()); in visitCallSite()
[all …]
DAliasAnalysisSummary.cpp77 Optional<InstantiatedValue> instantiateInterfaceValue(InterfaceValue IValue, in instantiateInterfaceValue()
82 return InstantiatedValue{Value, IValue.DerefLevel}; in instantiateInterfaceValue()