Home
last modified time | relevance | path

Searched refs:BoundType (Results 1 – 14 of 14) sorted by relevance

/llvm-project-15.0.7/llvm/lib/IR/
H A DDebugInfoMetadata.cpp381 return BoundType(); in getCount()
396 return BoundType(); in getCount()
402 return BoundType(); in getLowerBound()
417 return BoundType(); in getLowerBound()
423 return BoundType(); in getUpperBound()
438 return BoundType(); in getUpperBound()
459 return BoundType(); in getStride()
490 return BoundType(); in getCount()
507 return BoundType(); in getLowerBound()
524 return BoundType(); in getUpperBound()
[all …]
H A DDIBuilder.cpp716 DIGenericSubrange::BoundType CountNode, DIGenericSubrange::BoundType LB, in getOrCreateGenericSubrange()
717 DIGenericSubrange::BoundType UB, DIGenericSubrange::BoundType Stride) { in getOrCreateGenericSubrange()
718 auto ConvToMetadata = [&](DIGenericSubrange::BoundType Bound) -> Metadata * { in getOrCreateGenericSubrange()
/llvm-project-15.0.7/mlir/lib/Dialect/Affine/Analysis/
H A DAffineStructures.cpp217 if (failed(res.addBound(BoundType::LB, ivIdx, lb))) in getHyperrectangular()
222 if (failed(res.addBound(BoundType::UB, ivIdx, ub))) in getHyperrectangular()
589 addBound(BoundType::EQ, val, constOp.value()); in addInductionVarOrTerminalSymbol()
627 addBound(BoundType::LB, pos, forOp.getConstantLowerBound()); in addAffineForOpDomain()
640 return addBound(BoundType::UB, pos, forOp.getUpperBoundMap(), in addAffineForOpDomain()
1009 auto lbConst = getConstantBound(BoundType::LB, pos); in getSliceBounds()
1010 auto ubConst = getConstantBound(BoundType::UB, pos); in getSliceBounds()
1178 assert((type != BoundType::EQ || isClosedBound) && in addBound()
1185 bool lower = type == BoundType::LB || type == BoundType::EQ; in addBound()
1306 if (failed(addBound(BoundType::EQ, pos, lbMap, operands))) in addSliceBounds()
[all …]
/llvm-project-15.0.7/mlir/include/mlir/Analysis/Presburger/
H A DIntegerRelation.h367 enum BoundType { EQ, LB, UB }; enum
370 void addBound(BoundType type, unsigned pos, int64_t value);
373 void addBound(BoundType type, ArrayRef<int64_t> expr, int64_t value);
443 Optional<int64_t> getConstantBound(BoundType type, unsigned pos) const;
/llvm-project-15.0.7/mlir/lib/Analysis/Presburger/
H A DIntegerRelation.cpp1286 if (type == BoundType::EQ) { in addBound()
1292 inequalities(row, pos) = type == BoundType::LB ? 1 : -1; in addBound()
1294 type == BoundType::LB ? -value : value; in addBound()
1300 assert(type != BoundType::EQ && "EQ not implemented"); in addBound()
1306 type == BoundType::LB ? -value : value; in addBound()
1577 Optional<int64_t> IntegerRelation::getConstantBound(BoundType type, in getConstantBound()
1579 if (type == BoundType::LB) in getConstantBound()
1582 if (type == BoundType::UB) in getConstantBound()
1586 assert(type == BoundType::EQ && "expected EQ"); in getConstantBound()
2027 auto constLb = getConstantBound(BoundType::LB, d); in unionBoundingBox()
[all …]
H A DPWMAFunction.cpp329 levelSet.addBound(IntegerPolyhedron::BoundType::UB, subExpr, -1); in tiebreakLex()
335 levelSet.addBound(IntegerPolyhedron::BoundType::LB, subExpr, 1); in tiebreakLex()
/llvm-project-15.0.7/mlir/include/mlir/Dialect/Affine/Analysis/
H A DAffineStructures.h177 LogicalResult addBound(BoundType type, unsigned pos, AffineMap boundMap,
188 LogicalResult addBound(BoundType type, unsigned pos, AffineMap boundMap);
195 LogicalResult addBound(BoundType type, unsigned pos, AffineMap boundMap,
199 void addBound(BoundType type, Value val, int64_t value);
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DDIBuilder.h655 getOrCreateGenericSubrange(DIGenericSubrange::BoundType Count,
656 DIGenericSubrange::BoundType LowerBound,
657 DIGenericSubrange::BoundType UpperBound,
658 DIGenericSubrange::BoundType Stride);
H A DDebugInfoMetadata.h348 typedef PointerUnion<ConstantInt *, DIVariable *, DIExpression *> BoundType; typedef
350 BoundType getCount() const;
352 BoundType getLowerBound() const;
354 BoundType getUpperBound() const;
356 BoundType getStride() const;
395 using BoundType = PointerUnion<DIVariable *, DIExpression *>; variable
397 BoundType getCount() const;
398 BoundType getLowerBound() const;
399 BoundType getUpperBound() const;
400 BoundType getStride() const;
/llvm-project-15.0.7/llvm/unittests/IR/
H A DMetadataTest.cpp1494 DIGenericSubrange::BoundType(nullptr), DIGenericSubrange::BoundType(LV), in TEST_F()
1495 DIGenericSubrange::BoundType(UE), DIGenericSubrange::BoundType(SE)); in TEST_F()
1513 N, DIB.getOrCreateGenericSubrange(DIGenericSubrange::BoundType(nullptr), in TEST_F()
1514 DIGenericSubrange::BoundType(LV), in TEST_F()
1515 DIGenericSubrange::BoundType(UE), in TEST_F()
1516 DIGenericSubrange::BoundType(SE))); in TEST_F()
1519 N, DIB.getOrCreateGenericSubrange(DIGenericSubrange::BoundType(nullptr), in TEST_F()
1521 DIGenericSubrange::BoundType(UE), in TEST_F()
1522 DIGenericSubrange::BoundType(SE))); in TEST_F()
1526 DIGenericSubrange::BoundType(UE), in TEST_F()
[all …]
/llvm-project-15.0.7/mlir/lib/Dialect/SCF/Utils/
H A DAffineCanonicalizationUtils.cpp42 IntegerPolyhedron::BoundType type, in alignAndAddBound()
/llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfUnit.cpp1366 DISubrange::BoundType Bound) -> void { in constructSubrangeDIE()
1405 DIGenericSubrange::BoundType Bound) -> void { in constructGenericSubrangeDIE()
/llvm-project-15.0.7/mlir/lib/Dialect/Linalg/Utils/
H A DUtils.cpp292 FlatAffineValueConstraints::BoundType::UB, pos); in getUpperBoundForIndex()
/llvm-project-15.0.7/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILBitcodeWriter.cpp1412 static uint64_t rotateSign(DISubrange::BoundType Val) { in rotateSign()