Home
last modified time | relevance | path

Searched refs:IDVal (Results 1 – 21 of 21) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DAsmParser.cpp190 StringRef IDVal, AsmToken ID,
557 bool parseDirectiveAscii(StringRef IDVal, bool ZeroTerminated);
559 bool parseDirectiveValue(StringRef IDVal,
561 bool parseDirectiveOctaValue(StringRef IDVal); // ".octa", ...
562 bool parseDirectiveRealValue(StringRef IDVal,
567 bool parseDirectiveSet(StringRef IDVal, AssignmentKind Kind);
635 bool parseDirectiveSpace(StringRef IDVal);
638 bool parseDirectiveDCB(StringRef IDVal, unsigned Size);
639 bool parseDirectiveRealDCB(StringRef IDVal, const fltSemantics &);
641 bool parseDirectiveDS(StringRef IDVal, unsigned Size);
[all …]
H A DMasmParser.cpp779 bool parseDirectiveAscii(StringRef IDVal, bool ZeroTerminated);
791 bool parseDirectiveValue(StringRef IDVal, unsigned Size);
798 bool parseDirectiveRealValue(StringRef IDVal, const fltSemantics &Semantics,
859 bool parseDirectiveEquate(StringRef IDVal, StringRef Name,
1842 StringRef IDVal; in parseStatement() local
1848 IDVal = "."; in parseStatement()
1851 IDVal = getTok().getString(); in parseStatement()
1853 if (!IDVal.starts_with(".")) in parseStatement()
1855 } else if (parseIdentifier(IDVal, StartOfStatement)) { in parseStatement()
1860 IDVal = ""; in parseStatement()
[all …]
H A DDarwinAsmParser.cpp602 bool DarwinAsmParser::parseDirectiveLinkerOption(StringRef IDVal, SMLoc) { in parseDirectiveLinkerOption() argument
606 return TokError("expected string in '" + Twine(IDVal) + "' directive"); in parseDirectiveLinkerOption()
618 return TokError("unexpected token in '" + Twine(IDVal) + "' directive"); in parseDirectiveLinkerOption()
/freebsd/contrib/llvm-project/llvm/lib/Target/MSP430/AsmParser/
H A DMSP430AsmParser.cpp434 StringRef IDVal = DirectiveID.getIdentifier(); in parseDirective() local
435 if (IDVal.lower() == ".long") in parseDirective()
437 if (IDVal.lower() == ".word" || IDVal.lower() == ".short") in parseDirective()
439 if (IDVal.lower() == ".byte") in parseDirective()
441 if (IDVal.lower() == ".refsym") in parseDirective()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/AsmParser/
H A DX86AsmParser.cpp1186 bool ParseDirectiveCode(StringRef IDVal, SMLoc L);
2137 StringRef IDVal = getTok().getString(); in ParseIntelExpression() local
2138 if (IDVal == "f" || IDVal == "b") { in ParseIntelExpression()
2140 getContext().getDirectionalLocalSymbol(IntVal, IDVal == "b"); in ParseIntelExpression()
2144 if (IDVal == "b" && Sym->isUndefined()) in ParseIntelExpression()
4690 StringRef IDVal = DirectiveID.getIdentifier(); in ParseDirective() local
4691 if (IDVal.starts_with(".arch")) in ParseDirective()
4693 if (IDVal.starts_with(".code")) in ParseDirective()
4694 return ParseDirectiveCode(IDVal, DirectiveID.getLoc()); in ParseDirective()
4695 else if (IDVal.starts_with(".att_syntax")) { in ParseDirective()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/AsmParser/
H A DAArch64AsmParser.cpp7015 auto IDVal = DirectiveID.getIdentifier().lower(); in ParseDirective() local
7017 if (IDVal == ".arch") in ParseDirective()
7019 else if (IDVal == ".cpu") in ParseDirective()
7021 else if (IDVal == ".tlsdesccall") in ParseDirective()
7023 else if (IDVal == ".ltorg" || IDVal == ".pool") in ParseDirective()
7025 else if (IDVal == ".unreq") in ParseDirective()
7027 else if (IDVal == ".inst") in ParseDirective()
7029 else if (IDVal == ".cfi_negate_ra_state") in ParseDirective()
7031 else if (IDVal == ".cfi_negate_ra_state_with_pc") in ParseDirective()
7033 else if (IDVal == ".cfi_b_key_frame") in ParseDirective()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/AsmParser/
H A DAVRAsmParser.cpp685 StringRef IDVal = DirectiveID.getIdentifier(); in parseDirective() local
686 if (IDVal.lower() == ".long") in parseDirective()
688 if (IDVal.lower() == ".word" || IDVal.lower() == ".short") in parseDirective()
690 if (IDVal.lower() == ".byte") in parseDirective()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/AsmParser/
H A DARMAsmParser.cpp6513 StringRef IDVal = Parser.getTok().getIdentifier(); in parsePrefix() local
6516 llvm::find_if(PrefixEntries, [&IDVal](const PrefixEntry &PE) { in parsePrefix()
6517 return PE.Spelling == IDVal; in parsePrefix()
11526 std::string IDVal = DirectiveID.getIdentifier().lower(); in ParseDirective() local
11527 if (IDVal == ".word") in ParseDirective()
11529 else if (IDVal == ".short" || IDVal == ".hword") in ParseDirective()
11531 else if (IDVal == ".thumb") in ParseDirective()
11533 else if (IDVal == ".arm") in ParseDirective()
11535 else if (IDVal == ".thumb_func") in ParseDirective()
11537 else if (IDVal == ".code") in ParseDirective()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/AsmParser/
H A DPPCAsmParser.cpp1649 StringRef IDVal = DirectiveID.getIdentifier(); in ParseDirective() local
1650 if (IDVal == ".word") in ParseDirective()
1652 else if (IDVal == ".llong") in ParseDirective()
1654 else if (IDVal == ".tc") in ParseDirective()
1656 else if (IDVal == ".machine") in ParseDirective()
1658 else if (IDVal == ".abiversion") in ParseDirective()
1660 else if (IDVal == ".localentry") in ParseDirective()
1662 else if (IDVal.starts_with(".gnu_attribute")) in ParseDirective()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/AsmParser/
H A DMipsAsmParser.cpp8581 StringRef IDVal = DirectiveID.getString(); in ParseDirective() local
8583 if (IDVal == ".cpadd") { in ParseDirective()
8587 if (IDVal == ".cpload") { in ParseDirective()
8591 if (IDVal == ".cprestore") { in ParseDirective()
8595 if (IDVal == ".cplocal") { in ParseDirective()
8599 if (IDVal == ".ent") { in ParseDirective()
8649 if (IDVal == ".end") { in ParseDirective()
8678 if (IDVal == ".frame") { in ParseDirective()
8750 if (IDVal == ".set") { in ParseDirective()
8755 if (IDVal == ".mask" || IDVal == ".fmask") { in ParseDirective()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/AsmParser/
H A DHexagonAsmParser.cpp717 StringRef IDVal = DirectiveID.getIdentifier(); in ParseDirective() local
718 if (IDVal.lower() == ".falign") in ParseDirective()
720 if ((IDVal.lower() == ".lcomm") || (IDVal.lower() == ".lcommon")) in ParseDirective()
722 if ((IDVal.lower() == ".comm") || (IDVal.lower() == ".common")) in ParseDirective()
724 if (IDVal.lower() == ".subsection") in ParseDirective()
726 if (IDVal == ".attribute") in ParseDirective()
/freebsd/contrib/llvm-project/llvm/lib/Target/Xtensa/AsmParser/
H A DXtensaAsmParser.cpp861 StringRef IDVal = DirectiveID.getString(); in parseDirective() local
864 if (IDVal == ".literal_position") { in parseDirective()
870 if (IDVal == ".literal") { in parseDirective()
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/AsmParser/
H A DSystemZAsmParser.cpp1246 StringRef IDVal = DirectiveID.getIdentifier(); in parseDirective() local
1248 if (IDVal == ".insn") in parseDirective()
1250 if (IDVal == ".machine") in parseDirective()
1252 if (IDVal.starts_with(".gnu_attribute")) in parseDirective()
/freebsd/contrib/llvm-project/llvm/lib/Target/VE/AsmParser/
H A DVEAsmParser.cpp1014 std::string IDVal = DirectiveID.getIdentifier().lower(); in parseDirective() local
1021 if (IDVal == ".word") in parseDirective()
1025 if (IDVal == ".long") in parseDirective()
1029 if (IDVal == ".llong") in parseDirective()
/freebsd/contrib/llvm-project/llvm/lib/Target/Sparc/AsmParser/
H A DSparcAsmParser.cpp1030 StringRef IDVal = DirectiveID.getString(); in parseDirective() local
1032 if (IDVal == ".register") { in parseDirective()
1037 if (IDVal == ".proc") { in parseDirective()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/AsmParser/
H A DAMDGPUAsmParser.cpp6546 StringRef IDVal = DirectiveID.getString(); in ParseDirective() local
6549 if (IDVal == ".amdhsa_kernel") in ParseDirective()
6552 if (IDVal == ".amdhsa_code_object_version") in ParseDirective()
6556 if (IDVal == AMDGPU::HSAMD::V3::AssemblerDirectiveBegin) in ParseDirective()
6559 if (IDVal == ".amd_kernel_code_t") in ParseDirective()
6562 if (IDVal == ".amdgpu_hsa_kernel") in ParseDirective()
6565 if (IDVal == ".amd_amdgpu_isa") in ParseDirective()
6568 if (IDVal == AMDGPU::HSAMD::AssemblerDirectiveBegin) { in ParseDirective()
6576 if (IDVal == ".amdgcn_target") in ParseDirective()
6579 if (IDVal == ".amdgpu_lds") in ParseDirective()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/AsmParser/
H A DRISCVAsmParser.cpp2968 StringRef IDVal = DirectiveID.getString(); in parseDirective() local
2970 if (IDVal == ".option") in parseDirective()
2972 if (IDVal == ".attribute") in parseDirective()
2974 if (IDVal == ".insn") in parseDirective()
2976 if (IDVal == ".variant_cc") in parseDirective()
/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/AsmParser/
H A DCSKYAsmParser.cpp1530 StringRef IDVal = DirectiveID.getString(); in parseDirective() local
1532 if (IDVal == ".csky_attribute") in parseDirective()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaHLSL.cpp4053 llvm::APInt IDVal(Context.getIntWidth(Context.IntTy), ConstantID); in handleInitialization() local
4054 Expr *IdExpr = IntegerLiteral::Create(Context, IDVal, Context.IntTy, in handleInitialization()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelDAGToDAG.cpp5161 SDValue IDVal(ImDef, 0); in tryAsSingleRLDICL() local
5164 IDVal, Op0.getOperand(0), in tryAsSingleRLDICL()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp10790 SDValue IDVal = getValue(CB.getArgOperand(PatchPointOpers::IDPos)); in visitPatchpoint() local
10791 Ops.push_back(DAG.getTargetConstant(IDVal->getAsZExtVal(), dl, MVT::i64)); in visitPatchpoint()