/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | GVN.cpp | 106 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/ |
D | GVN.cpp | 77 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/ |
D | atomic.ll | 9 ; 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)
|
D | non-local-offset.ll | 5 ; 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/ |
D | gvn-nonlocal-type-mismatch.ll | 5 ; 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/ |
D | gvn-nonlocal-type-mismatch.ll | 5 ; 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/ |
D | gvn-nonlocal-type-mismatch.ll | 5 ; 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/ |
D | GVN.h | 68 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/ |
D | GVN.cpp | 444 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/ |
D | invariant_group.ll | 2 ; 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/ |
D | 2017-06-28-pre-load-dbgloc.ll | 1 ; 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]+]]
|
D | atomic.ll | 9 ; 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/ |
D | gvn.ll | 9 ; 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/ |
D | gvn.ll | 9 ; 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/ |
D | stale-loop-info.ll | 4 ; available during GVN. In this case BasicAA will use LI but 5 ; MergeBlockIntoPredecessor in GVN failed to update LI.
|
D | non-local-offset.ll | 5 ; 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/ |
D | stale-loop-info.ll | 4 ; available during GVN. In this case BasicAA will use LI but 5 ; MergeBlockIntoPredecessor in GVN failed to update LI.
|
D | non-local-offset.ll | 5 ; 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
|
D | 2009-11-12-MemDepMallocBitCast.ll | 2 ; to aliased memory; GVN should not optimize away the load in this program.
|
/external/llvm/test/Transforms/GVN/ |
D | non-local-offset.ll | 5 ; 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
|
D | atomic.ll | 9 ; 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)
|
D | 2009-11-12-MemDepMallocBitCast.ll | 2 ; to aliased memory; GVN should not optimize away the load in this program.
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Analysis/MemoryDependenceAnalysis/ |
D | invalidation.ll | 13 ; CHECK-AA-INVALIDATE: Running pass: GVN 25 ; CHECK-DT-INVALIDATE: Running pass: GVN
|
/external/llvm/include/llvm/Transforms/Scalar/ |
D | GVN.h | 44 class GVN : public PassInfoMixin<GVN> {
|
/external/swiftshader/third_party/LLVM/test/Transforms/ObjCARC/ |
D | gvn.ll | 7 ; GVN should be able to eliminate this redundant load, with ARC-specific
|