/dports/math/couenne/Couenne-releases-0.5.8/Couenne/src/branch/ |
H A D | BranchCore.cpp | 69 indVar, in branchCore() 76 if ((solver -> getColUpper () [indVar] > problem_ -> bestSol () [indVar]) && in branchCore() 83 if ((solver -> getColLower () [indVar] > problem_ -> bestSol () [indVar] + COUENNE_EPS) || in branchCore() 84 (solver -> getColUpper () [indVar] < problem_ -> bestSol () [indVar] - COUENNE_EPS)) in branchCore() 175 (solver -> getColUpper () [indVar] < problem_ -> bestSol () [indVar] - COUENNE_EPS))) { in branchCore() 218 indVar, in branchCore() 226 if ((solver -> getColUpper () [indVar] >= problem_ -> bestSol () [indVar]) && in branchCore() 251 indVar, in branchCore() 259 if ((solver -> getColLower () [indVar] <= problem_ -> bestSol () [indVar]) && in branchCore() 267 if ((solver -> getColLower () [indVar] > problem_ -> bestSol () [indVar] + COUENNE_EPS) || in branchCore() [all …]
|
H A D | CouenneVarObject.cpp | 78 int indVar = reference_ -> Index (); in createBranch() local 81 brpt = info -> solution_ [indVar], in createBranch() 82 l = info -> lower_ [indVar], in createBranch() 83 u = info -> upper_ [indVar]; in createBranch() 111 info -> lower_ [indVar], in createBranch() 112 info -> upper_ [indVar], info); break; in createBranch() 133 int indVar = reference_ -> Index (); in createBranch() local 136 indVar, in createBranch() 137 info -> solution_ [indVar], in createBranch() 138 info -> lower_ [indVar], in createBranch() [all …]
|
H A D | doStrongBranching.cpp | 525 indVar = Object -> columnNumber (), in BranchingFBBT() local 530 if (indVar >= 0) { in BranchingFBBT() 535 chg_bds [indVar].setUpper (t_chg_bounds::CHANGED); in BranchingFBBT() 536 chg_bds [indVar].setLower (t_chg_bounds::CHANGED); in BranchingFBBT()
|
H A D | StrongBranchingSetupList.cpp | 267 int indVar = objectOrig [i] -> columnNumber (); in gutsOfSetupList() local 269 if ((indVar >= 0) && in gutsOfSetupList() 270 (indVar < n)) in gutsOfSetupList() 271 varObj [indVar] = i; in gutsOfSetupList()
|
/dports/math/couenne/Couenne-releases-0.5.8/Couenne/src/bound_tightening/twoImpliedBT/ |
H A D | TwoImpliedIneqCombine.cpp | 33 int indVar; member 459 clbi = clb [indVar], in combine() 460 cubi = cub [indVar]; in combine() 549 sa1i = sa1 [indVar], in combine() 550 sa2i = sa2 [indVar], in combine() 560 clbi = clb [indVar], in combine() 561 cubi = cub [indVar], in combine() 674 …printf (" bounds for x_%d: [%g,%g] vs [%g,%g]\n", indVar, newL, newU, clb [indVar], cub [indVar… in combine() 702 &lbi = Lb [indVar], in combine() 703 &ubi = Ub [indVar]; in combine() [all …]
|
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/mlir/lib/Dialect/Affine/Transforms/ |
H A D | AffineLoopInvariantCodeMotion.cpp | 52 checkInvarianceOfNestedIfOps(Operation *op, Value indVar, ValueRange iterArgs, 55 static bool isOpLoopInvariant(Operation &op, Value indVar, ValueRange iterArgs, 60 areAllOpsInTheBlockListInvariant(Region &blockList, Value indVar, 66 bool isOpLoopInvariant(Operation &op, Value indVar, ValueRange iterArgs, in isOpLoopInvariant() argument 72 if (!checkInvarianceOfNestedIfOps(&op, indVar, iterArgs, opsWithUsers, in isOpLoopInvariant() 129 if (indVar == op.getOperand(i)) { in isOpLoopInvariant() 159 Region &blockList, Value indVar, ValueRange iterArgs, in areAllOpsInTheBlockListInvariant() argument 175 bool checkInvarianceOfNestedIfOps(Operation *op, Value indVar, in checkInvarianceOfNestedIfOps() argument 182 if (!areAllOpsInTheBlockListInvariant(ifOp.thenRegion(), indVar, iterArgs, in checkInvarianceOfNestedIfOps() 187 if (!areAllOpsInTheBlockListInvariant(ifOp.elseRegion(), indVar, iterArgs, in checkInvarianceOfNestedIfOps() [all …]
|
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/mlir/lib/Dialect/Affine/Transforms/ |
H A D | AffineLoopInvariantCodeMotion.cpp | 52 checkInvarianceOfNestedIfOps(Operation *op, Value indVar, ValueRange iterArgs, 55 static bool isOpLoopInvariant(Operation &op, Value indVar, ValueRange iterArgs, 60 areAllOpsInTheBlockListInvariant(Region &blockList, Value indVar, 66 bool isOpLoopInvariant(Operation &op, Value indVar, ValueRange iterArgs, in isOpLoopInvariant() argument 72 if (!checkInvarianceOfNestedIfOps(&op, indVar, iterArgs, opsWithUsers, in isOpLoopInvariant() 129 if (indVar == op.getOperand(i)) { in isOpLoopInvariant() 159 Region &blockList, Value indVar, ValueRange iterArgs, in areAllOpsInTheBlockListInvariant() argument 175 bool checkInvarianceOfNestedIfOps(Operation *op, Value indVar, in checkInvarianceOfNestedIfOps() argument 182 if (!areAllOpsInTheBlockListInvariant(ifOp.thenRegion(), indVar, iterArgs, in checkInvarianceOfNestedIfOps() 187 if (!areAllOpsInTheBlockListInvariant(ifOp.elseRegion(), indVar, iterArgs, in checkInvarianceOfNestedIfOps() [all …]
|
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/mlir/lib/Dialect/Affine/Transforms/ |
H A D | AffineLoopInvariantCodeMotion.cpp | 52 checkInvarianceOfNestedIfOps(Operation *op, Value indVar, ValueRange iterArgs, 55 static bool isOpLoopInvariant(Operation &op, Value indVar, ValueRange iterArgs, 60 areAllOpsInTheBlockListInvariant(Region &blockList, Value indVar, 66 bool isOpLoopInvariant(Operation &op, Value indVar, ValueRange iterArgs, in isOpLoopInvariant() argument 72 if (!checkInvarianceOfNestedIfOps(&op, indVar, iterArgs, opsWithUsers, in isOpLoopInvariant() 129 if (indVar == op.getOperand(i)) { in isOpLoopInvariant() 159 Region &blockList, Value indVar, ValueRange iterArgs, in areAllOpsInTheBlockListInvariant() argument 175 bool checkInvarianceOfNestedIfOps(Operation *op, Value indVar, in checkInvarianceOfNestedIfOps() argument 182 if (!areAllOpsInTheBlockListInvariant(ifOp.thenRegion(), indVar, iterArgs, in checkInvarianceOfNestedIfOps() 187 if (!areAllOpsInTheBlockListInvariant(ifOp.elseRegion(), indVar, iterArgs, in checkInvarianceOfNestedIfOps() [all …]
|
/dports/devel/llvm13/llvm-project-13.0.1.src/mlir/lib/Dialect/Affine/Transforms/ |
H A D | AffineLoopInvariantCodeMotion.cpp | 52 checkInvarianceOfNestedIfOps(Operation *op, Value indVar, ValueRange iterArgs, 55 static bool isOpLoopInvariant(Operation &op, Value indVar, ValueRange iterArgs, 60 areAllOpsInTheBlockListInvariant(Region &blockList, Value indVar, 66 bool isOpLoopInvariant(Operation &op, Value indVar, ValueRange iterArgs, in isOpLoopInvariant() argument 72 if (!checkInvarianceOfNestedIfOps(&op, indVar, iterArgs, opsWithUsers, in isOpLoopInvariant() 129 if (indVar == op.getOperand(i)) { in isOpLoopInvariant() 159 Region &blockList, Value indVar, ValueRange iterArgs, in areAllOpsInTheBlockListInvariant() argument 175 bool checkInvarianceOfNestedIfOps(Operation *op, Value indVar, in checkInvarianceOfNestedIfOps() argument 182 if (!areAllOpsInTheBlockListInvariant(ifOp.thenRegion(), indVar, iterArgs, in checkInvarianceOfNestedIfOps() 187 if (!areAllOpsInTheBlockListInvariant(ifOp.elseRegion(), indVar, iterArgs, in checkInvarianceOfNestedIfOps() [all …]
|
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/mlir/lib/Dialect/Affine/Transforms/ |
H A D | AffineLoopInvariantCodeMotion.cpp | 52 checkInvarianceOfNestedIfOps(Operation *op, Value indVar, 55 static bool isOpLoopInvariant(Operation &op, Value indVar, 60 areAllOpsInTheBlockListInvariant(Region &blockList, Value indVar, 70 bool isOpLoopInvariant(Operation &op, Value indVar, in isOpLoopInvariant() argument 76 if (!checkInvarianceOfNestedIfOps(&op, indVar, definedOps, opsToHoist)) { in isOpLoopInvariant() 128 if (indVar == op.getOperand(i)) { in isOpLoopInvariant() 154 Region &blockList, Value indVar, SmallPtrSetImpl<Operation *> &definedOps, in areAllOpsInTheBlockListInvariant() argument 159 if (!isOpLoopInvariant(op, indVar, definedOps, opsToHoist)) { in areAllOpsInTheBlockListInvariant() 169 bool checkInvarianceOfNestedIfOps(Operation *op, Value indVar, in checkInvarianceOfNestedIfOps() argument 190 auto indVar = forOp.getInductionVar(); in runOnAffineForOp() local [all …]
|
/dports/devel/llvm12/llvm-project-12.0.1.src/mlir/lib/Dialect/Affine/Transforms/ |
H A D | AffineLoopInvariantCodeMotion.cpp | 52 checkInvarianceOfNestedIfOps(Operation *op, Value indVar, 55 static bool isOpLoopInvariant(Operation &op, Value indVar, 60 areAllOpsInTheBlockListInvariant(Region &blockList, Value indVar, 70 bool isOpLoopInvariant(Operation &op, Value indVar, in isOpLoopInvariant() argument 76 if (!checkInvarianceOfNestedIfOps(&op, indVar, definedOps, opsToHoist)) { in isOpLoopInvariant() 131 if (indVar == op.getOperand(i)) { in isOpLoopInvariant() 157 Region &blockList, Value indVar, SmallPtrSetImpl<Operation *> &definedOps, in areAllOpsInTheBlockListInvariant() argument 162 if (!isOpLoopInvariant(op, indVar, definedOps, opsToHoist)) { in areAllOpsInTheBlockListInvariant() 172 bool checkInvarianceOfNestedIfOps(Operation *op, Value indVar, in checkInvarianceOfNestedIfOps() argument 193 auto indVar = forOp.getInductionVar(); in runOnAffineForOp() local [all …]
|
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/mlir/lib/Transforms/ |
H A D | AffineLoopInvariantCodeMotion.cpp | 52 checkInvarianceOfNestedIfOps(Operation *op, Value indVar, 55 static bool isOpLoopInvariant(Operation &op, Value indVar, 60 areAllOpsInTheBlockListInvariant(Region &blockList, Value indVar, 73 bool isOpLoopInvariant(Operation &op, Value indVar, in isOpLoopInvariant() argument 79 if (!checkInvarianceOfNestedIfOps(&op, indVar, definedOps, opsToHoist)) { in isOpLoopInvariant() 131 if (indVar == op.getOperand(i)) { in isOpLoopInvariant() 157 Region &blockList, Value indVar, SmallPtrSetImpl<Operation *> &definedOps, in areAllOpsInTheBlockListInvariant() argument 162 if (!isOpLoopInvariant(op, indVar, definedOps, opsToHoist)) { in areAllOpsInTheBlockListInvariant() 172 bool checkInvarianceOfNestedIfOps(Operation *op, Value indVar, in checkInvarianceOfNestedIfOps() argument 193 auto indVar = forOp.getInductionVar(); in runOnAffineForOp() local [all …]
|
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/mlir/lib/Dialect/Affine/Transforms/ |
H A D | AffineLoopInvariantCodeMotion.cpp | 52 checkInvarianceOfNestedIfOps(Operation *op, Value indVar, 55 static bool isOpLoopInvariant(Operation &op, Value indVar, 60 areAllOpsInTheBlockListInvariant(Region &blockList, Value indVar, 70 bool isOpLoopInvariant(Operation &op, Value indVar, in isOpLoopInvariant() argument 76 if (!checkInvarianceOfNestedIfOps(&op, indVar, definedOps, opsToHoist)) { in isOpLoopInvariant() 131 if (indVar == op.getOperand(i)) { in isOpLoopInvariant() 157 Region &blockList, Value indVar, SmallPtrSetImpl<Operation *> &definedOps, in areAllOpsInTheBlockListInvariant() argument 162 if (!isOpLoopInvariant(op, indVar, definedOps, opsToHoist)) { in areAllOpsInTheBlockListInvariant() 172 bool checkInvarianceOfNestedIfOps(Operation *op, Value indVar, in checkInvarianceOfNestedIfOps() argument 193 auto indVar = forOp.getInductionVar(); in runOnAffineForOp() local [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/mlir/lib/Dialect/Affine/Transforms/ |
H A D | AffineLoopInvariantCodeMotion.cpp | 52 checkInvarianceOfNestedIfOps(Operation *op, Value indVar, 55 static bool isOpLoopInvariant(Operation &op, Value indVar, 60 areAllOpsInTheBlockListInvariant(Region &blockList, Value indVar, 70 bool isOpLoopInvariant(Operation &op, Value indVar, in isOpLoopInvariant() argument 76 if (!checkInvarianceOfNestedIfOps(&op, indVar, definedOps, opsToHoist)) { in isOpLoopInvariant() 131 if (indVar == op.getOperand(i)) { in isOpLoopInvariant() 157 Region &blockList, Value indVar, SmallPtrSetImpl<Operation *> &definedOps, in areAllOpsInTheBlockListInvariant() argument 162 if (!isOpLoopInvariant(op, indVar, definedOps, opsToHoist)) { in areAllOpsInTheBlockListInvariant() 172 bool checkInvarianceOfNestedIfOps(Operation *op, Value indVar, in checkInvarianceOfNestedIfOps() argument 193 auto indVar = forOp.getInductionVar(); in runOnAffineForOp() local [all …]
|
/dports/math/couenne/Couenne-releases-0.5.8/Couenne/src/problem/ |
H A D | CouenneRestoreUnused.cpp | 33 int indVar = numbering_ [i]; in createUnusedOriginals() local 35 if ((indVar < nOrig) && in createUnusedOriginals() 36 (variables_ [indVar] -> Multiplicity () <= 0)) // found neglected variable! in createUnusedOriginals() 37 unusedOriginalsIndices_ [nUnusedOriginals_++] = indVar; in createUnusedOriginals() 65 int indVar = unusedOriginalsIndices_ [i]; in restoreUnusedOriginals() local 66 expression *img = variables_ [indVar] -> Image (); in restoreUnusedOriginals() 72 X (indVar) = value; in restoreUnusedOriginals() 75 x [indVar] = value; in restoreUnusedOriginals()
|
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/mlir/lib/Dialect/SCF/Transforms/ |
H A D | LoopRangeFolding.cpp | 33 Value indVar = op.getInductionVar(); in runOnOperation() local 36 return op.isDefinedOutsideOfLoop(value) || value == indVar; in runOnOperation() 44 if (!indVar.hasOneUse()) in runOnOperation() 47 Operation *user = *indVar.getUsers().begin(); in runOnOperation() 56 lbMap.map(indVar, op.lowerBound()); in runOnOperation() 58 ubMap.map(indVar, op.upperBound()); in runOnOperation() 60 stepMap.map(indVar, op.step()); in runOnOperation() 77 ValueRange wrapIndvar(indVar); in runOnOperation()
|
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/mlir/lib/Dialect/SCF/Transforms/ |
H A D | LoopRangeFolding.cpp | 33 Value indVar = op.getInductionVar(); in runOnOperation() local 36 return op.isDefinedOutsideOfLoop(value) || value == indVar; in runOnOperation() 44 if (!indVar.hasOneUse()) in runOnOperation() 47 Operation *user = *indVar.getUsers().begin(); in runOnOperation() 56 lbMap.map(indVar, op.lowerBound()); in runOnOperation() 58 ubMap.map(indVar, op.upperBound()); in runOnOperation() 60 stepMap.map(indVar, op.step()); in runOnOperation() 77 ValueRange wrapIndvar(indVar); in runOnOperation()
|
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/mlir/lib/Dialect/SCF/Transforms/ |
H A D | LoopRangeFolding.cpp | 33 Value indVar = op.getInductionVar(); in runOnOperation() local 36 return op.isDefinedOutsideOfLoop(value) || value == indVar; in runOnOperation() 44 if (!indVar.hasOneUse()) in runOnOperation() 47 Operation *user = *indVar.getUsers().begin(); in runOnOperation() 56 lbMap.map(indVar, op.lowerBound()); in runOnOperation() 58 ubMap.map(indVar, op.upperBound()); in runOnOperation() 60 stepMap.map(indVar, op.step()); in runOnOperation() 77 ValueRange wrapIndvar(indVar); in runOnOperation()
|
/dports/devel/llvm13/llvm-project-13.0.1.src/mlir/lib/Dialect/SCF/Transforms/ |
H A D | LoopRangeFolding.cpp | 33 Value indVar = op.getInductionVar(); in runOnOperation() local 36 return op.isDefinedOutsideOfLoop(value) || value == indVar; in runOnOperation() 44 if (!indVar.hasOneUse()) in runOnOperation() 47 Operation *user = *indVar.getUsers().begin(); in runOnOperation() 56 lbMap.map(indVar, op.lowerBound()); in runOnOperation() 58 ubMap.map(indVar, op.upperBound()); in runOnOperation() 60 stepMap.map(indVar, op.step()); in runOnOperation() 77 ValueRange wrapIndvar(indVar); in runOnOperation()
|
/dports/math/couenne/Couenne-releases-0.5.8/Couenne/src/heuristics/ |
H A D | CouenneFPpool.cpp | 152 int indVar = (*i) -> Index (); in compare() local 159 …printf (" (%d,%g,%g,%g)", indVar, x_ [indVar], other.x_ [indVar], x_ [indVar] - other.x_ [indVar]); in compare() 161 if (x_ [indVar] < other.x_ [indVar] - COUENNE_EPS) in compare() 165 if (x_ [indVar] < other.x_ [indVar] - COUENNE_EPS) in compare() 183 int indVar = (*i) -> Index (); in compare() local 185 if (x_ [indVar] < other.x_ [indVar] + COUENNE_EPS) in compare()
|
/dports/net/google-cloud-sdk-app-engine-go/platform/google_appengine/goroot-1.9/src/cmd/compile/internal/ssa/ |
H A D | loopbce.go | 3 type indVar struct { struct 34 func findIndVar(f *Func) []indVar { 35 var iv []indVar 148 iv = append(iv, indVar{ 166 m := make(map[*Value]indVar) 175 func removeBoundsChecks(f *Func, m map[*Value]indVar) { argument
|
/dports/math/couenne/Couenne-releases-0.5.8/Couenne/src/readnl/ |
H A D | readnl.cpp | 523 int indVar = ((uintptr_t) (L [j].v.rp) - (uintptr_t) VAR_E) / sizeof (expr_v); in createCommonExpr() local 526 lcoeff.push_back (std::pair <exprVar *, CouNumber> (p -> Var (indVar), coeff)); in createCommonExpr() 529 Printf( " %+g x_%d (%-3d)", L [j]. fac, indVar, in createCommonExpr() 552 int indVar = p -> nVars () - p -> nDefVars () + p -> commonExprs () . size (); in createCommonExpr() local 554 if (eg -> Index () != indVar) { in createCommonExpr() 556 expression *body = new exprSub (eg, new exprClone (p -> Var (indVar))); in createCommonExpr() 564 int indVar = p -> nVars () - p -> nDefVars () + p -> commonExprs () . size (); in createCommonExpr() local 566 if (nle -> Index () != indVar) { in createCommonExpr() 568 expression *body = new exprSub (nle, new exprClone (p -> Var (indVar))); in createCommonExpr()
|
/dports/lang/go-devel/go-becaeea1199b875bc24800fa88f2f4fea119bf78/src/cmd/compile/internal/ssa/ |
H A D | loopbce.go | 19 type indVar struct { struct 84 func findIndVar(f *Func) []indVar { 85 var iv []indVar 294 iv = append(iv, indVar{
|
/dports/lang/go-devel/go-dragonfly-amd64-bootstrap/src/cmd/compile/internal/ssa/ |
H A D | loopbce.go | 19 type indVar struct { struct 84 func findIndVar(f *Func) []indVar { 85 var iv []indVar 299 iv = append(iv, indVar{
|
/dports/math/couenne/Couenne-releases-0.5.8/Couenne/src/expression/operators/ |
H A D | exprQuad.cpp | 483 int indVar; in realign() local 489 (vr -> Original () != p -> Var (indVar = vr -> Index ()))) { in realign() 492 row -> first = p -> Var (indVar); in realign() 501 int indVar; in realign() local 507 (vc -> Original () != p -> Var (indVar = vc -> Index ()))) { in realign() 510 col -> first = p -> Var (indVar); in realign()
|