Home
last modified time | relevance | path

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

12345

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DGVN.cpp114 struct llvm::GVN::Expression {
143 template <> struct DenseMapInfo<GVN::Expression> {
144 static inline GVN::Expression getEmptyKey() { return ~0U; } in getEmptyKey()
145 static inline GVN::Expression getTombstoneKey() { return ~1U; } in getTombstoneKey()
147 static unsigned getHashValue(const GVN::Expression &e) { in getHashValue()
153 static bool isEqual(const GVN::Expression &LHS, const GVN::Expression &RHS) { in isEqual()
234 GVN &gvn) const;
264 Value *MaterializeAdjustedValue(LoadInst *LI, GVN &gvn) const { in MaterializeAdjustedValue()
273 GVN::Expression GVN::ValueTable::createExpr(Instruction *I) { in createExpr()
309 GVN::Expression GVN::ValueTable::createCmpExpr(unsigned Opcode, in createCmpExpr()
[all …]
/external/llvm-project/llvm/lib/Transforms/Scalar/
DGVN.cpp129 struct llvm::GVN::Expression {
158 template <> struct DenseMapInfo<GVN::Expression> {
159 static inline GVN::Expression getEmptyKey() { return ~0U; } in getEmptyKey()
160 static inline GVN::Expression getTombstoneKey() { return ~1U; } in getTombstoneKey()
162 static unsigned getHashValue(const GVN::Expression &e) { in getHashValue()
168 static bool isEqual(const GVN::Expression &LHS, const GVN::Expression &RHS) { in isEqual()
249 GVN &gvn) const;
279 Value *MaterializeAdjustedValue(LoadInst *LI, GVN &gvn) const { in MaterializeAdjustedValue()
288 GVN::Expression GVN::ValueTable::createExpr(Instruction *I) { in createExpr()
325 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/llvm-project/llvm/include/llvm/Transforms/Scalar/
DGVN.h115 class GVN : public PassInfoMixin<GVN> {
121 GVN(GVNOptions Options = {}) : Options(Options) {} in Options()
179 uint32_t Num, GVN &Gvn);
181 const BasicBlock *PhiBlock, GVN &Gvn);
183 bool areAllValsInBB(uint32_t num, const BasicBlock *BB, GVN &Gvn);
197 uint32_t Num, GVN &Gvn);
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Scalar/
DGVN.h68 class GVN : public PassInfoMixin<GVN> {
122 uint32_t Num, GVN &Gvn);
124 const BasicBlock *PhiBlock, GVN &Gvn);
126 bool areAllValsInBB(uint32_t num, const BasicBlock *BB, GVN &Gvn);
140 uint32_t Num, GVN &Gvn);
/external/llvm-project/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/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/llvm-project/llvm/test/Analysis/BasicAA/
Dinvariant_group.ll2 ; RUN: opt < %s -basic-aa -gvn -S | FileCheck -check-prefix=CHECK-GVN %s
17 ; CHECK-GVN: testLaunderInvariantGroupIsNotEscapeSource
44 ; CHECK-GVN: ret i8 42
/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/llvm-project/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]+]]
/external/llvm-project/llvm/test/Transforms/ObjCARC/
Dgvn.ll10 ; GVN should be able to eliminate this redundant load, with ARC-specific
27 ; GVN should not be able to eliminate this redundant load, with ARC-specific
/external/llvm-project/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-project/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
D2009-11-12-MemDepMallocBitCast.ll2 ; to aliased memory; GVN should not optimize away the load in this program.
Dpr32852.ll1 ; Make sure GVN doesn't incorrectly think the branch terminating
/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
D2009-11-12-MemDepMallocBitCast.ll2 ; to aliased memory; GVN should not optimize away the load in this program.
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-project/llvm/test/Analysis/MemoryDependenceAnalysis/
Dinvalidation.ll12 ; CHECK-AA-INVALIDATE: Running pass: GVN
24 ; CHECK-DT-INVALIDATE: Running pass: GVN
/external/llvm/include/llvm/Transforms/Scalar/
DGVN.h44 class GVN : public PassInfoMixin<GVN> {
/external/llvm-project/llvm/test/Transforms/GVNHoist/
Dint_sideeffect.ll5 ; GVN hoisting across a @llvm.sideeffect.
/external/llvm-project/llvm/test/Transforms/GVNSink/
Dint_sideeffect.ll5 ; GVN sinking across a @llvm.sideeffect.

12345