| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | LowerAtomic.cpp | 44 Value *Inc) { in buildAtomicRMWValue() argument 48 return Inc; in buildAtomicRMWValue() 50 return Builder.CreateAdd(Loaded, Inc, "new"); in buildAtomicRMWValue() 52 return Builder.CreateSub(Loaded, Inc, "new"); in buildAtomicRMWValue() 58 return Builder.CreateOr(Loaded, Inc, "new"); in buildAtomicRMWValue() 62 NewVal = Builder.CreateICmpSGT(Loaded, Inc); in buildAtomicRMWValue() 65 NewVal = Builder.CreateICmpSLE(Loaded, Inc); in buildAtomicRMWValue() 68 NewVal = Builder.CreateICmpUGT(Loaded, Inc); in buildAtomicRMWValue() 71 NewVal = Builder.CreateICmpULE(Loaded, Inc); in buildAtomicRMWValue() 78 return Builder.CreateMaxNum(Loaded, Inc); in buildAtomicRMWValue() [all …]
|
| H A D | MatrixUtils.cpp | 43 Value *Inc = B.CreateAdd(IV, Step, Name + ".step"); in CreateLoop() local 44 Value *Cond = B.CreateICmpNE(Inc, Bound, Name + ".cond"); in CreateLoop() 46 IV->addIncoming(Inc, Latch); in CreateLoop()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | Headers.cpp | 64 Inc.Written = in InclusionDirective() 66 Inc.Resolved = in InclusionDirective() 69 Inc.HashLine = in InclusionDirective() 71 Inc.FileKind = FileKind; in InclusionDirective() 74 Inc.BehindPragmaKeep = true; in InclusionDirective() 309 IncludedHeaders.insert(Inc.Written); in addExisting() 310 if (!Inc.Resolved.empty()) in addExisting() 311 IncludedHeaders.insert(Inc.Resolved); in addExisting() 369 return OS << Inc.Written << " = " in operator <<() 370 << (!Inc.Resolved.empty() ? Inc.Resolved : "[unresolved]") in operator <<() [all …]
|
| H A D | IncludeCleaner.cpp | 258 static bool mayConsiderUnused(const Inclusion &Inc, ParsedAST &AST, in mayConsiderUnused() argument 260 if (Inc.BehindPragmaKeep) in mayConsiderUnused() 266 if (Inc.Written.front() == '<') { in mayConsiderUnused() 271 assert(Inc.HeaderID); in mayConsiderUnused() 272 auto HID = static_cast<IncludeStructure::HeaderID>(*Inc.HeaderID); in mayConsiderUnused() 290 llvm::SmallString<64> Path(Inc.Resolved); in mayConsiderUnused() 292 if (Filter(Inc.Resolved)) { in mayConsiderUnused() 486 for (const auto *Inc : computeUnusedIncludes(AST)) { in issueUnusedIncludesDiagnostics() local 491 Inc->Written.substr(1, Inc->Written.size() - 2), in issueUnusedIncludesDiagnostics() 498 D.Range = getDiagnosticRange(Code, Inc->HashOffset); in issueUnusedIncludesDiagnostics() [all …]
|
| H A D | Preamble.cpp | 662 for (const auto &Inc : Baseline.Includes.MainFileIncludes) in create() local 663 ExistingIncludes[{Inc.Directive, Inc.Written}] = Inc.Resolved; in create() 666 for (const auto &Inc : BaselineScan->Includes) in create() local 667 ExistingIncludes.try_emplace({Inc.Directive, Inc.Written}); in create() 669 for (auto &Inc : ModifiedScan->Includes) { in create() local 670 auto It = ExistingIncludes.find({Inc.Directive, Inc.Written}); in create() 674 Inc.Resolved = It->second.str(); in create() 675 PP.PreambleIncludes.push_back(Inc); in create() 680 auto LineCol = offsetToClangLineColumn(Modified.Contents, Inc.HashOffset); in create() 683 "#{0} {1}\n", spellingForIncDirective(Inc.Directive), Inc.Written); in create()
|
| H A D | ParsedAST.cpp | 173 for (const auto &Inc : Includes) { in replay() local 175 if (Inc.Resolved != "") in replay() 179 auto HashLoc = SM.getComposedLoc(SM.getMainFileID(), Inc.HashOffset); in replay() 210 SynthesizedFilenameTok.setLength(Inc.Written.length()); in replay() 212 SynthesizedFilenameTok.setLiteralData(Inc.Written.data()); in replay() 215 llvm::StringRef(Inc.Written).drop_front().drop_back(); in replay() 218 Inc.Written.front() == '<', in replay() 223 /*Imported=*/nullptr, Inc.FileKind); in replay() 225 Delegate->FileSkipped(*File, SynthesizedFilenameTok, Inc.FileKind); in replay() 561 for (const auto &Inc : Preamble->Includes.MainFileIncludes) in build() local [all …]
|
| /llvm-project-15.0.7/clang/test/SemaCXX/ |
| H A D | cxx20-p0388-unbound-ary.cpp | 52 using Inc = int[2]; typedef 53 using Mat = Inc[1]; 57 Inc(*const(*r1)[])[] = &ga; in frob1() 62 Inc(*(*r2)[])[] = &ga; // expected-error{{cannot initialize}} in frob1() 69 Inc(*const(*r2)[])[] = arp; in frob2() 73 Inc(*(*r3)[])[] = arp; // expected-error{{cannot initialize}} in frob2()
|
| /llvm-project-15.0.7/llvm/lib/Target/RISCV/ |
| H A D | RISCVGatherScatterLowering.cpp | 187 if (!matchSimpleRecurrence(Phi, Inc, Start, Step) || in matchStridedRecurrence() 188 Inc->getOpcode() != Instruction::Add) in matchStridedRecurrence() 192 assert(Phi->getIncomingValue(IncrementingBlock) == Inc && in matchStridedRecurrence() 212 Inc = BinaryOperator::CreateAdd(BasePtr, Step, Inc->getName() + ".scalar", in matchStridedRecurrence() 213 Inc); in matchStridedRecurrence() 270 unsigned StepIndex = Inc->getOperand(0) == BasePtr ? 1 : 0; in matchStridedRecurrence() 271 unsigned StartBlock = BasePtr->getOperand(0) == Inc ? 1 : 0; in matchStridedRecurrence() 272 Value *Step = Inc->getOperand(StepIndex); in matchStridedRecurrence() 308 Inc->setOperand(StepIndex, Step); in matchStridedRecurrence() 318 Inc->setOperand(StepIndex, Step); in matchStridedRecurrence() [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/unittests/ |
| H A D | HeadersTests.cpp | 110 for (const auto &Inc : Inclusions) local 111 Inserter.addExisting(Inc); 316 Inclusion Inc; in TEST_F() local 317 Inc.Written = "\"bar.h\""; in TEST_F() 318 Inc.Resolved = ""; in TEST_F() 320 EXPECT_EQ(calculate("\"x.h\"", "\"bar.h\"", {Inc}), ""); in TEST_F() 324 Inclusion Inc; in TEST_F() local 325 Inc.Written = "fake-bar.h"; in TEST_F() 326 Inc.Resolved = testPath("sub/bar.h"); in TEST_F() 327 EXPECT_EQ(calculate(Inc.Resolved, "", {Inc}), ""); in TEST_F() [all …]
|
| H A D | ParsedASTTests.cpp | 353 MATCHER_P(withFileName, Inc, "") { return arg.FileName == Inc; } 445 const auto &Inc = Includes[I]; in TEST() local 447 EXPECT_EQ(Inc.HashOffset, HashLocs[I]); in TEST() 450 EXPECT_THAT(Inc.IncTok.range(SM), rangeIs(IncRange)); in TEST() 451 EXPECT_EQ(Inc.IncTok.kind(), tok::identifier); in TEST() 452 EXPECT_EQ(Inc.IncDirective, in TEST() 455 EXPECT_EQ(Inc.FileNameOffset, FileBeginLocs[I]); in TEST() 456 EXPECT_EQ(Inc.IsAngled, Code[FileBeginLocs[I]] == '<'); in TEST() 459 EXPECT_EQ(Inc.FileName, in TEST() 463 Inc.FileNameOffset); in TEST()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/ |
| H A D | InstrProfiling.cpp | 707 auto *Addr = getCounterAddress(Inc); in lowerIncrement() 709 IRBuilder<> Builder(Inc); in lowerIncrement() 715 Value *IncStep = Inc->getStep(); in lowerIncrement() 722 Inc->eraseFromParent(); in lowerIncrement() 747 Function *F = Inc->getParent()->getParent(); in getVarName() 755 uint64_t FuncHash = Inc->getHash()->getZExtValue(); in getVarName() 837 if (isa<InstrProfCoverInst>(Inc)) { in createRegionCounters() 858 GlobalVariable *NamePtr = Inc->getName(); in getOrCreateRegionCounters() 864 Function *Fn = Inc->getParent()->getParent(); in getOrCreateRegionCounters() 939 ConstantAsMetadata::get(Inc->getHash()), in getOrCreateRegionCounters() [all …]
|
| /llvm-project-15.0.7/clang/lib/Tooling/Inclusions/ |
| H A D | HeaderIncludes.cpp | 351 for (const auto &Inc : It->second) in insert() local 352 if ((IsAngled && StringRef(Inc.Name).startswith("<")) || in insert() 353 (!IsAngled && StringRef(Inc.Name).startswith("\""))) in insert() 365 for (const auto *Inc : Iter->second) { in insert() local 366 if (QuotedName < Inc->Name) { in insert() 367 InsertOffset = Inc->R.getOffset(); in insert() 391 for (const auto &Inc : Iter->second) { in remove() local 392 if ((IsAngled && StringRef(Inc.Name).startswith("\"")) || in remove() 393 (!IsAngled && StringRef(Inc.Name).startswith("<"))) in remove() 396 FileName, Inc.R.getOffset(), Inc.R.getLength(), "")); in remove()
|
| /llvm-project-15.0.7/llvm/include/llvm/Transforms/Instrumentation/ |
| H A D | InstrProfiling.h | 96 void lowerCover(InstrProfCoverInst *Inc); 99 void lowerIncrement(InstrProfIncrementInst *Inc); 112 GlobalVariable *getOrCreateRegionCounters(InstrProfInstBase *Inc); 115 GlobalVariable *createRegionCounters(InstrProfInstBase *Inc, StringRef Name,
|
| /llvm-project-15.0.7/llvm/test/CodeGen/X86/ |
| H A D | xray-ignore-loop-detection.ll | 8 %indvar = phi i32 [0, %entry], [%nextindvar, %Inc] 10 br i1 %cond, label %Exit, label %Inc 11 Inc:
|
| H A D | xray-loop-detection.ll | 8 %indvar = phi i32 [0, %entry], [%nextindvar, %Inc] 10 br i1 %cond, label %Exit, label %Inc 11 Inc:
|
| /llvm-project-15.0.7/llvm/lib/Target/Lanai/ |
| H A D | LanaiMemAluCombiner.cpp | 381 for (int Inc = 0; Inc <= 1; ++Inc) { in combineMemAluInBasicBlock() local 383 findClosestSuitableAluInstr(BB, MBBIter, Inc == 0); in combineMemAluInBasicBlock() 385 insertMergedInstruction(BB, MBBIter, AluIter, Inc == 0); in combineMemAluInBasicBlock()
|
| /llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/ |
| H A D | tsd_shared.h | 166 u32 N, Inc; in getTSDAndLockSlow() local 171 Inc = CoPrimes[R % NumberOfCoPrimes]; in getTSDAndLockSlow() 189 Index += Inc; in getTSDAndLockSlow()
|
| /llvm-project-15.0.7/third-party/benchmark/ |
| H A D | AUTHORS | 33 Google Inc. 46 MongoDB Inc. 57 Stripe, Inc.
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | StmtOpenMP.cpp | 314 Dir->setInc(Exprs.Inc); in Create() 349 Dir->setInc(Exprs.Inc); in Create() 464 Dir->setInc(Exprs.Inc); in Create() 594 Dir->setInc(Exprs.Inc); in Create() 639 Dir->setInc(Exprs.Inc); in Create() 956 Dir->setInc(Exprs.Inc); in Create() 1060 Dir->setInc(Exprs.Inc); in Create() 1105 Dir->setInc(Exprs.Inc); in Create() 1148 Dir->setInc(Exprs.Inc); in Create() 1193 Dir->setInc(Exprs.Inc); in Create() [all …]
|
| /llvm-project-15.0.7/compiler-rt/lib/scudo/ |
| H A D | scudo_tsd_shared.cpp | 74 const u32 Inc = CoPrimes[R % NumberOfCoPrimes]; in getTSDAndLockSlow() local 90 Index += Inc; in getTSDAndLockSlow()
|
| /llvm-project-15.0.7/llvm/test/DebugInfo/Generic/ |
| H A D | 2010-05-10-MultipleCU.ll | 27 !4 = distinct !DICompileUnit(language: DW_LANG_C89, producer: "4.2.1 (Based on Apple Inc. build 565… 35 !12 = distinct !DICompileUnit(language: DW_LANG_C89, producer: "4.2.1 (Based on Apple Inc. build 56…
|
| /llvm-project-15.0.7/llvm/utils/unittest/googletest/ |
| H A D | LICENSE.TXT | 1 Copyright 2008, Google Inc. 14 * Neither the name of Google Inc. nor the names of its
|
| /llvm-project-15.0.7/llvm/utils/unittest/googlemock/ |
| H A D | LICENSE.txt | 1 Copyright 2008, Google Inc. 14 * Neither the name of Google Inc. nor the names of its
|
| /llvm-project-15.0.7/clang/lib/Driver/ |
| H A D | Job.cpp | 184 StringRef Inc = FlagRef.slice(2, StringRef::npos); in rewriteIncludes() local 185 if (getAbsPath(Inc, NewInc)) { in rewriteIncludes() 194 StringRef Inc(Args[Idx + NumArgs - 1]); in rewriteIncludes() local 195 if (!getAbsPath(Inc, NewInc)) in rewriteIncludes()
|
| /llvm-project-15.0.7/llvm/include/llvm/Transforms/Utils/ |
| H A D | LowerAtomic.h | 34 Value *Loaded, Value *Inc);
|