| /llvm-project-15.0.7/clang/include/clang/Lex/ |
| H A D | Token.h | 240 bool getFlag(TokenFlags Flag) const { in getFlag() function 267 bool isAtStartOfLine() const { return getFlag(StartOfLine); } in isAtStartOfLine() 271 bool hasLeadingSpace() const { return getFlag(LeadingSpace); } in hasLeadingSpace() 275 bool isExpandDisabled() const { return getFlag(DisableExpand); } in isExpandDisabled() 284 bool needsCleaning() const { return getFlag(NeedsCleaning); } in needsCleaning() 288 bool hasLeadingEmptyMacro() const { return getFlag(LeadingEmptyMacro); } in hasLeadingEmptyMacro() 292 bool hasUDSuffix() const { return getFlag(HasUDSuffix); } in hasUDSuffix() 295 bool hasUCN() const { return getFlag(HasUCN); } in hasUCN() 299 bool stringifiedInMacro() const { return getFlag(StringifiedInMacro); } in stringifiedInMacro() 302 bool commaAfterElided() const { return getFlag(CommaAfterElided); } in commaAfterElided() [all …]
|
| /llvm-project-15.0.7/llvm/unittests/IR/ |
| H A D | DebugInfoTest.cpp | 36 TEST(DINodeTest, getFlag) { in TEST() argument 38 EXPECT_EQ(DINode::FlagPublic, DINode::getFlag("DIFlagPublic")); in TEST() 39 EXPECT_EQ(DINode::FlagProtected, DINode::getFlag("DIFlagProtected")); in TEST() 40 EXPECT_EQ(DINode::FlagPrivate, DINode::getFlag("DIFlagPrivate")); in TEST() 41 EXPECT_EQ(DINode::FlagVector, DINode::getFlag("DIFlagVector")); in TEST() 43 DINode::getFlag("DIFlagRValueReference")); in TEST() 46 EXPECT_EQ(0u, DINode::getFlag("DIFlagAccessibility")); in TEST() 49 EXPECT_EQ(0u, DINode::getFlag("FlagVector")); in TEST() 50 EXPECT_EQ(0u, DINode::getFlag("Vector")); in TEST() 51 EXPECT_EQ(0u, DINode::getFlag("other things")); in TEST() [all …]
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | MIRPrinter.cpp | 757 if (MI.getFlag(MachineInstr::FrameSetup)) in print() 761 if (MI.getFlag(MachineInstr::FmNoNans)) in print() 763 if (MI.getFlag(MachineInstr::FmNoInfs)) in print() 765 if (MI.getFlag(MachineInstr::FmNsz)) in print() 767 if (MI.getFlag(MachineInstr::FmArcp)) in print() 771 if (MI.getFlag(MachineInstr::FmAfn)) in print() 773 if (MI.getFlag(MachineInstr::FmReassoc)) in print() 775 if (MI.getFlag(MachineInstr::NoUWrap)) in print() 777 if (MI.getFlag(MachineInstr::NoSWrap)) in print() 779 if (MI.getFlag(MachineInstr::IsExact)) in print() [all …]
|
| H A D | CFIFixup.cpp | 85 MI.getFlag(MachineInstr::FrameSetup); in isPrologueCFIInstruction() 95 MI.getFlag(MachineInstr::FrameDestroy); in containsEpilogue()
|
| H A D | MachineInstr.cpp | 1583 if (getFlag(MachineInstr::FrameSetup)) in print() 1587 if (getFlag(MachineInstr::FmNoNans)) in print() 1589 if (getFlag(MachineInstr::FmNoInfs)) in print() 1591 if (getFlag(MachineInstr::FmNsz)) in print() 1593 if (getFlag(MachineInstr::FmArcp)) in print() 1597 if (getFlag(MachineInstr::FmAfn)) in print() 1599 if (getFlag(MachineInstr::FmReassoc)) in print() 1601 if (getFlag(MachineInstr::NoUWrap)) in print() 1603 if (getFlag(MachineInstr::NoSWrap)) in print() 1605 if (getFlag(MachineInstr::IsExact)) in print() [all …]
|
| H A D | MachineInstrBundle.cpp | 235 if (MII->getFlag(MachineInstr::FrameSetup)) in finalizeBundle() 237 if (MII->getFlag(MachineInstr::FrameDestroy)) in finalizeBundle()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/ |
| H A D | ExplodedGraph.cpp | 211 assert(!getFlag()); in replaceNode() 220 assert(!getFlag()); in addNode() 241 assert(!getFlag()); in addNode() 249 if (getFlag()) in size() 261 if (getFlag()) in begin() 273 if (getFlag()) in end()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/ControlFlow/IR/ |
| H A D | ControlFlowOps.cpp | 576 Type flagType = getFlag().getType(); in verify() 662 op, op.getFlag(), op.getDefaultDestination(), op.getDefaultOperands(), in dropSwitchCasesThatMatchDefault() 698 if (!matchPattern(op.getFlag(), m_ConstantInt(&caseValue))) in simplifyConstSwitchValue() 747 rewriter.replaceOpWithNewOp<SwitchOp>(op, op.getFlag(), defaultDest, in simplifyPassThroughSwitch() 801 if (!predSwitch || op.getFlag() != predSwitch.getFlag() || in simplifySwitchFromSwitchOnSameCondition() 852 if (!predSwitch || op.getFlag() != predSwitch.getFlag() || in simplifySwitchFromDefaultSwitchOnSameCondition() 885 op, op.getFlag(), op.getDefaultDestination(), op.getDefaultOperands(), in simplifySwitchFromDefaultSwitchOnSameCondition()
|
| /llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | ExplodedGraph.h | 92 assert(getFlag() == Flag); in P() 101 bool empty() const { return P == 0 || getFlag() != 0; } in empty() 116 bool getFlag() const { in getFlag() function 202 bool isSink() const { return Succs.getFlag(); } in isSink()
|
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/ |
| H A D | MachineInstr.h | 332 bool getFlag(MIFlag Flag) const { 388 return getFlag(BundledPred); 399 bool isBundledWithPred() const { return getFlag(BundledPred); } 403 bool isBundledWithSucc() const { return getFlag(BundledSucc); } 1044 !getFlag(MachineInstr::MIFlag::NoFPExcept);
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | DbgEntityHistoryCalculator.cpp | 506 (!MI.getFlag(MachineInstr::FrameDestroy) && in calculateDbgEntityHistory() 507 !MI.getFlag(MachineInstr::FrameSetup))) { in calculateDbgEntityHistory()
|
| H A D | DwarfDebug.cpp | 920 if (MI.getFlag(MachineInstr::FrameSetup)) in constructCallSiteEntryDIEs() 1576 if (Pred->getFlag(MachineInstr::FrameSetup)) in validThroughout() 2004 if (MI->isMetaInstruction() || MI->getFlag(MachineInstr::FrameSetup)) in beginInstruction() 2087 if (!MI.isMetaInstruction() && !MI.getFlag(MachineInstr::FrameSetup) && in findPrologueEndLoc()
|
| /llvm-project-15.0.7/llvm/lib/Target/ARM/ |
| H A D | Thumb1FrameLowering.cpp | 268 MBBI->getFlag(MachineInstr::FrameSetup)) in emitPrologue() 271 MBBI->getFlag(MachineInstr::FrameSetup)) { in emitPrologue() 528 while (MBBI != MBB.begin() && MBBI->getFlag(MachineInstr::FrameDestroy)); in emitEpilogue() 529 if (!MBBI->getFlag(MachineInstr::FrameDestroy)) in emitEpilogue()
|
| H A D | Thumb2SizeReduction.cpp | 1022 if (SkipPrologueEpilogue && (MI->getFlag(MachineInstr::FrameSetup) || in ReduceMI() 1023 MI->getFlag(MachineInstr::FrameDestroy))) in ReduceMI()
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUCombinerHelper.cpp | 136 return Options.NoSignedZerosFPMath || MI.getFlag(MachineInstr::MIFlag::FmNsz); in mayIgnoreSignedZero()
|
| /llvm-project-15.0.7/llvm/lib/Target/M68k/ |
| H A D | M68kFrameLowering.cpp | 594 while (MBBI != MBB.end() && MBBI->getFlag(MachineInstr::FrameSetup) && in emitPrologue() 717 if ((Opc != M68k::POP32r || !PI->getFlag(MachineInstr::FrameDestroy)) && in emitEpilogue()
|
| /llvm-project-15.0.7/llvm/lib/Target/AArch64/ |
| H A D | AArch64FrameLowering.cpp | 959 if (!LastI->getFlag(MachineInstr::FrameDestroy)) in shouldCombineCSRLocalStackBumpInEpilogue() 1296 return I->getFlag(MachineInstr::FrameSetup) || in IsSVECalleeSave() 1297 I->getFlag(MachineInstr::FrameDestroy); in IsSVECalleeSave() 1562 while (MBBI != End && MBBI->getFlag(MachineInstr::FrameSetup) && in emitPrologue() 2001 if (!LastPopI->getFlag(MachineInstr::FrameDestroy) || in emitEpilogue() 3321 while (MBBI != MBB.end() && MBBI->getFlag(MachineInstr::FrameSetup)) in processFunctionBeforeFrameFinalized() 3683 if (MI.getFlag(MachineInstr::FrameSetup) || in tryMergeAdjacentSTG() 3684 MI.getFlag(MachineInstr::FrameDestroy)) in tryMergeAdjacentSTG()
|
| H A D | AArch64LoadStoreOptimizer.cpp | 1390 if (MI.getFlag(MachineInstr::FrameSetup)) { in canRenameUpToDef() 1756 !(MI.getFlag(MachineInstr::FrameSetup) || in maybeMoveCFI() 1757 MI.getFlag(MachineInstr::FrameDestroy)) || in maybeMoveCFI()
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86FrameLowering.cpp | 1764 MBBI->getFlag(MachineInstr::FrameSetup) && in emitPrologue() 1955 while (MBBI != MBB.end() && MBBI->getFlag(MachineInstr::FrameSetup)) { in emitPrologue() 2263 if ((Opc != X86::POP32r || !PI->getFlag(MachineInstr::FrameDestroy)) && in emitEpilogue() 2264 (Opc != X86::POP64r || !PI->getFlag(MachineInstr::FrameDestroy)) && in emitEpilogue() 2265 (Opc != X86::BTR64ri8 || !PI->getFlag(MachineInstr::FrameDestroy)) && in emitEpilogue() 2266 (Opc != X86::ADD64ri8 || !PI->getFlag(MachineInstr::FrameDestroy))) in emitEpilogue() 3842 while (MBBI != MBB.end() && MBBI->getFlag(MachineInstr::FrameSetup)) in adjustFrameForMsvcCxxEh()
|
| /llvm-project-15.0.7/llvm/lib/Target/AVR/ |
| H A D | AVRFrameLowering.cpp | 98 (MBBI != MBB.end()) && MBBI->getFlag(MachineInstr::FrameSetup) && in emitPrologue()
|
| /llvm-project-15.0.7/llvm/tools/llvm-readobj/ |
| H A D | XCOFFDumper.cpp | 827 W.printHex("Flag", AuxHeader->getFlag()); in printAuxiliaryHeader() 878 W.printHex("Flag", AuxHeader->getFlag()); in printAuxiliaryHeader()
|
| /llvm-project-15.0.7/llvm/lib/Target/RISCV/ |
| H A D | RISCVFrameLowering.cpp | 418 while (MBBI != MBB.end() && MBBI->getFlag(MachineInstr::FrameSetup)) in emitPrologue() 621 std::prev(MBBI)->getFlag(MachineInstr::FrameDestroy)) in emitEpilogue()
|
| /llvm-project-15.0.7/clang/lib/Lex/ |
| H A D | Preprocessor.cpp | 948 !Result.getFlag(Token::IsReinjected)) { in Lex() 1001 !Result.getFlag(Token::IsReinjected)) { in Lex()
|
| /llvm-project-15.0.7/llvm/lib/Target/SystemZ/ |
| H A D | SystemZElimCompare.cpp | 390 if (MI.getFlag(MachineInstr::NoSWrap) && in adjustCCMasksForInstr()
|
| /llvm-project-15.0.7/llvm/lib/Target/PowerPC/ |
| H A D | PPCInstrInfo.cpp | 273 return Inst.getFlag(MachineInstr::MIFlag::FmReassoc) && in isAssociativeAndCommutative() 274 Inst.getFlag(MachineInstr::MIFlag::FmNsz); in isAssociativeAndCommutative() 389 if (!(Instr.getFlag(MachineInstr::MIFlag::FmReassoc) && in getFMAPatterns() 390 Instr.getFlag(MachineInstr::MIFlag::FmNsz))) in getFMAPatterns() 414 if (!(Instr.getFlag(MachineInstr::MIFlag::FmReassoc) && in getFMAPatterns() 415 Instr.getFlag(MachineInstr::MIFlag::FmNsz))) in getFMAPatterns() 2611 Sub && !Sub->getFlag(MachineInstr::NoSWrap)) in optimizeCompareInstr()
|