/external/llvm/include/llvm/ProfileData/Coverage/ |
D | CoverageMapping.h | 139 struct CounterExpression { struct 144 CounterExpression(ExprKind Kind, Counter LHS, Counter RHS) in CounterExpression() argument 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-7.0/llvm/include/llvm/ProfileData/Coverage/ |
D | CoverageMapping.h | 146 struct CounterExpression { struct 151 CounterExpression(ExprKind Kind, Counter LHS, Counter RHS) in CounterExpression() argument 159 std::vector<CounterExpression> Expressions; 162 DenseMap<CounterExpression, unsigned> ExpressionIndices; 169 Counter get(const CounterExpression &E); 192 ArrayRef<CounterExpression> getExpressions() const { return Expressions; } in getExpressions() 283 ArrayRef<CounterExpression> Expressions; 287 CounterMappingContext(ArrayRef<CounterExpression> Expressions, 799 template<> struct DenseMapInfo<coverage::CounterExpression> { 800 static inline coverage::CounterExpression getEmptyKey() { [all …]
|
D | CoverageMappingReader.h | 40 ArrayRef<CounterExpression> Expressions; 145 std::vector<CounterExpression> &Expressions; 152 std::vector<CounterExpression> &Expressions, in RawCoverageMappingReader() 198 std::vector<CounterExpression> Expressions;
|
D | CoverageMappingWriter.h | 44 ArrayRef<CounterExpression> Expressions; 49 ArrayRef<CounterExpression> Expressions, in CoverageMappingWriter()
|
/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-7.0/llvm/lib/ProfileData/Coverage/ |
D | CoverageMappingWriter.cpp | 41 ArrayRef<CounterExpression> Expressions; 42 SmallVector<CounterExpression, 16> UsedExpressions; 46 CounterExpressionsMinimizer(ArrayRef<CounterExpression> Expressions, in CounterExpressionsMinimizer() 75 ArrayRef<CounterExpression> getExpressions() const { return UsedExpressions; } in getExpressions() 102 static unsigned encodeCounter(ArrayRef<CounterExpression> Expressions, in encodeCounter() 113 static void writeCounter(ArrayRef<CounterExpression> Expressions, Counter C, in writeCounter()
|
D | CoverageMapping.cpp | 48 Counter CounterExpressionBuilder::get(const CounterExpression &E) { in get() 70 E.RHS, E.Kind == CounterExpression::Subtract ? -Factor : Factor, Terms); in extractTerms() 112 C = get(CounterExpression(CounterExpression::Add, C, in simplify() 121 C = get(CounterExpression(CounterExpression::Subtract, C, in simplify() 128 return simplify(get(CounterExpression(CounterExpression::Add, LHS, RHS))); in add() 133 get(CounterExpression(CounterExpression::Subtract, LHS, RHS))); in subtract() 150 OS << (E.Kind == CounterExpression::Subtract ? " - " : " + "); in dump() 184 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/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/swiftshader/third_party/llvm-7.0/llvm/unittests/ProfileData/ |
D | CoverageMappingTest.cpp | 207 std::vector<CounterExpression> Expressions; in readCoverageRegions()
|