Home
last modified time | relevance | path

Searched refs:Bound (Results 1 – 25 of 46) sorted by relevance

12

/llvm-project-15.0.7/flang/include/flang/Semantics/
H A Dtype.h57 class Bound {
59 static Bound Star() { return Bound(Category::Star); } in Star()
60 static Bound Colon() { return Bound(Category::Colon); } in Colon()
63 Bound(const Bound &) = default;
64 Bound(Bound &&) = default;
65 Bound &operator=(const Bound &) = default;
66 Bound &operator=(Bound &&) = default;
188 return ShapeSpec(Bound{1}, Bound::Colon()); in MakeAssumedShape()
196 return ShapeSpec(Bound::Colon(), Bound::Colon()); in MakeDeferred()
206 return ShapeSpec(Bound::Star(), Bound::Star()); in MakeAssumedRank()
[all …]
/llvm-project-15.0.7/clang/test/CXX/temp/temp.decls/temp.variadic/
H A Dexample-bind.cpp275 template<typename Bound, typename... Args>
278 mu(Bound& bound_arg, const tuple<Args&...>& args) { in mu()
279 return get<is_placeholder<Bound>::value-1>(args); in mu()
293 template<typename Bound, typename... Args>
294 inline typename enable_if<is_bind_expression<Bound>::value,
295 typename Bound::result_type>::type
296 mu(Bound& bound_arg, const tuple<Args&...>& args) { in mu()
311 template<typename Bound, typename... Args>
313 && !is_placeholder<Bound>::value
315 Bound&>::type
[all …]
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DDependenceAnalysis.cpp2610 delete [] Bound; in banerjeeMIVtest()
2645 Bound[K].DirSet |= Bound[K].Direction; in exploreDirections()
2772 if (Bound[K].Iterations) { in findBoundsALL()
2853 Bound[K].Iterations, SE->getOne(Bound[K].Iterations->getType())); in findBoundsLT()
2897 Bound[K].Iterations, SE->getOne(Bound[K].Iterations->getType())); in findBoundsGT()
2982 const SCEV *Sum = Bound[1].Lower[Bound[1].Direction]; in getLowerBound()
2984 if (Bound[K].Lower[Bound[K].Direction]) in getLowerBound()
2985 Sum = SE->getAddExpr(Sum, Bound[K].Lower[Bound[K].Direction]); in getLowerBound()
2998 const SCEV *Sum = Bound[1].Upper[Bound[1].Direction]; in getUpperBound()
3000 if (Bound[K].Upper[Bound[K].Direction]) in getUpperBound()
[all …]
H A DDemandedBits.cpp544 APInt Bound = (LHS.Zero & RHS.Zero) | (LHS.One & RHS.One); in determineLiveOperandBitsAddCarry() local
551 APInt RBound = Bound.reverseBits(); in determineLiveOperandBitsAddCarry()
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DDependenceAnalysis.h798 const SCEV *getLowerBound(BoundInfo *Bound) const;
803 const SCEV *getUpperBound(BoundInfo *Bound) const;
813 BoundInfo *Bound,
821 BoundInfo *Bound,
828 BoundInfo *Bound,
835 BoundInfo *Bound,
842 BoundInfo *Bound,
849 BoundInfo *Bound,
/llvm-project-15.0.7/openmp/libomptarget/DeviceRTL/src/
H A DReduction.cpp206 static unsigned SHARED(Bound); in __kmpc_nvptx_teams_reduce_nowait_v2()
214 Bound = atomic::load(&IterCnt, __ATOMIC_SEQ_CST); in __kmpc_nvptx_teams_reduce_nowait_v2()
215 if (TeamId < Bound + num_of_records) in __kmpc_nvptx_teams_reduce_nowait_v2()
261 if (ChunkTeamCount == NumTeams - Bound - 1) { in __kmpc_nvptx_teams_reduce_nowait_v2()
/llvm-project-15.0.7/llvm/lib/MC/
H A DSPIRVObjectWriter.cpp53 constexpr uint32_t Bound = 900; in writeHeader() local
59 W.write<uint32_t>(Bound); in writeHeader()
/llvm-project-15.0.7/clang/lib/Tooling/Syntax/
H A DTokens.cpp139 auto AdjustBound = [&](SourceLocation &Bound) { in spelledForExpandedSlow() argument
140 if (Bound.isInvalid() || !Bound.isMacroID()) // Non-macro must be case B. in spelledForExpandedSlow()
142 auto DecBound = SM.getDecomposedLoc(Bound); in spelledForExpandedSlow()
147 Bound = ExpBound.getSpellingLoc().getLocWithOffset(DecBound.second); in spelledForExpandedSlow()
150 while (Bound.isMacroID()) { in spelledForExpandedSlow()
151 SourceRange Exp = SM.getImmediateExpansionRange(Bound).getAsRange(); in spelledForExpandedSlow()
154 Bound = (&Bound == &Prev) ? Exp.getBegin() : Exp.getEnd(); in spelledForExpandedSlow()
162 Bound = (&Bound == &Prev) ? Exp.getEnd() : Exp.getBegin(); in spelledForExpandedSlow()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DMatrixUtils.cpp24 Value *Bound, Value *Step, StringRef Name, in CreateLoop() argument
44 Value *Cond = B.CreateICmpNE(Inc, Bound, Name + ".cond"); in CreateLoop()
/llvm-project-15.0.7/compiler-rt/lib/ubsan/
H A Dubsan_handlers.cpp436 static void handleVLABoundNotPositive(VLABoundData *Data, ValueHandle Bound, in handleVLABoundNotPositive() argument
448 << Value(Data->Type, Bound); in handleVLABoundNotPositive()
452 ValueHandle Bound) { in __ubsan_handle_vla_bound_not_positive() argument
454 handleVLABoundNotPositive(Data, Bound, Opts); in __ubsan_handle_vla_bound_not_positive()
457 ValueHandle Bound) { in __ubsan_handle_vla_bound_not_positive_abort() argument
459 handleVLABoundNotPositive(Data, Bound, Opts); in __ubsan_handle_vla_bound_not_positive_abort()
H A Dubsan_handlers.h108 RECOVERABLE(vla_bound_not_positive, VLABoundData *Data, ValueHandle Bound)
/llvm-project-15.0.7/flang/lib/Semantics/
H A Dresolve-names-utils.cpp245 Bound GetBound(const std::optional<parser::SpecificationExpr> &);
246 Bound GetBound(const parser::SpecificationExpr &);
339 Bound ArraySpecAnalyzer::GetBound( in GetBound()
341 return x ? GetBound(*x) : Bound{1}; in GetBound()
343 Bound ArraySpecAnalyzer::GetBound(const parser::SpecificationExpr &x) { in GetBound()
352 return Bound{std::move(expr)}; in GetBound()
H A Dtype.cpp605 Bound::Bound(common::ConstantSubscript bound) : expr_{bound} {} in Bound() function in Fortran::semantics::Bound
607 llvm::raw_ostream &operator<<(llvm::raw_ostream &o, const Bound &x) { in operator <<()
H A Druntime-type-info.cpp277 arraySpec.push_back(ShapeSpec::MakeExplicit(Bound{0}, Bound{elements - 1})); in SaveNumericPointerTarget()
311 arraySpec.push_back(ShapeSpec::MakeExplicit(Bound{0}, Bound{n - 1})); in SaveDerivedPointerTarget()
/llvm-project-15.0.7/libcxx/include/
H A Dranges205 template<weakly_incrementable W, semiregular Bound = unreachable_sentinel_t>
206 requires weakly-equality-comparable-with<W, Bound> && copyable<W>
209 template<class W, class Bound>
210 inline constexpr bool enable_borrowed_range<iota_view<W, Bound>> = true;
/llvm-project-15.0.7/llvm/include/llvm/Transforms/Utils/
H A DMatrixUtils.h83 Value *Bound, Value *Step, StringRef Name,
/llvm-project-15.0.7/llvm/test/Object/
H A Dcoff-dwarf-debug-only.test15 CHECK-NEXT: Entry b 0000000000000000 00000000 Bound Import Directory
/llvm-project-15.0.7/polly/lib/CodeGen/
H A DPPCGCodeGeneration.cpp2250 long Bound = isl_val_get_num_si(Val); in createKernelVariables() local
2257 long Bound = isl_val_get_num_si(Val); in createKernelVariables() local
2259 ArrayTy = ArrayType::get(ArrayTy, Bound); in createKernelVariables()
2943 Dom = isl_pw_aff_domain(isl_pw_aff_copy(Bound)); in setArrayBounds()
2948 Bound = isl_pw_aff_add(Bound, isl_pw_aff_alloc(Dom, One)); in setArrayBounds()
2949 Bound = isl_pw_aff_gist(Bound, S->getContext().release()); in setArrayBounds()
2950 Bounds.push_back(Bound); in setArrayBounds()
2955 isl_pw_aff *Bound = Array->getDimensionSizePw(i).release(); in setArrayBounds() local
2956 auto LS = isl_pw_aff_get_domain_space(Bound); in setArrayBounds()
2984 Bound = isl_pw_aff_pullback_multi_aff(Bound, Aff); in setArrayBounds()
[all …]
/llvm-project-15.0.7/llvm/test/Transforms/RewriteStatepointsForGC/
H A Dpreprocess.ll46 ; Bound the last check-not
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/JITLink/
H A DELF_riscv.cpp150 auto Bound = in getRISCVPCRelHi20() local
153 for (auto It = Bound.first; It != Bound.second; ++It) { in getRISCVPCRelHi20()
/llvm-project-15.0.7/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp802 llvm::Optional<DynTypedMatcher> Bound = Result->tryBind(BindID); in constructBoundMatcher() local
803 if (Bound) { in constructBoundMatcher()
804 return VariantMatcher::SingleMatcher(*Bound); in constructBoundMatcher()
H A DParser.cpp401 llvm::Optional<DynTypedMatcher> Bound = Result->tryBind(BindID); in parseIdentifierPrefixImpl() local
402 if (Bound) { in parseIdentifierPrefixImpl()
403 *Value = VariantMatcher::SingleMatcher(*Bound); in parseIdentifierPrefixImpl()
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86LowerAMXIntrinsics.cpp73 BasicBlock *createLoop(BasicBlock *Preheader, BasicBlock *Exit, Value *Bound,
105 BasicBlock *Exit, Value *Bound, in createLoop() argument
125 Value *Cond = B.CreateICmpNE(Inc, Bound, Name + ".cond"); in createLoop()
/llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfUnit.cpp1366 DISubrange::BoundType Bound) -> void { in constructSubrangeDIE() argument
1367 if (auto *BV = Bound.dyn_cast<DIVariable *>()) { in constructSubrangeDIE()
1370 } else if (auto *BE = Bound.dyn_cast<DIExpression *>()) { in constructSubrangeDIE()
1376 } else if (auto *BI = Bound.dyn_cast<ConstantInt *>()) { in constructSubrangeDIE()
1405 DIGenericSubrange::BoundType Bound) -> void { in constructGenericSubrangeDIE() argument
1406 if (auto *BV = Bound.dyn_cast<DIVariable *>()) { in constructGenericSubrangeDIE()
1409 } else if (auto *BE = Bound.dyn_cast<DIExpression *>()) { in constructGenericSubrangeDIE()
/llvm-project-15.0.7/clang/utils/TableGen/
H A DRISCVVEmitter.cpp269 size_t Bound = SignatureTable.size() - Signature.size() + 1; in getIndex() local
270 for (size_t Index = 0; Index < Bound; ++Index) { in getIndex()

12