/external/llvm/include/llvm/ProfileData/Coverage/ |
D | CoverageMapping.h | 139 struct CounterExpression { struct 144 CounterExpression(ExprKind Kind, Counter LHS, Counter RHS) in CounterExpression() function 153 std::vector<CounterExpression> Expressions; 155 llvm::DenseMap<CounterExpression, unsigned> ExpressionIndices; 162 Counter get(const CounterExpression &E); 177 ArrayRef<CounterExpression> getExpressions() const { return Expressions; } in getExpressions() 276 ArrayRef<CounterExpression> Expressions; 280 CounterMappingContext(ArrayRef<CounterExpression> Expressions, 600 template<> struct DenseMapInfo<coverage::CounterExpression> { 601 static inline coverage::CounterExpression getEmptyKey() { [all …]
|
D | CoverageMappingWriter.h | 42 ArrayRef<CounterExpression> Expressions; 47 ArrayRef<CounterExpression> Expressions, in CoverageMappingWriter() 52 CoverageMappingWriter(ArrayRef<CounterExpression> Expressions, in CoverageMappingWriter()
|
D | CoverageMappingReader.h | 38 ArrayRef<CounterExpression> Expressions; 120 std::vector<CounterExpression> &Expressions; 131 std::vector<CounterExpression> &Expressions, in RawCoverageMappingReader() 174 std::vector<CounterExpression> Expressions;
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ProfileData/Coverage/ |
D | CoverageMapping.h | 145 struct CounterExpression { struct 150 CounterExpression(ExprKind Kind, Counter LHS, Counter RHS) in CounterExpression() argument 158 std::vector<CounterExpression> Expressions; 161 DenseMap<CounterExpression, unsigned> ExpressionIndices; 168 Counter get(const CounterExpression &E); 191 ArrayRef<CounterExpression> getExpressions() const { return Expressions; } in getExpressions() 282 ArrayRef<CounterExpression> Expressions; 286 CounterMappingContext(ArrayRef<CounterExpression> Expressions, 801 template<> struct DenseMapInfo<coverage::CounterExpression> { 802 static inline coverage::CounterExpression getEmptyKey() { [all …]
|
D | CoverageMappingWriter.h | 42 ArrayRef<CounterExpression> Expressions; 47 ArrayRef<CounterExpression> Expressions, in CoverageMappingWriter()
|
D | CoverageMappingReader.h | 39 ArrayRef<CounterExpression> Expressions; 144 std::vector<CounterExpression> &Expressions; 151 std::vector<CounterExpression> &Expressions, in RawCoverageMappingReader() 197 std::vector<CounterExpression> Expressions;
|
/external/llvm/lib/ProfileData/Coverage/ |
D | CoverageMappingWriter.cpp | 33 ArrayRef<CounterExpression> Expressions; 34 llvm::SmallVector<CounterExpression, 16> UsedExpressions; 57 CounterExpressionsMinimizer(ArrayRef<CounterExpression> Expressions, in CounterExpressionsMinimizer() 67 ArrayRef<CounterExpression> getExpressions() const { return UsedExpressions; } in getExpressions() 93 static unsigned encodeCounter(ArrayRef<CounterExpression> Expressions, in encodeCounter() 104 static void writeCounter(ArrayRef<CounterExpression> Expressions, Counter C, in writeCounter()
|
D | CoverageMapping.cpp | 33 Counter CounterExpressionBuilder::get(const CounterExpression &E) { in get() 54 extractTerms(E.RHS, E.Kind == CounterExpression::Subtract ? -Sign : Sign, in extractTerms() 99 C = get(CounterExpression(CounterExpression::Add, C, in simplify() 108 C = get(CounterExpression(CounterExpression::Subtract, C, in simplify() 115 return simplify(get(CounterExpression(CounterExpression::Add, LHS, RHS))); in add() 120 get(CounterExpression(CounterExpression::Subtract, LHS, RHS))); in subtract() 138 OS << (E.Kind == CounterExpression::Subtract ? " - " : " + "); in dump() 172 return E.Kind == CounterExpression::Subtract ? *LHS - *RHS : *LHS + *RHS; in evaluate()
|
D | CoverageMappingReader.cpp | 108 case CounterExpression::Subtract: in decodeCounter() 109 case CounterExpression::Add: { in decodeCounter() 113 Expressions[ID].Kind = CounterExpression::ExprKind(Tag); in decodeCounter() 256 CounterExpression(CounterExpression::Subtract, Counter(), Counter())); in read()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/Coverage/ |
D | CoverageMappingWriter.cpp | 50 ArrayRef<CounterExpression> Expressions; 51 SmallVector<CounterExpression, 16> UsedExpressions; 55 CounterExpressionsMinimizer(ArrayRef<CounterExpression> Expressions, in CounterExpressionsMinimizer() 84 ArrayRef<CounterExpression> getExpressions() const { return UsedExpressions; } in getExpressions() 111 static unsigned encodeCounter(ArrayRef<CounterExpression> Expressions, in encodeCounter() 122 static void writeCounter(ArrayRef<CounterExpression> Expressions, Counter C, in writeCounter()
|
D | CoverageMapping.cpp | 47 Counter CounterExpressionBuilder::get(const CounterExpression &E) { in get() 69 E.RHS, E.Kind == CounterExpression::Subtract ? -Factor : Factor, Terms); in extractTerms() 111 C = get(CounterExpression(CounterExpression::Add, C, in simplify() 120 C = get(CounterExpression(CounterExpression::Subtract, C, in simplify() 127 return simplify(get(CounterExpression(CounterExpression::Add, LHS, RHS))); in add() 132 get(CounterExpression(CounterExpression::Subtract, LHS, RHS))); in subtract() 149 OS << (E.Kind == CounterExpression::Subtract ? " - " : " + "); in dump() 183 return E.Kind == CounterExpression::Subtract ? *LHS - *RHS : *LHS + *RHS; in evaluate()
|
D | CoverageMappingReader.cpp | 122 case CounterExpression::Subtract: in decodeCounter() 123 case CounterExpression::Add: { in decodeCounter() 127 Expressions[ID].Kind = CounterExpression::ExprKind(Tag); in decodeCounter() 279 CounterExpression(CounterExpression::Subtract, Counter(), Counter())); in read()
|
/external/llvm-project/llvm/include/llvm/ProfileData/Coverage/ |
D | CoverageMapping.h | 147 struct CounterExpression { struct 152 CounterExpression(ExprKind Kind, Counter LHS, Counter RHS) in CounterExpression() argument 160 std::vector<CounterExpression> Expressions; 163 DenseMap<CounterExpression, unsigned> ExpressionIndices; 170 Counter get(const CounterExpression &E); 193 ArrayRef<CounterExpression> getExpressions() const { return Expressions; } in getExpressions() 284 ArrayRef<CounterExpression> Expressions; 288 CounterMappingContext(ArrayRef<CounterExpression> Expressions, 971 template<> struct DenseMapInfo<coverage::CounterExpression> { 972 static inline coverage::CounterExpression getEmptyKey() { [all …]
|
D | CoverageMappingWriter.h | 43 ArrayRef<CounterExpression> Expressions; 48 ArrayRef<CounterExpression> Expressions, in CoverageMappingWriter()
|
D | CoverageMappingReader.h | 39 ArrayRef<CounterExpression> Expressions; 130 std::vector<CounterExpression> &Expressions; 137 std::vector<CounterExpression> &Expressions, in RawCoverageMappingReader() 185 std::vector<CounterExpression> Expressions;
|
/external/llvm-project/llvm/lib/ProfileData/Coverage/ |
D | CoverageMappingWriter.cpp | 74 ArrayRef<CounterExpression> Expressions; 75 SmallVector<CounterExpression, 16> UsedExpressions; 79 CounterExpressionsMinimizer(ArrayRef<CounterExpression> Expressions, in CounterExpressionsMinimizer() 108 ArrayRef<CounterExpression> getExpressions() const { return UsedExpressions; } in getExpressions() 135 static unsigned encodeCounter(ArrayRef<CounterExpression> Expressions, in encodeCounter() 146 static void writeCounter(ArrayRef<CounterExpression> Expressions, Counter C, in writeCounter()
|
D | CoverageMapping.cpp | 47 Counter CounterExpressionBuilder::get(const CounterExpression &E) { in get() 69 E.RHS, E.Kind == CounterExpression::Subtract ? -Factor : Factor, Terms); in extractTerms() 111 C = get(CounterExpression(CounterExpression::Add, C, in simplify() 120 C = get(CounterExpression(CounterExpression::Subtract, C, in simplify() 127 return simplify(get(CounterExpression(CounterExpression::Add, LHS, RHS))); in add() 132 get(CounterExpression(CounterExpression::Subtract, LHS, RHS))); in subtract() 149 OS << (E.Kind == CounterExpression::Subtract ? " - " : " + "); in dump() 183 return E.Kind == CounterExpression::Subtract ? *LHS - *RHS : *LHS + *RHS; in evaluate()
|
D | CoverageMappingReader.cpp | 177 case CounterExpression::Subtract: in decodeCounter() 178 case CounterExpression::Add: { in decodeCounter() 182 Expressions[ID].Kind = CounterExpression::ExprKind(Tag); in decodeCounter() 334 CounterExpression(CounterExpression::Subtract, Counter(), Counter())); in read()
|
/external/clang/lib/CodeGen/ |
D | CoverageMappingGen.cpp | 934 ArrayRef<CounterExpression> Expressions, in dump() 992 std::vector<CounterExpression> Expressions; in addFunctionMappingRecord()
|
/external/llvm/unittests/ProfileData/ |
D | CoverageMappingTest.cpp | 172 std::vector<CounterExpression> Expressions; in readCoverageRegions()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CoverageMappingGen.cpp | 1381 ArrayRef<CounterExpression> Expressions, in dump() 1483 std::vector<CounterExpression> Expressions; in addFunctionMappingRecord()
|
/external/llvm-project/llvm/unittests/ProfileData/ |
D | CoverageMappingTest.cpp | 206 std::vector<CounterExpression> Expressions; in readCoverageRegions()
|