Home
last modified time | relevance | path

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

1234

/external/swiftshader/third_party/llvm-10.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.cpp107 ConstantInt *LowerBound, ConstantInt *UpperBound,
112 ConstantInt *LowerBound, ConstantInt *UpperBound,
250 ConstantInt *UpperBound, Value *Val, in switchConvert() argument
254 assert(LowerBound && UpperBound && "Bounds must be initialized"); in switchConvert()
262 if (Begin->Low == LowerBound && Begin->High == UpperBound) { in switchConvert()
264 NumMergedCases = UpperBound->getSExtValue() - LowerBound->getSExtValue(); in switchConvert()
268 return newLeafBlock(*Begin, Val, LowerBound, UpperBound, OrigBlock, in switchConvert()
305 << ", " << UpperBound->getSExtValue() << "]\n"); in switchConvert()
319 UpperBound, Val, NewNode, OrigBlock, in switchConvert()
335 ConstantInt *UpperBound, in newLeafBlock() argument
[all …]
/external/llvm-project/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.cpp157 ConstantInt *UpperBound, BasicBlock *OrigBlock, in NewLeafBlock() argument
175 } else if (Leaf.High == UpperBound) { in NewLeafBlock()
188 Constant *UpperBound = ConstantExpr::getAdd(NegLo, Leaf.High); in NewLeafBlock() local
189 Comp = new ICmpInst(*NewLeaf, ICmpInst::ICMP_ULE, Add, UpperBound, in NewLeafBlock()
222 ConstantInt *UpperBound, Value *Val, in SwitchConvert() argument
226 assert(LowerBound && UpperBound && "Bounds must be initialized"); in SwitchConvert()
234 if (Begin->Low == LowerBound && Begin->High == UpperBound) { in SwitchConvert()
236 NumMergedCases = UpperBound->getSExtValue() - LowerBound->getSExtValue(); in SwitchConvert()
240 return NewLeafBlock(*Begin, Val, LowerBound, UpperBound, OrigBlock, in SwitchConvert()
277 << ", " << UpperBound->getSExtValue() << "]\n"); in SwitchConvert()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DScheduleDAG.cpp549 int UpperBound, LowerBound; in AddPred() local
551 UpperBound = Node2Index[X->NodeNum]; in AddPred()
554 if (LowerBound < UpperBound) { in AddPred()
557 DFS(Y, UpperBound, HasLoop); in AddPred()
560 Shift(Visited, LowerBound, UpperBound); in AddPred()
570 void ScheduleDAGTopologicalSort::DFS(const SUnit *SU, int UpperBound, in DFS() argument
586 if (Node2Index[s] == UpperBound) { in DFS()
591 if (!Visited.test(s) && Node2Index[s] < UpperBound) { in DFS()
603 int UpperBound = Node2Index[TargetSU.NodeNum]; in GetSubGraph() local
608 if (LowerBound > UpperBound) { in GetSubGraph()
[all …]
/external/llvm-project/llvm/lib/CodeGen/
DScheduleDAG.cpp549 int UpperBound, LowerBound; in AddPred() local
551 UpperBound = Node2Index[X->NodeNum]; in AddPred()
554 if (LowerBound < UpperBound) { in AddPred()
557 DFS(Y, UpperBound, HasLoop); in AddPred()
560 Shift(Visited, LowerBound, UpperBound); in AddPred()
570 void ScheduleDAGTopologicalSort::DFS(const SUnit *SU, int UpperBound, in DFS() argument
586 if (Node2Index[s] == UpperBound) { in DFS()
591 if (!Visited.test(s) && Node2Index[s] < UpperBound) { in DFS()
603 int UpperBound = Node2Index[TargetSU.NodeNum]; in GetSubGraph() local
608 if (LowerBound > UpperBound) { in GetSubGraph()
[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-project/clang-tools-extra/clang-tidy/bugprone/
DTooSmallLoopVariableCheck.cpp111 const Expr *UpperBound, in calcUpperBoundMagnitudeBits() argument
115 if (const auto *BinOperator = dyn_cast<BinaryOperator>(UpperBound)) { in calcUpperBoundMagnitudeBits()
149 const auto *UpperBound = in check() local
159 QualType UpperBoundType = UpperBound->getType(); in check()
165 calcUpperBoundMagnitudeBits(Context, UpperBound, UpperBoundType); in check()
/external/llvm-project/llvm/unittests/ADT/
DSparseSetTest.cpp190 const unsigned UpperBound = 300; in TEST() local
191 Set.setUniverse(UpperBound); in TEST()
192 for (unsigned i = 0; i < UpperBound; ++i) in TEST()
197 unsigned Expected = UpperBound; in TEST()
204 for (unsigned i = 0; i < UpperBound; ++i) in TEST()
/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-10.0/llvm/lib/Target/AMDGPU/
DR600FrameLowering.cpp35 int UpperBound = FI == -1 ? MFI.getNumObjects() : FI; in getFrameIndexReference() local
37 for (int i = MFI.getObjectIndexBegin(); i < UpperBound; ++i) { in getFrameIndexReference()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DR600FrameLowering.cpp35 int UpperBound = FI == -1 ? MFI.getNumObjects() : FI; in getFrameIndexReference() local
37 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/llvm-project/polly/lib/Transform/
DMaximalStaticExpansion.cpp381 auto UpperBound = getConstant(CurrentStmtDomain.dim_max(i), true, false); in expandAccess() local
382 assert(!UpperBound.is_null() && UpperBound.is_pos() && in expandAccess()
383 !UpperBound.is_nan() && in expandAccess()
385 assert(UpperBound.le(isl::val(CurrentAccessMap.get_ctx(), in expandAccess()
388 Sizes.push_back(UpperBound.get_num_si() + 1); in expandAccess()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Scalar/
DLoopUnrollPass.h106 LoopUnrollOptions &setUpperBound(bool UpperBound) { in setUpperBound()
107 AllowUpperBound = UpperBound; in setUpperBound()
/external/llvm-project/llvm/include/llvm/Transforms/Scalar/
DLoopUnrollPass.h106 LoopUnrollOptions &setUpperBound(bool UpperBound) { in setUpperBound()
107 AllowUpperBound = UpperBound; in setUpperBound()
/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-10.0/llvm/lib/Transforms/Scalar/
DLoopUnrollPass.cpp205 UP.UpperBound = false; in gatherUnrollingPreferences()
244 UP.UpperBound = false; in gatherUnrollingPreferences()
262 UP.UpperBound = *UserUpperBound; in gatherUnrollingPreferences()
803 if (!(UP.UpperBound || MaxOrZero) || in computeUnrollCount()
822 TripMultiple = UP.UpperBound ? 1 : TripMultiple; in computeUnrollCount()
836 TripMultiple = UP.UpperBound ? 1 : TripMultiple; in computeUnrollCount()
1207 Optional<bool> UpperBound = None, in LoopUnroll() argument
1214 ProvidedRuntime(Runtime), ProvidedUpperBound(UpperBound), in LoopUnroll()
1275 int AllowPartial, int Runtime, int UpperBound, in INITIALIZE_PASS_DEPENDENCY()
1286 UpperBound == -1 ? None : Optional<bool>(UpperBound), in INITIALIZE_PASS_DEPENDENCY()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DLoopUnrollPass.cpp211 UP.UpperBound = false; in gatherUnrollingPreferences()
247 UP.UpperBound = false; in gatherUnrollingPreferences()
265 UP.UpperBound = *UserUpperBound; in gatherUnrollingPreferences()
810 if (!(UP.UpperBound || MaxOrZero) || in computeUnrollCount()
829 TripMultiple = UP.UpperBound ? 1 : TripMultiple; in computeUnrollCount()
844 TripMultiple = UP.UpperBound ? 1 : TripMultiple; in computeUnrollCount()
1216 Optional<bool> UpperBound = None, in LoopUnroll() argument
1223 ProvidedRuntime(Runtime), ProvidedUpperBound(UpperBound), in LoopUnroll()
1284 int AllowPartial, int Runtime, int UpperBound, in INITIALIZE_PASS_DEPENDENCY()
1295 UpperBound == -1 ? None : Optional<bool>(UpperBound), in INITIALIZE_PASS_DEPENDENCY()
/external/llvm-project/llvm/lib/IR/
DLLVMContextImpl.h307 Metadata *UpperBound;
310 MDNodeKeyImpl(Metadata *CountNode, Metadata *LowerBound, Metadata *UpperBound,
312 : CountNode(CountNode), LowerBound(LowerBound), UpperBound(UpperBound),
316 UpperBound(N->getRawUpperBound()), Stride(N->getRawStride()) {}
336 BoundsEqual(UpperBound, RHS->getRawUpperBound()) &&
344 LowerBound, UpperBound, Stride);
345 return hash_combine(CountNode, LowerBound, UpperBound, Stride);
352 Metadata *UpperBound;
355 MDNodeKeyImpl(Metadata *CountNode, Metadata *LowerBound, Metadata *UpperBound,
357 : CountNode(CountNode), LowerBound(LowerBound), UpperBound(UpperBound),
[all …]
/external/tensorflow/tensorflow/core/api_def/java_api/
Dapi_def_UpperBound.pbtxt2 graph_op_name: "UpperBound"
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DDynamicTypePropagation.cpp689 const ObjCObjectPointerType *UpperBound = OrigObjectPtrType; in checkPostStmt() local
691 std::swap(LowerBound, UpperBound); in checkPostStmt()
694 LowerBound = LowerBound->isObjCIdType() ? UpperBound : LowerBound; in checkPostStmt()
695 UpperBound = UpperBound->isObjCIdType() ? LowerBound : UpperBound; in checkPostStmt()
697 if (storeWhenMoreInformative(State, Sym, TrackedType, LowerBound, UpperBound, in checkPostStmt()
/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-project/llvm/test/Verifier/
Dinvalid-disubrange-upperBound.ll4 ; CHECK: UpperBound must be signed constant or DIVariable or DIExpression

1234