reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/TableGen/Record.h
 1675   bool getValueAsBit(StringRef FieldName) const;

References

tools/clang/utils/TableGen/ClangASTNodesEmitter.cpp
   92   if (!Base->getValueAsBit(AbstractFieldName))
   97     bool Abstract = R->getValueAsBit(AbstractFieldName);
tools/clang/utils/TableGen/ClangAttrEmitter.cpp
   92       if (Spelling->getValueAsBit("AllowInC"))
  166     if (Attr->getValueAsBit("SemaHandler")) {
 1274         Arg, Attr, "bool", Arg.getValueAsBit("Default"));
 1316   if (Ptr && Arg.getValueAsBit("Optional"))
 1319   if (Ptr && Arg.getValueAsBit("Fake"))
 1663     bool LateParsed = Attr->getValueAsBit("LateParsed");
 1726     return Constraint->getValueAsBit("Negated");
 1921   if (Attribute.getValueAsBit("LateParsed"))
 2130     if (!Attr.getValueAsBit("ParseArgumentsAsUnevaluated"))
 2250     if (!R.getValueAsBit("ASTNode"))
 2415          << (R.getValueAsBit("LateParsed") ? "true" : "false");
 2418            << (R.getValueAsBit("InheritEvenIfAlreadyPresent") ? "true"
 2504     if (!R.getValueAsBit("ASTNode"))
 2538       if (!R.getValueAsBit("ASTNode"))
 2771     if (!Attr->getValueAsBit("ASTNode"))
 2821     if (!R.getValueAsBit("ASTNode"))
 2859     if (!R.getValueAsBit("ASTNode"))
 3123     if (!R.getValueAsBit("ASTNode"))
 3137     if (!R.getValueAsBit("ASTNode"))
 3166     if (!R.getValueAsBit("ASTNode"))
 3186     if (!R.getValueAsBit("ASTNode"))
 3189     bool ShouldClone = R.getValueAsBit("Clone") &&
 3191                         R.getValueAsBit("MeaningfulToClassTemplateDefinition"));
 3201     bool TDependent = R.getValueAsBit("TemplateDependent");
 3281     if (Arg->getValueAsBit("Fake"))
 3283     Arg->getValueAsBit("Optional") ? ++OptCount : ++ArgCount;
 3425   bool Warn = SubjectObj->getValueAsDef("Diag")->getValueAsBit("Warn");
 3617   if (!Attr.getValueAsBit("ASTNode"))
 3685     SS << ", " << I->second->getValueAsBit("HasCustomParsing");
 3727     bool SemaHandler = Attr.getValueAsBit("SemaHandler");
 3728     bool Ignored = Attr.getValueAsBit("Ignored");
 3821     if (!R.getValueAsBit("ASTNode"))
 3857     if (!R.getValueAsBit("ASTNode"))
tools/clang/utils/TableGen/ClangCommentCommandInfoEmitter.cpp
   37        << Tag.getValueAsBit("IsInlineCommand") << ", "
   38        << Tag.getValueAsBit("IsBlockCommand") << ", "
   39        << Tag.getValueAsBit("IsBriefCommand") << ", "
   40        << Tag.getValueAsBit("IsReturnsCommand") << ", "
   41        << Tag.getValueAsBit("IsParamCommand") << ", "
   42        << Tag.getValueAsBit("IsTParamCommand") << ", "
   43        << Tag.getValueAsBit("IsThrowsCommand") << ", "
   44        << Tag.getValueAsBit("IsDeprecatedCommand") << ", "
   45        << Tag.getValueAsBit("IsHeaderfileCommand") << ", "
   46        << Tag.getValueAsBit("IsEmptyParagraphAllowed") << ", "
   47        << Tag.getValueAsBit("IsVerbatimBlockCommand") << ", "
   48        << Tag.getValueAsBit("IsVerbatimBlockEndCommand") << ", "
   49        << Tag.getValueAsBit("IsVerbatimLineCommand") << ", "
   50        << Tag.getValueAsBit("IsDeclarationCommand") << ", "
   51        << Tag.getValueAsBit("IsFunctionDeclarationCommand") << ", "
   52        << Tag.getValueAsBit("IsRecordLikeDetailCommand") << ", "
   53        << Tag.getValueAsBit("IsRecordLikeDeclarationCommand") << ", "
tools/clang/utils/TableGen/ClangCommentHTMLTagsEmitter.cpp
   45     if (Tag->getValueAsBit("EndTagOptional"))
   47     if (Tag->getValueAsBit("EndTagForbidden"))
tools/clang/utils/TableGen/ClangDiagnosticsEmitter.cpp
 1276     if (R.getValueAsBit("WarningNoWerror"))
 1281     if (R.getValueAsBit("ShowInSystemHeader"))
tools/clang/utils/TableGen/ClangOpcodesEmitter.cpp
  117     bool CanReturn = R->getValueAsBit("CanReturn");
  118     bool ChangesPC = R->getValueAsBit("ChangesPC");
  174   if (R->getValueAsBit("HasCustomLink"))
  215   if (R->getValueAsBit("HasCustomEval") && TypeCount) {
  235   if (!R->getValueAsBit("HasGroup"))
  272       if (R->getValueAsBit("HasCustomEval")) {
  317   if (R->getValueAsBit("HasCustomEval"))
tools/clang/utils/TableGen/ClangOpenCLBuiltinEmitter.cpp
  377        << T.first->getValueAsBit("IsPointer") << ", "
  378        << T.first->getValueAsBit("IsConst") << ", "
  379        << T.first->getValueAsBit("IsVolatile") << ", "
  576     if (QT->getValueAsBit("IsAbstract") == 1)
tools/clang/utils/TableGen/ClangOptionDocEmitter.cpp
   54     return R->getValue("DocFlatten") && R->getValueAsBit("DocFlatten");
tools/clang/utils/TableGen/ClangSACheckersEmitter.cpp
  131   if (R->getValueAsBit("Hidden"))
  172   if (!R.getValueAsBit("Hidden"))
tools/clang/utils/TableGen/ClangTypeNodesEmitter.cpp
  169 		if (type->getValueAsBit(AbstractFieldName))
tools/clang/utils/TableGen/MveEmitter.cpp
  967     return getPointerType(Pointee, Op->getValueAsBit("const"));
  972     ScalarTypeKind NewKind = Op->getValueAsBit("signed")
 1039       if (Op->getValueAsBit("appendKind"))
tools/clang/utils/TableGen/NeonEmitter.cpp
 2050   bool CartesianProductOfTypes = R->getValueAsBit("CartesianProductOfTypes");
 2051   bool BigEndianSafe  = R->getValueAsBit("BigEndianSafe");
 2053   bool IsUnavailable = OperationRec->getValueAsBit("Unavailable");
 2248     if (R->getValueAsBit("isVCVT_N")) {
 2260     } else if (R->getValueAsBit("isScalarShift")) {
 2268     } else if (R->getValueAsBit("isShift")) {
 2279       if (R->getValueAsBit("isLaneQ"))
utils/TableGen/AsmMatcherEmitter.cpp
  551         TheDef->getValueAsBit("UseInstAsmMatchConverter")) {
 1480   bool HasMnemonicFirst = AsmParser->getValueAsBit("HasMnemonicFirst");
 1482       AsmParser->getValueAsBit("ReportMultipleNearMisses");
 1511       if (CGI->TheDef->getValueAsBit("isCodeGenOnly"))
 2611       AsmParser->getValueAsBit("AllowDuplicateRegisterNames");
 2644       AsmParser->getValueAsBit("AllowDuplicateRegisterNames");
 3184   bool HasMnemonicFirst = AsmParser->getValueAsBit("HasMnemonicFirst");
 3187       AsmParser->getValueAsBit("ReportMultipleNearMisses");
 3258   if (AsmParser->getValueAsBit("ShouldEmitMatchRegisterName"))
 3261   if (AsmParser->getValueAsBit("ShouldEmitMatchRegisterAltName"))
utils/TableGen/AsmWriterEmitter.cpp
  827           return R->getValueAsBit("AssemblerMatcherPredicate");
utils/TableGen/CallingConvEmitter.cpp
   42     if (!CC->getValueAsBit("Custom")) {
   44       if (CC->getValueAsBit("Entry")) {
   60     if (!CC->getValueAsBit("Custom"))
   72   if (CC->getValueAsBit("Entry")) {
utils/TableGen/CodeEmitterGen.cpp
  298        getValueAsBit("noNamedPositionallyEncodedOperands")) {
  361         R->getValueAsBit("isPseudo")) {
  406         R->getValueAsBit("isPseudo"))
  468         R->getValueAsBit("isPseudo"))
utils/TableGen/CodeGenDAGPatterns.cpp
 1102   return getOrigPatFragRecord()->getRecord()->getValueAsBit("IsAPInt");
utils/TableGen/CodeGenInstruction.cpp
  366   isPreISelOpcode = R->getValueAsBit("isPreISelOpcode");
  367   isReturn     = R->getValueAsBit("isReturn");
  368   isEHScopeReturn = R->getValueAsBit("isEHScopeReturn");
  369   isBranch     = R->getValueAsBit("isBranch");
  370   isIndirectBranch = R->getValueAsBit("isIndirectBranch");
  371   isCompare    = R->getValueAsBit("isCompare");
  372   isMoveImm    = R->getValueAsBit("isMoveImm");
  373   isMoveReg    = R->getValueAsBit("isMoveReg");
  374   isBitcast    = R->getValueAsBit("isBitcast");
  375   isSelect     = R->getValueAsBit("isSelect");
  376   isBarrier    = R->getValueAsBit("isBarrier");
  377   isCall       = R->getValueAsBit("isCall");
  378   isAdd        = R->getValueAsBit("isAdd");
  379   isTrap       = R->getValueAsBit("isTrap");
  380   canFoldAsLoad = R->getValueAsBit("canFoldAsLoad");
  381   isPredicable = !R->getValueAsBit("isUnpredicable") && (
  382       Operands.isPredicable || R->getValueAsBit("isPredicable"));
  383   isConvertibleToThreeAddress = R->getValueAsBit("isConvertibleToThreeAddress");
  384   isCommutable = R->getValueAsBit("isCommutable");
  385   isTerminator = R->getValueAsBit("isTerminator");
  386   isReMaterializable = R->getValueAsBit("isReMaterializable");
  387   hasDelaySlot = R->getValueAsBit("hasDelaySlot");
  388   usesCustomInserter = R->getValueAsBit("usesCustomInserter");
  389   hasPostISelHook = R->getValueAsBit("hasPostISelHook");
  390   hasCtrlDep   = R->getValueAsBit("hasCtrlDep");
  391   isNotDuplicable = R->getValueAsBit("isNotDuplicable");
  392   isRegSequence = R->getValueAsBit("isRegSequence");
  393   isExtractSubreg = R->getValueAsBit("isExtractSubreg");
  394   isInsertSubreg = R->getValueAsBit("isInsertSubreg");
  395   isConvergent = R->getValueAsBit("isConvergent");
  396   hasNoSchedulingInfo = R->getValueAsBit("hasNoSchedulingInfo");
  397   FastISelShouldIgnore = R->getValueAsBit("FastISelShouldIgnore");
  398   variadicOpsAreDefs = R->getValueAsBit("variadicOpsAreDefs");
  405   mayRaiseFPException = R->getValueAsBit("mayRaiseFPException");
  409   isAsCheapAsAMove = R->getValueAsBit("isAsCheapAsAMove");
  410   hasExtraSrcRegAllocReq = R->getValueAsBit("hasExtraSrcRegAllocReq");
  411   hasExtraDefRegAllocReq = R->getValueAsBit("hasExtraDefRegAllocReq");
  412   isCodeGenOnly = R->getValueAsBit("isCodeGenOnly");
  413   isPseudo = R->getValueAsBit("isPseudo");
  512                Constraint->getDef()->getValueAsBit("IsPointer");
utils/TableGen/CodeGenRegisters.cpp
  160     CoveredBySubRegs(R->getValueAsBit("CoveredBySubRegs")),
  165   Artificial = R->getValueAsBit("isArtificial");
  806   Allocatable = R->getValueAsBit("isAllocatable");
utils/TableGen/CodeGenSchedule.cpp
 1084                 RWModelDef->getValueAsBit("FullInstRWOverlapCheck")) {
 1799         RF->getValueAsBit("AllowZeroMoveEliminationOnly");
 1934     if (!ProcModel.ModelDef->getValueAsBit("CompleteModel"))
utils/TableGen/CodeGenSchedule.h
   65       IsVariadic = Def->getValueAsBit("Variadic");
  472       assert(ModelDef->getValueAsBit("NoModel")
utils/TableGen/CodeGenTarget.cpp
  449       if (CGI->TheDef->getValueAsBit("isPseudo"))
  462         return std::make_tuple(!D1.getValueAsBit("isPseudo"), D1.getName()) <
  463                std::make_tuple(!D2.getValueAsBit("isPseudo"), D2.getName());
  472   return getInstructionSet()->getValueAsBit("isLittleEndianEncoding");
  485         R->getValueAsBit("isPseudo"))
  520   return getInstructionSet()->getValueAsBit("guessInstructionProperties");
  584     bool isTarget = Defs[I]->getValueAsBit("isTarget");
utils/TableGen/FastISelEmitter.cpp
  225           if (Rec->getValueAsBit("FastIselShouldIgnore"))
utils/TableGen/FixedLenDecoderEmitter.cpp
 1812     bool HasCompleteInstDecoder = EncodingDef.getValueAsBit("hasCompleteDecoder");
 1851         getValueAsBit("decodePositionallyEncodedOperands")) {
 1857          getValueAsBit("noNamedPositionallyEncodedOperands"))
 2448         Def->getValueAsBit("isPseudo") ||
 2449         Def->getValueAsBit("isAsmParserOnly") ||
 2450         Def->getValueAsBit("isCodeGenOnly")) {
utils/TableGen/GlobalISelEmitter.cpp
 3658   if (SrcGIEquivOrNull && SrcGIEquivOrNull->getValueAsBit("CheckMMOIsNonAtomic"))
 3660   else if (SrcGIEquivOrNull && SrcGIEquivOrNull->getValueAsBit("CheckMMOIsAtomic")) {
 5218            !R->getValueAsBit("IsAPInt");
 5225     return R->getValueAsBit("IsAPInt");
utils/TableGen/InstrInfoEmitter.cpp
  229     if (!Inst->TheDef->getValueAsBit("UseNamedOperandTable"))
utils/TableGen/OptParserEmitter.cpp
   50   bool ASent = A->getValueAsDef("Kind")->getValueAsBit("Sentinel");
   51   bool BSent = B->getValueAsDef("Kind")->getValueAsBit("Sentinel");
utils/TableGen/PredicateExpander.cpp
  389   if (Rec->getValueAsBit("UpdatesOpcodeMask"))
  397   if (Rec->getValueAsBit("OverridesBaseClassMember"))
  406       Fn.getDeclaration()->getValueAsBit("UpdatesOpcodeMask");
  471       Fn.getDeclaration()->getValueAsBit("UpdatesOpcodeMask");
  518   if (shouldExpandForMC() && !Rec->getValueAsBit("ExpandForMC"))
utils/TableGen/RISCVCompressInstEmitter.cpp
  462     return R->getValueAsBit("AssemblerMatcherPredicate");
  621       return R->getValueAsBit("AssemblerMatcherPredicate");
utils/TableGen/SearchableTableEmitter.cpp
  235       bool LHSpseudo = LHSr->getValueAsBit("isPseudo");
  236       bool RHSpseudo = RHSr->getValueAsBit("isPseudo");
  693                            TableRec->getValueAsBit("PrimaryKeyEarlyOut"));
  717         IndexRec->getValueAsBit("EarlyOut")));
utils/TableGen/SubtargetEmitter.cpp
 1092         if (WriteRes->getValueAsBit("Unsupported")) {
 1098         SCDesc.BeginGroup |= WriteRes->getValueAsBit("BeginGroup");
 1099         SCDesc.EndGroup |= WriteRes->getValueAsBit("EndGroup");
 1100         SCDesc.BeginGroup |= WriteRes->getValueAsBit("SingleIssue");
 1101         SCDesc.EndGroup |= WriteRes->getValueAsBit("SingleIssue");
 1159       if (ReadAdvance->getValueAsBit("Unsupported")) {
 1362       (PM.ModelDef ? PM.ModelDef->getValueAsBit("PostRAScheduler") : false);
 1368       (PM.ModelDef ? PM.ModelDef->getValueAsBit("CompleteModel") : false);
utils/TableGen/SubtargetFeatureInfo.cpp
   35     if (!Pred->getValueAsBit("AssemblerMatcherPredicate"))
utils/TableGen/SubtargetFeatureInfo.h
   49     return TheDef->getValueAsBit("RecomputePerFunction");
utils/TableGen/X86EVEX2VEXTablesEmitter.cpp
   94     bool EVEX_W = RecE->getValueAsBit("HasVEX_W");
   95     bool VEX_W  = RecV->getValueAsBit("HasVEX_W");
   96     bool VEX_WIG  = RecV->getValueAsBit("IgnoresVEX_W");
   97     bool EVEX_WIG = RecE->getValueAsBit("IgnoresVEX_W");
   98     bool EVEX_W1_VEX_W0 = RecE->getValueAsBit("EVEX_W1_VEX_W0");
  101         RecV->getValueAsBit("isCodeGenOnly") != RecE->getValueAsBit("isCodeGenOnly") ||
  101         RecV->getValueAsBit("isCodeGenOnly") != RecE->getValueAsBit("isCodeGenOnly") ||
  105         RecV->getValueAsBit("hasVEX_4V") != RecE->getValueAsBit("hasVEX_4V") ||
  105         RecV->getValueAsBit("hasVEX_4V") != RecE->getValueAsBit("hasVEX_4V") ||
  106         RecV->getValueAsBit("hasEVEX_L2") != RecE->getValueAsBit("hasEVEX_L2") ||
  106         RecV->getValueAsBit("hasEVEX_L2") != RecE->getValueAsBit("hasEVEX_L2") ||
  107         RecV->getValueAsBit("hasVEX_L") != RecE->getValueAsBit("hasVEX_L") ||
  107         RecV->getValueAsBit("hasVEX_L") != RecE->getValueAsBit("hasVEX_L") ||
  191              !Inst->TheDef->getValueAsBit("hasEVEX_K") &&
  192              !Inst->TheDef->getValueAsBit("hasEVEX_B") &&
  193              !Inst->TheDef->getValueAsBit("hasEVEX_L2") &&
  194              !Inst->TheDef->getValueAsBit("notEVEX2VEXConvertible"))
  221     if (EVEXInst->TheDef->getValueAsBit("hasVEX_L"))
utils/TableGen/X86FoldTablesEmitter.cpp
  334         RegRec->getValueAsBit("hasVEX_4V") !=
  335             MemRec->getValueAsBit("hasVEX_4V") ||
  336         RegRec->getValueAsBit("hasEVEX_K") !=
  337             MemRec->getValueAsBit("hasEVEX_K") ||
  338         RegRec->getValueAsBit("hasEVEX_Z") !=
  339             MemRec->getValueAsBit("hasEVEX_Z") ||
  341         RegRec->getValueAsBit("hasEVEX_B") != 0 ||
  342         MemRec->getValueAsBit("hasEVEX_B") != 0 ||
  343         RegRec->getValueAsBit("hasEVEX_RC") !=
  344             MemRec->getValueAsBit("hasEVEX_RC") ||
  345         RegRec->getValueAsBit("hasREX_WPrefix") !=
  346             MemRec->getValueAsBit("hasREX_WPrefix") ||
  347         RegRec->getValueAsBit("hasLockPrefix") !=
  348             MemRec->getValueAsBit("hasLockPrefix") ||
  349         RegRec->getValueAsBit("hasNoTrackPrefix") !=
  350             MemRec->getValueAsBit("hasNoTrackPrefix") ||
  351         RegRec->getValueAsBit("hasVEX_L") !=
  352             MemRec->getValueAsBit("hasVEX_L") ||
  353         RegRec->getValueAsBit("hasEVEX_L2") !=
  354             MemRec->getValueAsBit("hasEVEX_L2") ||
  355         RegRec->getValueAsBit("ignoresVEX_L") !=
  356             MemRec->getValueAsBit("ignoresVEX_L") ||
  357         RegRec->getValueAsBit("HasVEX_W") !=
  358             MemRec->getValueAsBit("HasVEX_W") ||
  359         RegRec->getValueAsBit("IgnoresVEX_W") !=
  360             MemRec->getValueAsBit("IgnoresVEX_W") ||
  361         RegRec->getValueAsBit("EVEX_W1_VEX_W0") !=
  362             MemRec->getValueAsBit("EVEX_W1_VEX_W0") ||
  367         RegRec->getValueAsBit("isAsmParserOnly") !=
  368             MemRec->getValueAsBit("isAsmParserOnly"))
  600     if (Rec->getValueAsBit("isMemoryFoldable") == false ||
utils/TableGen/X86RecognizableInstr.cpp
   84   HasREX_WPrefix     = Rec->getValueAsBit("hasREX_WPrefix");
   85   HasVEX_4V          = Rec->getValueAsBit("hasVEX_4V");
   86   HasVEX_W           = Rec->getValueAsBit("HasVEX_W");
   87   IgnoresVEX_W       = Rec->getValueAsBit("IgnoresVEX_W");
   88   IgnoresVEX_L       = Rec->getValueAsBit("ignoresVEX_L");
   89   HasEVEX_L2Prefix   = Rec->getValueAsBit("hasEVEX_L2");
   90   HasEVEX_K          = Rec->getValueAsBit("hasEVEX_K");
   91   HasEVEX_KZ         = Rec->getValueAsBit("hasEVEX_Z");
   92   HasEVEX_B          = Rec->getValueAsBit("hasEVEX_B");
   93   IsCodeGenOnly      = Rec->getValueAsBit("isCodeGenOnly");
   94   ForceDisassemble   = Rec->getValueAsBit("ForceDisassemble");
  101   HasVEX_LPrefix   = Rec->getValueAsBit("hasVEX_L");
  142   if (insn.TheDef->getValueAsBit("isAsmParserOnly"))