Home
last modified time | relevance | path

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

12

/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DLibCallsShrinkWrap.cpp321 float UpperBound; in generateOneRangeCond() local
324 UpperBound = 709.0f; in generateOneRangeCond()
327 UpperBound = 88.0f; in generateOneRangeCond()
348 UpperBound = 710.0f; in generateTwoRangeCond()
353 UpperBound = 89.0f; in generateTwoRangeCond()
362 UpperBound = 709.0f; in generateTwoRangeCond()
366 UpperBound = 88.0f; in generateTwoRangeCond()
374 UpperBound = 308.0f; in generateTwoRangeCond()
378 UpperBound = 38.0f; in generateTwoRangeCond()
382 UpperBound = 4932.0f; in generateTwoRangeCond()
[all …]
H A 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
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()
240 return NewLeafBlock(*Begin, Val, LowerBound, UpperBound, OrigBlock, in SwitchConvert()
277 << ", " << UpperBound->getSExtValue() << "]\n"); in SwitchConvert()
378 ConstantInt *UpperBound = nullptr; in ProcessSwitchInst() local
386 UpperBound = Cases.back().High; in ProcessSwitchInst()
[all …]
/netbsd/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A 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()
586 if (Node2Index[s] == UpperBound) { in DFS()
608 if (LowerBound > UpperBound) { in GetSubGraph()
628 if (Node2Index[s] == UpperBound) { in GetSubGraph()
729 int UpperBound, LowerBound; in IsReachable() local
731 UpperBound = Node2Index[SU->NodeNum]; in IsReachable()
734 if (LowerBound < UpperBound) { in IsReachable()
[all …]
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DR600FrameLowering.cpp31 int UpperBound = FI == -1 ? MFI.getNumObjects() : FI; in getFrameIndexReference() local
33 for (int i = MFI.getObjectIndexBegin(); i < UpperBound; ++i) { in getFrameIndexReference()
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Scalar/
H A DLoopUnrollPass.h106 LoopUnrollOptions &setUpperBound(bool UpperBound) { in setUpperBound()
107 AllowUpperBound = UpperBound; in setUpperBound()
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DLoopUnrollPass.cpp211 UP.UpperBound = false; in gatherUnrollingPreferences()
249 UP.UpperBound = false; in gatherUnrollingPreferences()
267 UP.UpperBound = *UserUpperBound; in gatherUnrollingPreferences()
830 if (!(UP.UpperBound || MaxOrZero) || in computeUnrollCount()
849 TripMultiple = UP.UpperBound ? 1 : TripMultiple; in computeUnrollCount()
864 TripMultiple = UP.UpperBound ? 1 : TripMultiple; in computeUnrollCount()
1236 Optional<bool> UpperBound = None, in LoopUnroll() argument
1243 ProvidedRuntime(Runtime), ProvidedUpperBound(UpperBound), in LoopUnroll()
1304 int AllowPartial, int Runtime, int UpperBound, in INITIALIZE_PASS_DEPENDENCY()
1315 UpperBound == -1 ? None : Optional<bool>(UpperBound), in INITIALIZE_PASS_DEPENDENCY()
/netbsd/external/apache2/llvm/dist/llvm/lib/IR/
H A DLLVMContextImpl.h307 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;
357 : CountNode(CountNode), LowerBound(LowerBound), UpperBound(UpperBound),
366 (UpperBound == RHS->getRawUpperBound()) &&
374 LowerBound, UpperBound, Stride);
[all …]
/netbsd/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A 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()
/netbsd/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DMemorySSA.cpp1423 unsigned long UpperBound = VersionStack.size() - 1; in optimizeUsesInBlock() local
1425 if (UpperBound - LocInfo.LowerBound > MaxCheckLimit) { in optimizeUsesInBlock()
1429 << UpperBound - LocInfo.LowerBound in optimizeUsesInBlock()
1438 while (UpperBound > LocInfo.LowerBound) { in optimizeUsesInBlock()
1439 if (isa<MemoryPhi>(VersionStack[UpperBound])) { in optimizeUsesInBlock()
1444 while (VersionStack[UpperBound] != Result) { in optimizeUsesInBlock()
1445 assert(UpperBound != 0); in optimizeUsesInBlock()
1446 --UpperBound; in optimizeUsesInBlock()
1459 --UpperBound; in optimizeUsesInBlock()
1468 if (MSSA->isLiveOnEntryDef(VersionStack[UpperBound])) in optimizeUsesInBlock()
[all …]
H A DDependenceAnalysis.cpp547 const APInt &UpperBound = CUB->getAPInt(); in intersectConstraints() local
549 if (Xq.sgt(UpperBound) || Yq.sgt(UpperBound)) { in intersectConstraints()
1166 LLVM_DEBUG(dbgs() << "\t UpperBound = " << *UpperBound); in strongSIVtest()
1172 const SCEV *Product = SE->getMulExpr(UpperBound, AbsCoeff); in strongSIVtest()
1716 const SCEV *Product = SE->getMulExpr(AbsCoeff, UpperBound); in weakZeroSrcSIVtest()
1825 const SCEV *Product = SE->getMulExpr(AbsCoeff, UpperBound); in weakZeroDstSIVtest()
1906 if (const SCEVConstant *UpperBound = in exactRDIVtest() local
1908 SrcUM = UpperBound->getAPInt(); in exactRDIVtest()
1916 if (const SCEVConstant *UpperBound = in exactRDIVtest() local
1918 DstUM = UpperBound->getAPInt(); in exactRDIVtest()
[all …]
H A DInlineCost.cpp517 void addCost(int64_t Inc, int64_t UpperBound = INT_MAX) { in addCost() argument
518 assert(UpperBound > 0 && UpperBound <= INT_MAX && "invalid upper bound"); in addCost()
519 Cost = (int)std::min(UpperBound, Cost + Inc); in addCost()
/netbsd/external/apache2/llvm/dist/clang/utils/TableGen/
H A DNeonEmitter.cpp2115 std::string LowerBound, UpperBound; in genIntrinsicRangeCheckCode() local
2121 UpperBound = "63"; in genIntrinsicRangeCheckCode()
2129 UpperBound = "15"; in genIntrinsicRangeCheckCode()
2131 UpperBound = "31"; in genIntrinsicRangeCheckCode()
2133 UpperBound = "63"; in genIntrinsicRangeCheckCode()
2149 UpperBound = "RFT(TV, true)"; in genIntrinsicRangeCheckCode()
2154 UpperBound = "RFT(TV, false, true)"; in genIntrinsicRangeCheckCode()
2156 UpperBound = "RFT(TV, false, false)"; in genIntrinsicRangeCheckCode()
2161 UpperBound = utostr(T.getNumElements() - 1); in genIntrinsicRangeCheckCode()
2173 if (!UpperBound.empty()) in genIntrinsicRangeCheckCode()
[all …]
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/GlobalISel/
H A DInstructionSelectorImpl.h185 int64_t UpperBound = MatchTable[CurrentIdx++]; in executeMatchTable() local
193 << LowerBound << ", " << UpperBound << "), Default=" << Default in executeMatchTable()
196 if (Opcode < LowerBound || UpperBound <= Opcode) { in executeMatchTable()
213 int64_t UpperBound = MatchTable[CurrentIdx++]; in executeMatchTable() local
222 << UpperBound << "), Default=" << Default in executeMatchTable()
240 if (TypeID < LowerBound || UpperBound <= TypeID) { in executeMatchTable()
/netbsd/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DProgramState.cpp322 DefinedOrUnknownSVal UpperBound, in assumeInBound() argument
325 if (Idx.isUnknown() || UpperBound.isUnknown()) in assumeInBound()
349 svalBuilder.evalBinOpNN(this, BO_Add, UpperBound.castAs<NonLoc>(), in assumeInBound()
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/
H A DWebAssemblyTargetTransformInfo.cpp130 UP.Partial = UP.Runtime = UP.UpperBound = true; in getUnrollingPreferences()
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/Transforms/
H A DScalar.h191 int Runtime = -1, int UpperBound = -1,
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
H A DScheduleDAG.h715 void DFS(const SUnit *SU, int UpperBound, bool& HasLoop);
719 void Shift(BitVector& Visited, int LowerBound, int UpperBound);
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DDIBuilder.h611 Metadata *UpperBound, Metadata *Stride);
616 DIGenericSubrange::BoundType UpperBound,
H A DDebugInfoMetadata.h314 Metadata *LowerBound, Metadata *UpperBound,
332 Metadata *UpperBound, Metadata *Stride),
333 (CountNode, LowerBound, UpperBound, Stride))
374 Metadata *LowerBound, Metadata *UpperBound,
386 Metadata *UpperBound, Metadata *Stride),
387 (CountNode, LowerBound, UpperBound, Stride))
/netbsd/external/apache2/llvm/dist/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp1294 Value *UpperBound = Builder.CreateSub(CLI->getTripCount(), One); in createStaticWorkshareLoop() local
1295 Builder.CreateStore(UpperBound, PUpperBound); in createStaticWorkshareLoop()
1417 Value *UpperBound = CLI->getTripCount(); in createDynamicWorkshareLoop() local
1418 Builder.CreateStore(UpperBound, PUpperBound); in createDynamicWorkshareLoop()
1442 UpperBound, /* step */ One, Chunk}); in createDynamicWorkshareLoop()
1475 UpperBound = Builder.CreateLoad(IVTy, PUpperBound, "ub"); in createDynamicWorkshareLoop()
1478 CI->setOperand(1, UpperBound); in createDynamicWorkshareLoop()
/netbsd/external/apache2/llvm/dist/libcxx/benchmarks/
H A Dmap.bench.cpp954 struct UpperBound : Base { struct
1034 makeCartesianProductBenchmark<UpperBound, AllModes, AllOrders>(MapSize); in main()
/netbsd/external/apache2/llvm/dist/llvm/lib/DebugInfo/DWARF/
H A DDWARFContext.cpp1113 if (Optional<int64_t> UpperBound = in getTypeSize() local
1118 Size *= *UpperBound - LowerBound + 1; in getTypeSize()
/netbsd/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaLookup.cpp4263 unsigned UpperBound = (TypoStr.size() + 2) / 3; in addName() local
4264 unsigned ED = TypoStr.edit_distance(Name, true, UpperBound); in addName()
4265 if (ED > UpperBound) return; in addName()
/netbsd/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGDebugInfo.cpp745 auto *UpperBound = DBuilder.createExpression(Expr); in CreateType() local
748 /*count*/ nullptr, LowerBound, UpperBound, /*stride*/ nullptr); in CreateType()
805 auto *UpperBound = DBuilder.createExpression(Expr); in CreateType() local
807 /*count*/ nullptr, LowerBound, UpperBound, /*stride*/ nullptr); in CreateType()
/netbsd/external/apache2/llvm/dist/llvm/lib/AsmParser/
H A DLLParser.cpp4753 Metadata *UpperBound = nullptr; in parseDISubrange() local
4767 UpperBound = convToMetadata(upperBound); in parseDISubrange()
4771 (Context, Count, LowerBound, UpperBound, Stride)); in parseDISubrange()
4800 Metadata *UpperBound = ConvToMetadata(upperBound); in parseDIGenericSubrange() local
4804 (Context, Count, LowerBound, UpperBound, Stride)); in parseDIGenericSubrange()

12