Home
last modified time | relevance | path

Searched refs:Bounds (Results 1 – 25 of 67) sorted by relevance

123

/llvm-project-15.0.7/llvm/unittests/Analysis/
H A DLoopInfoTest.cpp274 EXPECT_NE(Bounds, None); in TEST()
333 EXPECT_NE(Bounds, None); in TEST()
392 EXPECT_NE(Bounds, None); in TEST()
451 EXPECT_NE(Bounds, None); in TEST()
510 EXPECT_NE(Bounds, None); in TEST()
570 EXPECT_NE(Bounds, None); in TEST()
629 EXPECT_NE(Bounds, None); in TEST()
685 EXPECT_NE(Bounds, None); in TEST()
744 EXPECT_NE(Bounds, None); in TEST()
804 EXPECT_NE(Bounds, None); in TEST()
[all …]
/llvm-project-15.0.7/clang/lib/Frontend/
H A DPrecompiledPreamble.cpp402 const llvm::MemoryBuffer *MainFileBuffer, PreambleBounds Bounds, in Build() argument
431 Bounds.Size); in Build()
432 bool PreambleEndsAtStartOfLine = Bounds.PreambleEndsAtStartOfLine; in Build()
590 PreambleBounds Bounds, in CanReuse() argument
594 Bounds.Size <= MainFileBuffer.getBufferSize() && in CanReuse()
605 if (PreambleBytes.size() != Bounds.Size || in CanReuse()
703 configurePreamble(Bounds, CI, VFS, MainFileBuffer); in AddImplicitPreamble()
710 configurePreamble(Bounds, CI, VFS, MainFileBuffer); in OverridePreamble()
750 PreambleBounds Bounds, CompilerInvocation &CI, in configurePreamble() argument
762 PreprocessorOpts.PrecompiledPreambleBytes.first = Bounds.Size; in configurePreamble()
[all …]
/llvm-project-15.0.7/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/
H A Dp9-0x.cpp80 template<typename ...ElementTypes, unsigned ...Bounds>
81 struct split_arrays<ElementTypes[Bounds]...> {
85 typedef tuple<unsigned_c<Bounds>...> bounds_types;
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DPreamble.cpp298 PreambleBounds Bounds = {0, false}; member
328 auto Bounds = ComputePreambleBounds(*CI->getLangOpts(), *ContentsBuffer, 0); in scanPreamble() local
330 llvm::MemoryBuffer::getMemBufferCopy(Contents.substr(0, Bounds.Size)); in scanPreamble()
348 SP.Bounds = Bounds; in scanPreamble()
474 auto Bounds = ComputePreambleBounds(*CI.getLangOpts(), *ContentsBuffer, 0); in buildPreamble() local
507 return Bounds.Size != ContentsBuffer->getBufferSize() in buildPreamble()
539 CI, ContentsBuffer.get(), Bounds, *PreambleDiagsEngine, in buildPreamble()
582 auto Bounds = ComputePreambleBounds(*CI.getLangOpts(), *ContentsBuffer, 0); in isPreambleCompatible() local
586 Preamble.Preamble.CanReuse(CI, *ContentsBuffer, Bounds, *VFS); in isPreambleCompatible()
646 PP.ModifiedBounds = ModifiedScan->Bounds; in create()
H A DXRefs.cpp1011 SourceRange Bounds; // Half-open, restricts reported targets. member in clang::clangd::__anond43782d30c11::FindControlFlow
1034 if (SM.isBeforeInTranslationUnit(Loc, Bounds.getBegin()) || in found()
1035 SM.isBeforeInTranslationUnit(Bounds.getEnd(), Loc)) in found()
1041 FindControlFlow(SourceRange Bounds, std::vector<SourceLocation> &Result, in FindControlFlow() argument
1043 : Bounds(Bounds), Result(Result), SM(SM) {} in FindControlFlow()
1082 if (SM.isBeforeInTranslationUnit(LD->getLocation(), Bounds.getBegin()) || in VisitGotoStmt()
1083 SM.isBeforeInTranslationUnit(Bounds.getEnd(), LD->getLocation())) in VisitGotoStmt()
1159 SourceRange Bounds; in relatedControlFlow() local
1197 if (!Bounds.isValid()) in relatedControlFlow()
1198 Bounds = Root->getSourceRange(); in relatedControlFlow()
[all …]
/llvm-project-15.0.7/mlir/test/Conversion/SCFToGPU/
H A Dstep_one.mlir7 // Bounds of the loop, its range and step.
19 // Bounds of the loop, its range and step.
41 // Bounds of the loop, its range and step.
50 // Bounds of the loop, its range and step.
H A Dno_blocks_no_threads.mlir7 // Bounds of the loop, its range and step.
/llvm-project-15.0.7/clang/include/clang/Frontend/
H A DPrecompiledPreamble.h82 const llvm::MemoryBuffer *MainFileBuffer, PreambleBounds Bounds,
109 PreambleBounds Bounds, llvm::vfs::FileSystem &VFS) const;
168 void configurePreamble(PreambleBounds Bounds, CompilerInvocation &CI,
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dext-int.cpp3 template<int Bounds>
5 _BitInt(Bounds) b;
6 unsigned _BitInt(Bounds) b2;
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/
H A Dpro-bounds-array-to-pointer-decay.rst11 This rule is part of the "Bounds safety" profile of the C++ Core Guidelines, see
H A Dpro-bounds-pointer-arithmetic.rst13 This rule is part of the "Bounds safety" profile of the C++ Core Guidelines, see
H A Dpro-bounds-constant-array-index.rst11 This rule is part of the "Bounds safety" profile of the C++ Core Guidelines, see
/llvm-project-15.0.7/flang/lib/Semantics/
H A Dcheck-data.cpp28 auto name{std::get<parser::DataImpliedDo::Bounds>(x.t).name.thing.thing}; in Enter()
39 auto name{std::get<parser::DataImpliedDo::Bounds>(x.t).name.thing.thing}; in Leave()
H A Dcheck-do-forall.cpp36 using Bounds = parser::LoopControl::Bounds; typedef
64 static const Bounds &GetBounds(const parser::DoConstruct &doConstruct) { in GetBounds()
66 return std::get<Bounds>(loopControl.u); in GetBounds()
71 const Bounds &bounds{GetBounds(doConstruct)}; in GetDoVariable()
517 const Bounds &bounds{GetBounds(doConstruct)}; in CheckDoNormal()
/llvm-project-15.0.7/clang/test/CodeGen/
H A Dext-int-sanitizer.cpp5 void Bounds(const int (&Array)[10], _BitInt(15) Index) {
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DMachineTraceMetrics.cpp482 LoopBounds Bounds(BlockInfo, MTM.Loops); in computeTrace() local
485 Bounds.Downward = false; in computeTrace()
486 Bounds.Visited.clear(); in computeTrace()
487 for (const auto *I : inverse_post_order_ext(MBB, Bounds)) { in computeTrace()
503 Bounds.Downward = true; in computeTrace()
504 Bounds.Visited.clear(); in computeTrace()
505 for (const auto *I : post_order_ext(MBB, Bounds)) { in computeTrace()
/llvm-project-15.0.7/clang/utils/TableGen/
H A DMveEmitter.cpp1399 Record *Bounds = TypeRec->getValueAsDef("bounds"); in ACLEIntrinsic() local
1401 if (Bounds->isSubClassOf("IB_ConstRange")) { in ACLEIntrinsic()
1403 IA.i1 = Bounds->getValueAsInt("lo"); in ACLEIntrinsic()
1404 IA.i2 = Bounds->getValueAsInt("hi"); in ACLEIntrinsic()
1405 } else if (Bounds->getName() == "IB_UEltValue") { in ACLEIntrinsic()
1408 } else if (Bounds->getName() == "IB_LaneIndex") { in ACLEIntrinsic()
1412 } else if (Bounds->isSubClassOf("IB_EltBit")) { in ACLEIntrinsic()
1414 IA.i1 = Bounds->getValueAsInt("base"); in ACLEIntrinsic()
1415 const Type *T = ME.getType(Bounds->getValueAsDef("type"), Param); in ACLEIntrinsic()
/llvm-project-15.0.7/polly/test/ScopInfo/
H A Dinvariant_load_ptr_ptr_noalias.ll21 ; CHECK: Arrays (Bounds as pw_affs) {
H A Dscalar.ll38 ; CHECK: Arrays (Bounds as pw_affs) {
H A Davoid_new_parameters_from_geps.ll18 ; CHECK-NEXT: Arrays (Bounds as pw_affs) {
H A Dmultiple-types-non-power-of-two-2.ll14 ; CHECK: Arrays (Bounds as pw_affs) {
H A Dmultidim_fold_constant_dim_zero.ll18 ; CHECK-NEXT: Arrays (Bounds as pw_affs) {
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DPreambleTests.cpp70 auto Bounds = Lexer::ComputePreamble(ModifiedContents, *CI->getLangOpts()); in collectPatchedIncludes() local
74 ModifiedContents.slice(0, Bounds.Size).str()), in collectPatchedIncludes()
/llvm-project-15.0.7/polly/test/ScopInfo/NonAffine/
H A Dnon_affine_conditional_surrounding_affine_loop.ll43 ; INNERMOST-NEXT: Arrays (Bounds as pw_affs) {
82 ; ALL-NEXT: Arrays (Bounds as pw_affs) {
H A Dnon_affine_conditional_surrounding_non_affine_loop.ll47 ; INNERMOST-NEXT: Arrays (Bounds as pw_affs) {
86 ; ALL-NEXT: Arrays (Bounds as pw_affs) {

123