Home
last modified time | relevance | path

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

12

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DLibCallsShrinkWrap.cpp321 float UpperBound; in generateOneRangeCond() local
324 UpperBound = 709.0f; in generateOneRangeCond()
327 UpperBound = 88.0f; in generateOneRangeCond()
330 UpperBound = 11356.0f; in generateOneRangeCond()
337 return createCond(CI, CmpInst::FCMP_OGT, UpperBound); in generateOneRangeCond()
343 float UpperBound, LowerBound; in generateTwoRangeCond() local
348 UpperBound = 710.0f; in generateTwoRangeCond()
353 UpperBound = 89.0f; in generateTwoRangeCond()
358 UpperBound = 11357.0f; in generateTwoRangeCond()
362 UpperBound = 709.0f; in generateTwoRangeCond()
[all …]
DLowerSwitch.cpp97 ConstantInt *LowerBound, ConstantInt *UpperBound,
221 ConstantInt *UpperBound, Value *Val, in switchConvert() argument
232 if (Begin->Low == LowerBound && Begin->High == UpperBound) { in switchConvert()
234 if (LowerBound && UpperBound) in switchConvert()
236 UpperBound->getSExtValue() - LowerBound->getSExtValue(); in switchConvert()
278 dbgs() << NewLowerBound->getSExtValue() << " - "; if (UpperBound) { in switchConvert()
279 dbgs() << UpperBound->getSExtValue() << "\n"; in switchConvert()
294 UpperBound, Val, NewNode, OrigBlock, in switchConvert()
337 Constant *UpperBound = ConstantExpr::getAdd(NegLo, Leaf.High); in newLeafBlock() local
338 Comp = new ICmpInst(*NewLeaf, ICmpInst::ICMP_ULE, Add, UpperBound, in newLeafBlock()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DScheduleDAG.cpp526 int UpperBound, LowerBound; in AddPred() local
528 UpperBound = Node2Index[X->NodeNum]; in AddPred()
531 if (LowerBound < UpperBound) { in AddPred()
534 DFS(Y, UpperBound, HasLoop); in AddPred()
537 Shift(Visited, LowerBound, UpperBound); in AddPred()
545 void ScheduleDAGTopologicalSort::DFS(const SUnit *SU, int UpperBound, in DFS() argument
561 if (Node2Index[s] == UpperBound) { in DFS()
566 if (!Visited.test(s) && Node2Index[s] < UpperBound) { in DFS()
578 int UpperBound = Node2Index[TargetSU.NodeNum]; in GetSubGraph() local
583 if (LowerBound > UpperBound) { in GetSubGraph()
[all …]
/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/swiftshader/third_party/llvm-7.0/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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DR600FrameLowering.cpp36 int UpperBound = FI == -1 ? MFI.getNumObjects() : FI; in getFrameIndexReference() local
38 for (int i = MFI.getObjectIndexBegin(); i < UpperBound; ++i) { in getFrameIndexReference()
/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/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_UpperBound.pbtxt2 graph_op_name: "UpperBound"
40 result = UpperBound(sorted_sequence, values)
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DLoopUnrollPass.cpp193 UP.UpperBound = false; in gatherUnrollingPreferences()
227 UP.UpperBound = false; in gatherUnrollingPreferences()
245 UP.UpperBound = *UserUpperBound; in gatherUnrollingPreferences()
783 TripMultiple = UP.UpperBound ? 1 : TripMultiple; in computeUnrollCount()
797 TripMultiple = UP.UpperBound ? 1 : TripMultiple; in computeUnrollCount()
1052 if (!(UP.UpperBound || MaxOrZero) || MaxTripCount > UnrollMaxUpperBound) { in tryToUnrollLoop()
1105 Optional<bool> UpperBound = None, in LoopUnroll() argument
1109 ProvidedRuntime(Runtime), ProvidedUpperBound(UpperBound), in LoopUnroll()
1165 int AllowPartial, int Runtime, int UpperBound, in INITIALIZE_PASS_DEPENDENCY()
1175 UpperBound == -1 ? None : Optional<bool>(UpperBound), in INITIALIZE_PASS_DEPENDENCY()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DMemorySSA.cpp1244 unsigned long UpperBound = VersionStack.size() - 1; in optimizeUsesInBlock() local
1246 if (UpperBound - LocInfo.LowerBound > MaxCheckLimit) { in optimizeUsesInBlock()
1250 << UpperBound - LocInfo.LowerBound in optimizeUsesInBlock()
1258 while (UpperBound > LocInfo.LowerBound) { in optimizeUsesInBlock()
1259 if (isa<MemoryPhi>(VersionStack[UpperBound])) { in optimizeUsesInBlock()
1264 while (VersionStack[UpperBound] != Result) { in optimizeUsesInBlock()
1265 assert(UpperBound != 0); in optimizeUsesInBlock()
1266 --UpperBound; in optimizeUsesInBlock()
1272 MemoryDef *MD = cast<MemoryDef>(VersionStack[UpperBound]); in optimizeUsesInBlock()
1277 UpperBound = 0; in optimizeUsesInBlock()
[all …]
DDependenceAnalysis.cpp527 const APInt &UpperBound = CUB->getAPInt(); in intersectConstraints() local
528 LLVM_DEBUG(dbgs() << "\t\tupper bound = " << UpperBound << "\n"); in intersectConstraints()
529 if (Xq.sgt(UpperBound) || Yq.sgt(UpperBound)) { in intersectConstraints()
1152 if (const SCEV *UpperBound = collectUpperBound(CurLoop, Delta->getType())) { in strongSIVtest() local
1153 LLVM_DEBUG(dbgs() << "\t UpperBound = " << *UpperBound); in strongSIVtest()
1154 LLVM_DEBUG(dbgs() << ", " << *UpperBound->getType() << "\n"); in strongSIVtest()
1159 const SCEV *Product = SE->getMulExpr(UpperBound, AbsCoeff); in strongSIVtest()
1330 if (const SCEV *UpperBound = collectUpperBound(CurLoop, Delta->getType())) { in weakCrossingSIVtest() local
1331 LLVM_DEBUG(dbgs() << "\t UpperBound = " << *UpperBound << "\n"); in weakCrossingSIVtest()
1332 const SCEV *ConstantTwo = SE->getConstant(UpperBound->getType(), 2); in weakCrossingSIVtest()
[all …]
/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/tensorflow/tensorflow/core/api_def/java_api/
Dapi_def_UpperBound.pbtxt2 graph_op_name: "UpperBound"
/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 …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/GlobalISel/
DInstructionSelectorImpl.h160 int64_t UpperBound = MatchTable[CurrentIdx++]; in executeMatchTable() local
168 << LowerBound << ", " << UpperBound << "), Default=" << Default in executeMatchTable()
171 if (Opcode < LowerBound || UpperBound <= Opcode) { in executeMatchTable()
188 int64_t UpperBound = MatchTable[CurrentIdx++]; in executeMatchTable() local
197 << UpperBound << "), Default=" << Default in executeMatchTable()
215 if (TypeID < LowerBound || UpperBound <= TypeID) { in executeMatchTable()
/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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/
DScalar.h189 int UpperBound = -1, int AllowPeeling = -1);
/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-7.0/llvm/include/llvm/CodeGen/
DScheduleDAG.h709 void DFS(const SUnit *SU, int UpperBound, bool& HasLoop);
713 void Shift(BitVector& Visited, int LowerBound, int UpperBound);
/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);

12