Home
last modified time | relevance | path

Searched refs:UpperBound (Results 1 – 17 of 17) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/CodeGen/
DScheduleDAG.cpp491 int UpperBound, LowerBound; in AddPred() local
493 UpperBound = Node2Index[X->NodeNum]; in AddPred()
496 if (LowerBound < UpperBound) { in AddPred()
499 DFS(Y, UpperBound, HasLoop); in AddPred()
502 Shift(Visited, LowerBound, UpperBound); in AddPred()
516 void ScheduleDAGTopologicalSort::DFS(const SUnit *SU, int UpperBound, in DFS() argument
528 if (Node2Index[s] == UpperBound) { in DFS()
533 if (!Visited.test(s) && Node2Index[s] < UpperBound) { in DFS()
543 int UpperBound) { in Shift() argument
548 for (i = LowerBound; i <= UpperBound; ++i) { in Shift()
[all …]
/external/llvm/lib/CodeGen/
DScheduleDAG.cpp519 int UpperBound, LowerBound; in AddPred() local
521 UpperBound = Node2Index[X->NodeNum]; in AddPred()
524 if (LowerBound < UpperBound) { in AddPred()
527 DFS(Y, UpperBound, HasLoop); in AddPred()
530 Shift(Visited, LowerBound, UpperBound); in AddPred()
544 void ScheduleDAGTopologicalSort::DFS(const SUnit *SU, int UpperBound, in DFS() argument
559 if (Node2Index[s] == UpperBound) { in DFS()
564 if (!Visited.test(s) && Node2Index[s] < UpperBound) { in DFS()
574 int UpperBound) { in Shift() argument
579 for (i = LowerBound; i <= UpperBound; ++i) { in Shift()
[all …]
/external/llvm/lib/Transforms/Utils/
DLowerSwitch.cpp77 ConstantInt *LowerBound, ConstantInt *UpperBound,
201 ConstantInt *UpperBound, Value *Val, in switchConvert() argument
212 if (Begin->Low == LowerBound && Begin->High == UpperBound) { in switchConvert()
214 if (LowerBound && UpperBound) in switchConvert()
216 UpperBound->getSExtValue() - LowerBound->getSExtValue(); in switchConvert()
263 if (UpperBound) { in switchConvert()
264 dbgs() << UpperBound->getSExtValue() << "\n"; in switchConvert()
281 UpperBound, Val, NewNode, OrigBlock, in switchConvert()
325 Constant *UpperBound = ConstantExpr::getAdd(NegLo, Leaf.High); in newLeafBlock() local
326 Comp = new ICmpInst(*NewLeaf, ICmpInst::ICMP_ULE, Add, UpperBound, in newLeafBlock()
[all …]
/external/llvm/unittests/ADT/
DSparseSetTest.cpp189 const unsigned UpperBound = 300; in TEST() local
190 Set.setUniverse(UpperBound); in TEST()
191 for (unsigned i = 0; i < UpperBound; ++i) in TEST()
196 unsigned Expected = UpperBound; in TEST()
203 for (unsigned i = 0; i < UpperBound; ++i) in TEST()
/external/llvm/lib/Target/AMDGPU/
DAMDGPUFrameLowering.cpp89 int UpperBound = FI == -1 ? MFI->getNumObjects() : FI; in getFrameIndexReference() local
91 for (int i = MFI->getObjectIndexBegin(); i < UpperBound; ++i) { in getFrameIndexReference()
/external/clang/lib/StaticAnalyzer/Checkers/
DDynamicTypePropagation.cpp598 const ObjCObjectPointerType *UpperBound = OrigObjectPtrType; in checkPostStmt() local
600 std::swap(LowerBound, UpperBound); in checkPostStmt()
603 LowerBound = LowerBound->isObjCIdType() ? UpperBound : LowerBound; in checkPostStmt()
604 UpperBound = UpperBound->isObjCIdType() ? LowerBound : UpperBound; in checkPostStmt()
606 if (storeWhenMoreInformative(State, Sym, TrackedType, LowerBound, UpperBound, in checkPostStmt()
/external/llvm/lib/Analysis/
DDependenceAnalysis.cpp526 const APInt &UpperBound = CUB->getAPInt(); in intersectConstraints() local
527 DEBUG(dbgs() << "\t\tupper bound = " << UpperBound << "\n"); in intersectConstraints()
528 if (Xq.sgt(UpperBound) || Yq.sgt(UpperBound)) { in intersectConstraints()
1086 if (const SCEV *UpperBound = collectUpperBound(CurLoop, Delta->getType())) { in strongSIVtest() local
1087 DEBUG(dbgs() << "\t UpperBound = " << *UpperBound); in strongSIVtest()
1088 DEBUG(dbgs() << ", " << *UpperBound->getType() << "\n"); in strongSIVtest()
1093 const SCEV *Product = SE->getMulExpr(UpperBound, AbsCoeff); in strongSIVtest()
1264 if (const SCEV *UpperBound = collectUpperBound(CurLoop, Delta->getType())) { in weakCrossingSIVtest() local
1265 DEBUG(dbgs() << "\t UpperBound = " << *UpperBound << "\n"); in weakCrossingSIVtest()
1266 const SCEV *ConstantTwo = SE->getConstant(UpperBound->getType(), 2); in weakCrossingSIVtest()
[all …]
DScalarEvolution.cpp6279 const SCEV *UpperBound = in computeShiftCompareExitLimit() local
6282 return ExitLimit(getCouldNotCompute(), UpperBound, P); in computeShiftCompareExitLimit()
/external/clang/utils/TableGen/
DNeonEmitter.cpp2112 std::string LowerBound, UpperBound; in genIntrinsicRangeCheckCode() local
2120 UpperBound = "31"; in genIntrinsicRangeCheckCode()
2122 UpperBound = "63"; in genIntrinsicRangeCheckCode()
2130 UpperBound = utostr(Def->getReturnType().getElementSizeInBits() - 1); in genIntrinsicRangeCheckCode()
2138 UpperBound = "RFT(TV, true)"; in genIntrinsicRangeCheckCode()
2143 UpperBound = "RFT(TV, false, true)"; in genIntrinsicRangeCheckCode()
2145 UpperBound = "RFT(TV, false, false)"; in genIntrinsicRangeCheckCode()
2150 UpperBound = utostr(T.getNumElements() - 1); in genIntrinsicRangeCheckCode()
2162 if (UpperBound.size()) in genIntrinsicRangeCheckCode()
2163 OS << " u = " << UpperBound << ";"; in genIntrinsicRangeCheckCode()
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DLowerSwitch.cpp206 Constant *UpperBound = ConstantExpr::getAdd(NegLo, Leaf.High); in newLeafBlock() local
207 Comp = new ICmpInst(*NewLeaf, ICmpInst::ICMP_ULE, Add, UpperBound, in newLeafBlock()
/external/clang/lib/StaticAnalyzer/Core/
DProgramState.cpp305 DefinedOrUnknownSVal UpperBound, in assumeInBound() argument
308 if (Idx.isUnknown() || UpperBound.isUnknown()) in assumeInBound()
333 svalBuilder.evalBinOpNN(this, BO_Add, UpperBound.castAs<NonLoc>(), in assumeInBound()
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
DScheduleDAG.h678 void DFS(const SUnit *SU, int UpperBound, bool& HasLoop);
682 void Shift(BitVector& Visited, int LowerBound, int UpperBound);
/external/llvm/include/llvm/CodeGen/
DScheduleDAG.h724 void DFS(const SUnit *SU, int UpperBound, bool& HasLoop);
728 void Shift(BitVector& Visited, int LowerBound, int UpperBound);
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp358 Constant *UpperBound = ConstantExpr::getAdd(NegLo, Hi); in InsertRangeTest() local
359 return Builder->CreateICmpULT(Add, UpperBound); in InsertRangeTest()
/external/clang/lib/Sema/
DSemaLookup.cpp3899 unsigned UpperBound = (TypoStr.size() + 2) / 3 + 1; in addName() local
3900 unsigned ED = TypoStr.edit_distance(Name, true, UpperBound); in addName()
3901 if (ED >= UpperBound) return; in addName()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp310 Constant *UpperBound = ConstantExpr::getAdd(NegLo, Hi); in InsertRangeTest() local
311 return Builder->CreateICmpULT(Add, UpperBound); in InsertRangeTest()
/external/clang/lib/CodeGen/
DCGStmtOpenMP.cpp3536 enum { LowerBound = 5, UpperBound, Stride, LastIter }; in EmitOMPTaskLoopBasedDirective() enumerator
3539 auto *UBP = std::next(I, UpperBound); in EmitOMPTaskLoopBasedDirective()