Home
last modified time | relevance | path

Searched refs:Col (Results 1 – 25 of 72) sorted by relevance

123

/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dconstexpr-nqueens.cpp16 constexpr int getQueenRow(int Col) const { in getQueenRow()
17 return (State >> (Col * 4)) & 0xf; in getQueenRow()
20 return okRecurse(Row, Col, 0); in ok()
23 return Col == CheckCol ? true : in okRecurse()
30 return getQueenRow(Col) == Row; in at()
43 B.ok(Row, Col) ? in buildBoardScan()
44 tryBoard(buildBoardRecurse(N, Col + 1, B.addQueen(Row, Col)), in buildBoardScan()
45 N, Col, Row+1, B) : in buildBoardScan()
49 return Col == N ? B : buildBoardScan(N, Col, 0, B); in buildBoardRecurse()
60 *p == 'o' ? at(Row, Col) && check(p+1, Row, Col+1) : in check()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DTileShapeInfo.h32 ShapeT(MachineOperand *Row, MachineOperand *Col,
34 : Row(Row), Col(Col) { in Row()
39 : Row(nullptr), Col(nullptr), RowImm(InvalidImmShape), in ShapeT()
43 MachineOperand *C = Shape.Col;
46 if (!Row || !Col)
48 if (Row->getReg() == R->getReg() && Col->getReg() == C->getReg())
59 MachineOperand *getCol() const { return Col; } in getCol()
65 bool isValid() { return (Row != nullptr) && (Col != nullptr); } in isValid()
83 ColImm = GetImm(Col->getReg()); in deduceImm()
89 MachineOperand *Col; variable
/llvm-project-15.0.7/llvm/tools/llvm-cov/
H A DSourceCoverageViewText.cpp114 unsigned Col = 1; in renderLine() local
116 unsigned End = std::min(S->Col, static_cast<unsigned>(Line.size()) + 1); in renderLine()
120 << Line.substr(Col - 1, End - Col); in renderLine()
122 HighlightedRanges.push_back(std::make_pair(Col, End)); in renderLine()
123 Col = End; in renderLine()
127 else if (Col == ExpansionCol) in renderLine()
136 << Line.substr(Col - 1, Line.size() - Col + 1); in renderLine()
192 if (S->Col > PrevColumn) in renderRegionMarkers()
193 OS.indent(S->Col - PrevColumn); in renderRegionMarkers()
194 PrevColumn = S->Col + 1; in renderRegionMarkers()
[all …]
H A DSourceCoverageViewHTML.cpp519 Snip(LCol - 1, Segments.empty() ? 0 : (Segments.front()->Col - 1)); in renderLine()
522 Snip(LCol - 1, Segments[I]->Col - LCol); in renderLine()
559 else if (CurSeg->Col == ExpansionCol) in renderLine()
565 Snippets[I + 1] = Highlight(Snippets[I + 1], CurSeg->Col, in renderLine()
566 CurSeg->Col + Snippets[I + 1].size()); in renderLine()
601 errs() << "Marker at " << CurSeg->Line << ":" << CurSeg->Col << " = " in renderLine()
/llvm-project-15.0.7/clang/unittests/Tooling/
H A DCommentHandlerTest.cpp15 Comment(const std::string &Message, unsigned Line, unsigned Col) in Comment()
16 : Message(Message), Line(Line), Col(Col) { } in Comment()
19 unsigned Line, Col; member
106 << Current->Col; in ~CommentVerifier()
110 void Match(const char *Message, unsigned Line, unsigned Col) { in Match() argument
115 EXPECT_TRUE(C.Message == Message && C.Line == Line && C.Col == Col) in Match()
117 << "\" at line " << Line << ", column " << Col in Match()
119 << "\" at line " << C.Line << ", column " << C.Col; in Match()
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86LowerAMXType.cpp127 Col = II->getArgOperand(1); in getShape()
140 Col = II->getArgOperand(1); in getShape()
144 Col = II->getArgOperand(2); in getShape()
173 Col = II->getArgOperand(1); in getShape()
180 return std::make_pair(Row, Col); in getShape()
267 Value *Col = II->getOperand(1); in combineBitcastStore() local
466 Value *Col = II->getOperand(1); in createTileStore() local
492 Value *Col = II->getOperand(1); in replaceWithTileLoad() local
786 if (!Row || !Col || !isa<Constant>(Row) || !isa<Constant>(Col)) in optimizeAMXCastFromPhi()
1136 Row, Col, I8Ptr, Builder.CreateSExt(Col, Builder.getInt64Ty())}; in transformAMXCast()
[all …]
H A DX86FastTileConfig.cpp118 MachineOperand &Col = MI.getOperand(2); in configBasicBlock() local
120 ShapeInfos.push_back({TMMIdx, ShapeT(&Row, &Col)}); in configBasicBlock()
H A DX86LowerAMXIntrinsics.cpp78 IRBuilderBase &B, Value *Row, Value *Col,
88 Value *Row, Value *Col, Value *K, Value *Acc, Value *LHS,
151 Value *Col, Value *Ptr, Value *Stride, Value *Tile) { in createTileLoadStoreLoops() argument
169 BasicBlock *ColBody = createLoop(RowBody, RowLatch, Col, B.getInt16(1), in createTileLoadStoreLoops()
246 Value *Col, Value *K, Value *Acc, in createTileDPLoops() argument
285 BasicBlock *ColBody = createLoop(RowBody, RowLatch, Col, B.getInt16(1), in createTileDPLoops()
/llvm-project-15.0.7/clang-tools-extra/clangd/index/
H A DSymbolLocation.cpp22 void SymbolLocation::Position::setColumn(uint32_t Col) { in setColumn() argument
23 if (Col > MaxColumn) in setColumn()
24 Col = MaxColumn; in setColumn()
25 LineColumnPacked = (LineColumnPacked & ~MaxColumn) | Col; in setColumn()
/llvm-project-15.0.7/compiler-rt/test/ubsan/TestCases/Misc/
H A Dmonitor.cpp25 unsigned Line, Col; in __ubsan_on_report() local
28 __ubsan_get_current_report_data(&IssueKind, &Message, &Filename, &Line, &Col, in __ubsan_on_report()
32 printf("Location: %s:%u:%u\n", Filename, Line, Col); in __ubsan_on_report()
/llvm-project-15.0.7/clang/include/clang/Frontend/
H A DSerializedDiagnosticReader.h49 unsigned Col; member
52 Location(unsigned FileID, unsigned Line, unsigned Col, unsigned Offset) in Location()
53 : FileID(FileID), Line(Line), Col(Col), Offset(Offset) {} in Location()
/llvm-project-15.0.7/llvm/utils/FileCheck/
H A DFileCheck.cpp673 for (unsigned Col = 1; InputFilePtr != InputFileEnd && !Newline; ++Col) { in DumpAnnotatedInput() local
677 if (M.InputStartCol <= Col && Col < M.InputEndCol) { in DumpAnnotatedInput()
704 unsigned Col; in DumpAnnotatedInput() local
705 for (Col = 1; Col < AnnotationItr->InputStartCol; ++Col) in DumpAnnotatedInput()
709 for (++Col; Col < AnnotationItr->InputEndCol && Col <= InputLineWidth; in DumpAnnotatedInput()
710 ++Col) in DumpAnnotatedInput()
718 for (; Col <= InputLineWidth; ++Col) in DumpAnnotatedInput()
/llvm-project-15.0.7/clang/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/
H A Dp10.cpp39 template<typename eT> class Col : public Mat<eT> { class
41 using Col<eT>::operator();
/llvm-project-15.0.7/llvm/include/llvm/ProfileData/Coverage/
H A DCoverageMapping.h441 unsigned Col; member
451 CoverageSegment(unsigned Line, unsigned Col, bool IsRegionEntry) in CoverageSegment()
452 : Line(Line), Col(Col), Count(0), HasCount(false), in CoverageSegment()
455 CoverageSegment(unsigned Line, unsigned Col, uint64_t Count,
458 : Line(Line), Col(Col), Count(Count), HasCount(true), in Line()
462 return std::tie(L.Line, L.Col, L.Count, L.HasCount, L.IsRegionEntry,
463 L.IsGapRegion) == std::tie(R.Line, R.Col, R.Count,
478 unsigned Col; variable
481 InstantiationGroup(unsigned Line, unsigned Col, in InstantiationGroup() argument
483 : Line(Line), Col(Col), Instantiations(std::move(Instantiations)) {} in InstantiationGroup()
[all …]
/llvm-project-15.0.7/llvm/bindings/go/llvm/
H A DIRBindings.h31 unsigned Col; member
47 unsigned Col, LLVMMetadataRef Scope,
H A DIRBindings.cpp54 unsigned Col, LLVMMetadataRef Scope, in LLVMGoSetCurrentDebugLocation() argument
60 unwrap<MDNode>(Scope)->getContext(), Line, Col, unwrap<MDNode>(Scope), in LLVMGoSetCurrentDebugLocation()
H A Dir_test.go132 if loc.Col != 20 {
133 t.Errorf("Got column %d, though wanted 20", loc.Col)
/llvm-project-15.0.7/clang/tools/c-index-test/
H A Dcore_main.cpp113 unsigned Col = SM.getColumnNumber(FID, SM.getFileOffset(Loc)); in handleDeclOccurrence() local
114 OS << Line << ':' << Col << " | "; in handleDeclOccurrence()
151 unsigned Col = SM.getColumnNumber(FID, SM.getFileOffset(Loc)); in handleModuleOccurrence() local
152 OS << Line << ':' << Col << " | "; in handleModuleOccurrence()
174 unsigned Col = SM.getColumnNumber(FID, SM.getFileOffset(Loc)); in handleMacroOccurrence() local
175 OS << Line << ':' << Col << " | "; in handleMacroOccurrence()
/llvm-project-15.0.7/llvm/test/TableGen/
H A DRelTest.td24 let ColFields = ["Col"];
34 string Col = "";
/llvm-project-15.0.7/clang/lib/Tooling/ASTDiff/
H A DASTDiff.cpp604 Col = LastCol; in getMatchingNodes()
606 while (Row > FirstRow || Col > FirstCol) { in getMatchingNodes()
608 ForestDist[Row - 1][Col] + 1 == ForestDist[Row][Col]) { in getMatchingNodes()
610 } else if (Col > FirstCol && in getMatchingNodes()
611 ForestDist[Row][Col - 1] + 1 == ForestDist[Row][Col]) { in getMatchingNodes()
612 --Col; in getMatchingNodes()
615 SNodeId LMD2 = S2.getLeftMostDescendant(Col); in getMatchingNodes()
619 NodeId Id2 = S2.getIdInRoot(Col); in getMatchingNodes()
624 --Col; in getMatchingNodes()
626 TreePairs.emplace_back(Row, Col); in getMatchingNodes()
[all …]
/llvm-project-15.0.7/llvm/lib/ProfileData/Coverage/
H A DCoverageMapping.cpp448 dbgs() << "Segment at " << Last.Line << ":" << Last.Col in startSegment()
643 if (!(L.Line < R.Line) && !(L.Line == R.Line && L.Col < R.Col)) { in buildSegments()
644 if (L.Line == R.Line && L.Col == R.Col && !L.HasCount) in buildSegments()
646 LLVM_DEBUG(dbgs() << " ! Segment " << L.Line << ":" << L.Col in buildSegments()
647 << " followed by " << R.Line << ":" << R.Col << "\n"); in buildSegments()
/llvm-project-15.0.7/llvm/lib/IR/
H A DLLVMRemarkStreamer.cpp54 unsigned Col = DL.getColumn(); in toRemarkLocation() local
55 return remarks::RemarkLocation{File, Line, Col}; in toRemarkLocation()
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DSourceLocation.h305 unsigned Line, Col;
312 : Filename(FN), ID(FID), Line(Ln), Col(Co), IncludeLoc(IL) {}
347 return Col;
/llvm-project-15.0.7/llvm/tools/llvm-mca/Views/
H A DResourcePressureView.cpp93 unsigned Col) { in printResourcePressure() argument
100 OS.PadToColumn(Col); in printResourcePressure()
/llvm-project-15.0.7/bolt/lib/Profile/
H A DDataReader.cpp815 << Col << ": " << ErrorMsg << '\n'; in reportError()
824 Col += 1; in expectAndConsumeFS()
831 Col += 1; in consumeAllRemainingFS()
840 Col = 0; in checkAndConsumeNewLine()
880 Col = 0; in parseString()
883 Col += End; in parseString()
939 Col += 1; in parseLocation()
1044 Col += 6; in maybeParseNoLBRFlag()
1067 Col += 16; in maybeParseBATFlag()
1181 Col = 0; in parse()

123