Home
last modified time | relevance | path

Searched refs:getLabel (Results 1 – 25 of 98) sorted by relevance

1234

/llvm-project-15.0.7/bolt/lib/Core/
H A DBinaryBasicBlock.cpp89 auto Itr = UniqueSyms.find(Succ->getLabel()); in validateSuccessorInvariants()
136 (TBB == getConditionalSuccessor(true)->getLabel() && in validateSuccessorInvariants()
139 FBB == getConditionalSuccessor(false)->getLabel())))); in validateSuccessorInvariants()
162 if (BB->getLabel() == Label) in getSuccessor()
172 if (BB->getLabel() == Label) { in getSuccessor()
184 if (BB->getLabel() == Label) in getLandingPad()
495 BC.MIB->createUncondBranch(NewInst, Successor->getLabel(), BC.Ctx.get()); in addBranchInstruction()
599 if (BB->getLabel() == Label) in getBranchInfo()
633 const uint64_t BBOffset = Layout.getSymbolOffset(*getLabel()); in updateOutputValues()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DMachineOperand.cpp619 if (MCSymbol *Label = CFI.getLabel()) in printCFI()
625 if (MCSymbol *Label = CFI.getLabel()) in printCFI()
630 if (MCSymbol *Label = CFI.getLabel()) in printCFI()
635 if (MCSymbol *Label = CFI.getLabel()) in printCFI()
642 if (MCSymbol *Label = CFI.getLabel()) in printCFI()
648 if (MCSymbol *Label = CFI.getLabel()) in printCFI()
654 if (MCSymbol *Label = CFI.getLabel()) in printCFI()
661 if (MCSymbol *Label = CFI.getLabel()) in printCFI()
669 if (MCSymbol *Label = CFI.getLabel()) in printCFI()
676 if (MCSymbol *Label = CFI.getLabel()) in printCFI()
[all …]
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/cppcoreguidelines/
H A DAvoidGotoCheck.cpp21 return Node.getBeginLoc() < Node.getLabel()->getBeginLoc(); in AST_MATCHER()
46 diag(Goto->getLabel()->getBeginLoc(), "label defined here", in check()
/llvm-project-15.0.7/llvm/lib/MC/
H A DMCCodeView.cpp301 MCCVLines[Idx].getLabel(), in getFunctionLineEntries()
371 OS.emitAbsoluteSymbolDiff(J->getLabel(), FuncBegin, 4); in emitLineTableForFunction()
485 const MCSection *FirstSec = &Locs.front().getLabel()->getSection(); in encodeInlineLineTable()
487 if (&Loc.getLabel()->getSection() != FirstSec) { in encodeInlineLineTable()
536 unsigned Length = computeLabelDiff(Layout, LastLabel, Loc.getLabel()); in encodeInlineLineTable()
539 LastLabel = Loc.getLabel(); in encodeInlineLineTable()
566 unsigned CodeDelta = computeLabelDiff(Layout, LastLabel, Loc.getLabel()); in encodeInlineLineTable()
585 LastLabel = Loc.getLabel(); in encodeInlineLineTable()
598 if (&Loc.getLabel()->getSection() == &LastLabel->getSection()) in encodeInlineLineTable()
599 LocAfterLength = computeLabelDiff(Layout, LastLabel, Loc.getLabel()); in encodeInlineLineTable()
/llvm-project-15.0.7/mlir/lib/Transforms/
H A DViewOpGraph.cpp212 std::string getLabel(Operation *op) { in getLabel() function in __anon2ace0bc30211::PrintOpPass
237 std::string getLabel(BlockArgument arg) { in getLabel() function in __anon2ace0bc30211::PrintOpPass
246 valueToNode[blockArg] = emitNodeStmt(getLabel(blockArg)); in processBlock()
271 getLabel(op)); in processOperation()
273 node = emitNodeStmt(getLabel(op)); in processOperation()
/llvm-project-15.0.7/bolt/lib/Passes/
H A DThreeWayBranch.cpp134 BC.MIB->replaceBranchCondition(*FirstJump, Blocks[2].first->getLabel(), in runOnFunction()
138 *FirstJump, SecondBranch->getLabel(), Ctx, in runOnFunction()
143 BC.MIB->replaceBranchCondition(*SecondJump, Blocks[0].first->getLabel(), in runOnFunction()
H A DDataflowAnalysis.cpp62 if (!EHInfo || EHInfo->first != BB.getLabel()) in doForAllPreds()
H A DBinaryPasses.cpp674 if (CondBranch && MIB->getTargetSymbol(*CondBranch) == BB.getLabel()) { in fixDoubleJumps()
675 MIB->replaceBranchTarget(*CondBranch, Succ->getLabel(), Ctx); in fixDoubleJumps()
677 MIB->getTargetSymbol(*UncondBranch) == BB.getLabel()) { in fixDoubleJumps()
678 MIB->replaceBranchTarget(*UncondBranch, Succ->getLabel(), Ctx); in fixDoubleJumps()
689 assert(MIB->getTargetSymbol(*Branch) == BB.getLabel()); in fixDoubleJumps()
933 MIB->replaceBranchTarget(*UncondBranch, CondSucc->getLabel(), Ctx); in fixTailCalls()
936 MIB->createUncondBranch(Branch, CondSucc->getLabel(), Ctx); in fixTailCalls()
1768 OneByteMemcpyBB->getLabel(), BC.Ctx.get()); in runOnFunctions()
H A DRetpolineInsertion.cpp107 MIB.createDirectCall(DirectCall, BB2.getLabel(), &Ctx, /*IsTailCall*/ false); in createNewRetpoline()
122 MIB.createShortJmp(Seq, BB1.getLabel(), &Ctx); in createNewRetpoline()
H A DSplitFunctions.cpp355 TrampolineLabel = TrampolineBB->getLabel(); in createEHTrampolines()
391 auto Iter = Trampolines.find(BB->getLabel()); in mergeEHTrampolines()
/llvm-project-15.0.7/libc/benchmarks/
H A Dlibc-benchmark-analysis.py341 def getLabel(study):
54 df = pd.DataFrame(Measurements, index=Index, columns=[getLabel(study)])
56 df[getLabel(study)] = pd.Series(Measurements, index=Index)
83 local["label"] = getLabel(study)
/llvm-project-15.0.7/clang/lib/AST/Interp/
H A DByteCodeStmtGen.cpp209 LabelTy LabelElse = this->getLabel(); in visitIfStmt()
210 LabelTy LabelEnd = this->getLabel(); in visitIfStmt()
222 LabelTy LabelEnd = this->getLabel(); in visitIfStmt()
H A DByteCodeEmitter.h50 LabelTy getLabel() { return ++NextLabel; } in getLabel() function
H A DEvalEmitter.h54 LabelTy getLabel();
/llvm-project-15.0.7/clang/lib/Sema/
H A DJumpDiagnostics.cpp318 IndirectJumpTargets.push_back(cast<AddrLabelExpr>(S)->getLabel()); in BuildScopeInformation()
374 AsmJumpTargets.push_back(E->getLabel()); in BuildScopeInformation()
659 if (GS->getLabel()->getStmt()) { in VerifyJumps()
660 CheckJump(GS, GS->getLabel()->getStmt(), GS->getGotoLoc(), in VerifyJumps()
992 if (GS->getLabel()->isMSAsmLabel()) { in CheckGotoStmt()
994 << GS->getLabel()->getIdentifier(); in CheckGotoStmt()
995 S.Diag(GS->getLabel()->getLocation(), diag::note_goto_ms_asm_label) in CheckGotoStmt()
996 << GS->getLabel()->getIdentifier(); in CheckGotoStmt()
/llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/
H A DAddressPool.h53 MCSymbol *getLabel() { return AddressTableBaseSym; } in getLabel() function
H A DWinException.h82 const MCExpr *getLabel(const MCSymbol *Label);
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DUnreachableCodeChecker.cpp121 if (const Stmt *label = CB->getLabel()) in checkEndAnalysis()
251 return CB->getLabel() == nullptr // No labels in isEmptyCFGBlock()
/llvm-project-15.0.7/llvm/tools/llvm-xray/
H A Dxray-graph-diff.cpp301 static std::string getLabel(const GraphDiffRenderer::GraphT::EdgeValueType &E, in getLabel() function
319 static std::string getLabel(const GraphDiffRenderer::GraphT::VertexValueType &V, in getLabel() function
386 TailId, getLabel(E, EdgeLabel), getColor(E, G, H, EdgeColor), in exportGraphAsDOT()
400 VertexNo[VertexId], getLabel(V, VertexLabel, TruncLen), in exportGraphAsDOT()
/llvm-project-15.0.7/llvm/include/llvm/MC/
H A DMCDwarf.h196 MCSymbol *getLabel() const { return Label; } in getLabel() function
396 MCSymbol *getLabel() const { in getLabel() function
470 MCSymbol *getLabel() const { return Label; } in getLabel() function
642 MCSymbol *getLabel() const { return Label; } in getLabel() function
/llvm-project-15.0.7/clang/lib/Analysis/
H A DCFGStmtMap.cpp67 if (Stmt *Label = B->getLabel()) in Accumulate()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DStmtDataCollectors.td142 addData(S->getLabel()->getName());
163 addData(S->getLabel()->getName());
/llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DCoreEngine.h507 const LabelDecl *getLabel() const { in getLabel() function
508 return cast<LabelStmt>((*I)->getLabel())->getDecl(); in getLabel()
556 return cast<CaseStmt>((*I)->getLabel()); in getCase()
/llvm-project-15.0.7/clang/lib/AST/
H A DMangle.cpp150 if (!ALA->getIsLiteralLabel() || ALA->getLabel().startswith("llvm.")) { in mangleName()
151 Out << ALA->getLabel(); in mangleName()
172 Out << ALA->getLabel(); in mangleName()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DVarBypassDetector.cpp141 if (const LabelStmt *LS = GS->getLabel()->getStmt()) in Detect()

1234