Home
last modified time | relevance | path

Searched refs:GVN (Results 1 – 25 of 124) sorted by relevance

12345

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DGVN.cpp106 struct llvm::GVN::Expression {
135 template <> struct DenseMapInfo<GVN::Expression> {
136 static inline GVN::Expression getEmptyKey() { return ~0U; } in getEmptyKey()
137 static inline GVN::Expression getTombstoneKey() { return ~1U; } in getTombstoneKey()
139 static unsigned getHashValue(const GVN::Expression &e) { in getHashValue()
145 static bool isEqual(const GVN::Expression &LHS, const GVN::Expression &RHS) { in isEqual()
226 GVN &gvn) const;
256 Value *MaterializeAdjustedValue(LoadInst *LI, GVN &gvn) const { in MaterializeAdjustedValue()
265 GVN::Expression GVN::ValueTable::createExpr(Instruction *I) { in createExpr()
301 GVN::Expression GVN::ValueTable::createCmpExpr(unsigned Opcode, in createCmpExpr()
[all …]
/external/llvm/lib/Transforms/Scalar/
DGVN.cpp77 struct llvm::GVN::Expression {
104 template <> struct DenseMapInfo<GVN::Expression> {
105 static inline GVN::Expression getEmptyKey() { return ~0U; } in getEmptyKey()
107 static inline GVN::Expression getTombstoneKey() { return ~1U; } in getTombstoneKey()
109 static unsigned getHashValue(const GVN::Expression &e) { in getHashValue()
113 static bool isEqual(const GVN::Expression &LHS, const GVN::Expression &RHS) { in isEqual()
193 GVN &gvn) const;
222 Value *MaterializeAdjustedValue(LoadInst *LI, GVN &gvn) const { in MaterializeAdjustedValue()
231 GVN::Expression GVN::ValueTable::createExpr(Instruction *I) { in createExpr()
265 GVN::Expression GVN::ValueTable::createCmpExpr(unsigned Opcode, in createCmpExpr()
[all …]
/external/swiftshader/third_party/LLVM/test/Transforms/GVN/
Datomic.ll9 ; GVN across unordered store (allowed)
21 ; GVN across seq_cst store (allowed in theory; not implemented ATM)
33 ; GVN across unordered load (allowed)
46 ; GVN across acquire load (load after atomic load must not be removed)
60 ; GVN load to unordered load (allowed)
71 ; GVN unordered load to load (unordered load must not be removed)
Dnon-local-offset.ll5 ; GVN should ignore the store to p[1] to see that the load from p[0] is
29 ; GVN should ignore the store to p[1] to see that the first load from p[0] is
/external/llvm/test/Analysis/TypeBasedAliasAnalysis/
Dgvn-nonlocal-type-mismatch.ll5 ; GVN should ignore the store to p1 to see that the load from p is
28 ; GVN should ignore the store to p1 to see that the first load from p is
30 ; the other type could be unified with the first type, however for now, GVN
59 ; As before, but the types are swapped. This time GVN does managed to
/external/swiftshader/third_party/LLVM/test/Analysis/TypeBasedAliasAnalysis/
Dgvn-nonlocal-type-mismatch.ll5 ; GVN should ignore the store to p1 to see that the load from p is
28 ; GVN should ignore the store to p1 to see that the first load from p is
30 ; the other type could be unified with the first type, however for now, GVN
59 ; As before, but the types are swapped. This time GVN does managed to
/external/swiftshader/third_party/llvm-7.0/llvm/test/Analysis/TypeBasedAliasAnalysis/
Dgvn-nonlocal-type-mismatch.ll5 ; GVN should ignore the store to p1 to see that the load from p is
28 ; GVN should ignore the store to p1 to see that the first load from p is
30 ; the other type could be unified with the first type, however for now, GVN
59 ; As before, but the types are swapped. This time GVN does managed to
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Scalar/
DGVN.h68 class GVN : public PassInfoMixin<GVN> {
122 uint32_t Num, GVN &Gvn);
124 bool areAllValsInBB(uint32_t num, const BasicBlock *BB, GVN &Gvn);
137 uint32_t Num, GVN &Gvn);
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DGVN.cpp444 class GVN : public FunctionPass { class
465 explicit GVN(bool noloads = false) in GVN() function in __anon6f1231750211::GVN
560 char GVN::ID = 0;
565 return new GVN(NoLoads); in createGVNPass()
568 INITIALIZE_PASS_BEGIN(GVN, "gvn", "Global Value Numbering", false, false)
572 INITIALIZE_PASS_END(GVN, "gvn", "Global Value Numbering", false, false) in INITIALIZE_PASS_DEPENDENCY()
574 void GVN::dump(DenseMap<uint32_t, Value*>& d) { in INITIALIZE_PASS_DEPENDENCY()
983 GVN &gvn) { in GetLoadValueForLoad()
1162 Value *MaterializeAdjustedValue(Type *LoadTy, GVN &gvn) const { in MaterializeAdjustedValue()
1208 GVN &gvn) { in ConstructSSAForLoadSet()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Analysis/BasicAA/
Dinvariant_group.ll2 ; RUN: opt < %s -basicaa -gvn -S | FileCheck -check-prefix=CHECK-GVN %s
17 ; CHECK-GVN: testLaunderInvariantGroupIsNotEscapeSource
44 ; CHECK-GVN: ret i8 42
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/GVN/PRE/
D2017-06-28-pre-load-dbgloc.ll1 ; This test checks if debug loc is propagated to load/store created by GVN/Instcombine.
2 ; RUN: opt < %s -gvn -S | FileCheck %s --check-prefixes=ALL,GVN
40 ; GVN: %.pre = load %struct.node*, %struct.node** null, align 8, !dbg [[LOC_16_13:![0-9]+]]
Datomic.ll9 ; GVN across unordered store (allowed)
21 ; GVN across unordered load (allowed)
34 ; GVN load to unordered load (allowed)
45 ; GVN unordered load to load (unordered load must not be removed)
56 ; GVN across release-acquire pair (forbidden)
69 ; GVN across monotonic store (allowed)
81 ; GVN of an unordered across monotonic load (not allowed)
/external/llvm/test/Transforms/ObjCARC/
Dgvn.ll9 ; GVN should be able to eliminate this redundant load, with ARC-specific
26 ; GVN should not be able to eliminate this redundant load, with ARC-specific
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/ObjCARC/
Dgvn.ll9 ; GVN should be able to eliminate this redundant load, with ARC-specific
26 ; GVN should not be able to eliminate this redundant load, with ARC-specific
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/NewGVN/
Dstale-loop-info.ll4 ; available during GVN. In this case BasicAA will use LI but
5 ; MergeBlockIntoPredecessor in GVN failed to update LI.
Dnon-local-offset.ll5 ; GVN should ignore the store to p[1] to see that the load from p[0] is
29 ; GVN should ignore the store to p[1] to see that the first load from p[0] is
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/GVN/
Dstale-loop-info.ll4 ; available during GVN. In this case BasicAA will use LI but
5 ; MergeBlockIntoPredecessor in GVN failed to update LI.
Dnon-local-offset.ll5 ; GVN should ignore the store to p[1] to see that the load from p[0] is
29 ; GVN should ignore the store to p[1] to see that the first load from p[0] is
D2009-11-12-MemDepMallocBitCast.ll2 ; to aliased memory; GVN should not optimize away the load in this program.
/external/llvm/test/Transforms/GVN/
Dnon-local-offset.ll5 ; GVN should ignore the store to p[1] to see that the load from p[0] is
29 ; GVN should ignore the store to p[1] to see that the first load from p[0] is
Datomic.ll9 ; GVN across unordered store (allowed)
21 ; GVN across unordered load (allowed)
34 ; GVN load to unordered load (allowed)
45 ; GVN unordered load to load (unordered load must not be removed)
56 ; GVN across release-acquire pair (forbidden)
69 ; GVN across monotonic store (allowed)
81 ; GVN of an unordered across monotonic load (not allowed)
D2009-11-12-MemDepMallocBitCast.ll2 ; to aliased memory; GVN should not optimize away the load in this program.
/external/swiftshader/third_party/llvm-7.0/llvm/test/Analysis/MemoryDependenceAnalysis/
Dinvalidation.ll13 ; CHECK-AA-INVALIDATE: Running pass: GVN
25 ; CHECK-DT-INVALIDATE: Running pass: GVN
/external/llvm/include/llvm/Transforms/Scalar/
DGVN.h44 class GVN : public PassInfoMixin<GVN> {
/external/swiftshader/third_party/LLVM/test/Transforms/ObjCARC/
Dgvn.ll7 ; GVN should be able to eliminate this redundant load, with ARC-specific

12345