/external/llvm/utils/TableGen/ |
D | AsmWriterInst.cpp | 60 std::string AsmString = CGI.FlattenAsmStringVariants(CGI.AsmString, Variant); in AsmWriterInst() local 62 while (LastEmitted != AsmString.size()) { in AsmWriterInst() 64 AsmString.find_first_of("$\\", LastEmitted); in AsmWriterInst() 65 if (DollarPos == std::string::npos) DollarPos = AsmString.size(); in AsmWriterInst() 70 switch (AsmString[LastEmitted]) { in AsmWriterInst() 84 AddLiteralString(std::string(1, AsmString[LastEmitted])); in AsmWriterInst() 87 } else if (AsmString[DollarPos] == '\\') { in AsmWriterInst() 88 if (DollarPos+1 != AsmString.size()) { in AsmWriterInst() 89 if (AsmString[DollarPos+1] == 'n') { in AsmWriterInst() 91 } else if (AsmString[DollarPos+1] == 't') { in AsmWriterInst() [all …]
|
D | AsmWriterEmitter.cpp | 643 std::string AsmString; member in __anon5ee6605a0211::IAPrinter 645 IAPrinter(std::string R, std::string AS) : Result(R), AsmString(AS) {} in IAPrinter() 709 StringRef ASM(AsmString); in print() 755 static unsigned CountNumOperands(StringRef AsmString, unsigned Variant) { in CountNumOperands() argument 757 CodeGenInstruction::FlattenAsmStringVariants(AsmString, Variant); in CountNumOperands() 758 AsmString = FlatAsmString; in CountNumOperands() 760 return AsmString.count(' ') + AsmString.count('\t'); in CountNumOperands() 828 CountNumOperands(CGA.ResultInst->AsmString, Variant); in EmitPrintAliasInstruction() 831 if (NumResultOps < CountNumOperands(CGA.AsmString, Variant)) in EmitPrintAliasInstruction() 834 IAPrinter IAP(CGA.Result->getAsString(), CGA.AsmString); in EmitPrintAliasInstruction() [all …]
|
D | CodeGenInstruction.h | 214 std::string AsmString; variable 284 static std::string FlattenAsmStringVariants(StringRef AsmString, 296 std::string AsmString; variable
|
D | AsmMatcherEmitter.cpp | 413 std::string AsmString; member 459 : AsmVariantID(0), AsmString(CGI.AsmString), TheDef(CGI.TheDef), DefRec(&CGI), in MatchableInfo() 464 : AsmVariantID(0), AsmString(Alias->AsmString), TheDef(Alias->TheDef), in MatchableInfo() 474 : AsmVariantID(RHS.AsmVariantID), AsmString(RHS.AsmString), in MatchableInfo() 726 errs() << TheDef->getName() << " -- " << "flattened:\"" << AsmString <<"\"\n"; in dump() 844 AsmString = in initialize() 845 CodeGenInstruction::FlattenAsmStringVariants(AsmString, AsmVariantNo); in initialize() 873 StringRef String = AsmString; in addAsmOperand() 886 StringRef String = AsmString; in tokenizeAsmString() 968 if (AsmString.empty()) in validate() [all …]
|
/external/llvm/test/TableGen/ |
D | BitOffsetDecoder.td | 24 let AsmString = "foo $factor"; 34 let AsmString = "bar $factor"; 44 let AsmString = "biz $factor"; 54 let AsmString = "baz $factor"; 64 let AsmString = "bum $factor";
|
D | trydecode-emission3.td | 21 let AsmString = "InstA"; 34 let AsmString = "InstB";
|
D | trydecode-emission2.td | 21 let AsmString = "InstA"; 28 let AsmString = "InstB";
|
D | trydecode-emission.td | 26 let AsmString = "InstA"; 31 let AsmString = "InstB";
|
D | AsmPredicateCondsEmission.td | 25 let AsmString = "foo";
|
/external/clang/lib/Parse/ |
D | ParseStmtAsm.cpp | 40 StringRef AsmString; member in __anona627ddaf0111::ClangAsmParserCallback 49 ClangAsmParserCallback(Parser &P, SourceLocation Loc, StringRef AsmString, in ClangAsmParserCallback() argument 51 : TheParser(P), AsmLoc(Loc), AsmString(AsmString), AsmToks(Toks), in ClangAsmParserCallback() 121 assert(!std::less<const char *>()(Str.begin(), AsmString.begin()) && in findTokensForString() 122 !std::less<const char *>()(AsmString.end(), Str.end())); in findTokensForString() 125 unsigned FirstCharOffset = Str.begin() - AsmString.begin(); in findTokensForString() 137 unsigned LastCharOffset = Str.end() - AsmString.begin(); in findTokensForString() 522 SmallString<512> AsmString; in ParseMicrosoftAsmStatement() local 524 if (buildMSAsmString(PP, AsmLoc, AsmToks, TokOffsets, AsmString)) in ParseMicrosoftAsmStatement() 540 llvm::MemoryBuffer::getMemBuffer(AsmString, "<MS inline asm>"); in ParseMicrosoftAsmStatement() [all …]
|
/external/llvm/lib/Target/Mips/ |
D | MipsEVAInstrInfo.td | 57 string AsmString = !strconcat(instr_asm, "\t$rt, $addr"); 74 string AsmString = !strconcat(instr_asm, "\t$rt, $addr"); 88 string AsmString = !strconcat(instr_asm, "\t$rt, $addr"); 101 string AsmString = !strconcat(instr_asm, "\t$rt, $addr"); 113 string AsmString = !strconcat(instr_asm, "\t$rt, $addr"); 124 string AsmString = !strconcat(instr_asm, "\t$rt, $addr"); 136 string AsmString = instr_asm; 146 string AsmString = !strconcat(instr_asm, "\t$hint, $addr");
|
D | Mips32r6InstrInfo.td | 183 string AsmString = !strconcat("cmp.", CondStr, ".", Typestr, "\t$fd, $fs, $ft"); 251 string AsmString = !strconcat(instr_asm, "\t$rs, $imm"); 263 string AsmString = !strconcat(instr_asm, "\t$rd, $rs, $rt, $bp"); 273 string AsmString = !strconcat(instr_asm, "\t$rs, $imm"); 284 string AsmString = !strconcat(instr_asm, "\t$rs, $rt, $imm"); 300 string AsmString = !strconcat(instr_asm, "\t$offset"); 308 string AsmString = !strconcat(instr_asm, "\t$rs, $rt, $offset"); 316 string AsmString = !strconcat(instr_asm, "\t$rs, $offset"); 325 string AsmString = !strconcat(instr_asm, "\t$rt, $offset"); 361 string AsmString = instr_asm; [all …]
|
D | MicroMips64r6InstrInfo.td | 42 string AsmString = !strconcat(instr_asm, "\t$rt, $rs, $imm"); 51 string AsmString = !strconcat(instr_asm, "\t$rt, $imm"); 62 string AsmString = !strconcat(instr_asm, "\t$rt, $rs, $pos, $size"); 82 string AsmString = !strconcat(instr_asm, "\t$rd, $rs, $rt, $bp");
|
D | MicroMips32r6InstrInfo.td | 177 string AsmString = !strconcat(instr_asm, "\t$rt, $offset"); 266 string AsmString = !strconcat(instr_asm, "\t$offset"); 305 string AsmString = !strconcat(instr_asm, "\t$rd, $rt"); 317 string AsmString = !strconcat(instr_asm, "\t$hint, $addr"); 339 string AsmString = !strconcat(instr_asm, "\t$rt, $addr"); 358 string AsmString = !strconcat(instr_asm, "\t$rt, $rs"); 386 string AsmString = !strconcat(opstr, "\t$rt, $offset"); 429 string AsmString = !strconcat(instr_asm, "\t$rd, $rs, $rt, $bp"); 439 string AsmString = !strconcat(instr_asm, "\t$rt, $rs, $imm"); 451 string AsmString = !strconcat(instr_asm, "\t$rt, $imm"); [all …]
|
D | MipsDSPInstrInfo.td | 265 string AsmString = !strconcat(instr_asm, "\t$rd, $rs, $rt"); 276 string AsmString = !strconcat(instr_asm, "\t$rd, $rs"); 287 string AsmString = !strconcat(instr_asm, "\t$rs, $rt"); 297 string AsmString = !strconcat(instr_asm, "\t$rd, $rs, $rt"); 308 string AsmString = !strconcat(instr_asm, "\t$rt, $rs, $sa"); 320 string AsmString = !strconcat(instr_asm, "\t$rd, $rt"); 330 string AsmString = !strconcat(instr_asm, "\t$rd, $imm"); 340 string AsmString = !strconcat(instr_asm, "\t$rd, $rt, $rs_sa"); 351 string AsmString = !strconcat(instr_asm, "\t$rd, $rt, $rs_sa"); 362 string AsmString = !strconcat(instr_asm, "\t$rd, ${index}(${base})"); [all …]
|
D | MicroMipsDSPInstrInfo.td | 165 string AsmString = !strconcat(opstr, "\t$rt, $rs"); 201 string AsmString = !strconcat(instr_asm, "\t$rt, $rs, $sa"); 237 string AsmString = !strconcat(instr_asm, "\t$rd, $rt, $rs"); 269 string AsmString = !strconcat(instr_asm, "\t$rt, $ac, $rs"); 276 string AsmString = !strconcat(instr_asm, "\t$rt, $ac, $imm"); 321 string AsmString = !strconcat(instr_asm, "\t$rs, $ac"); 334 string AsmString = !strconcat("raddu.w.qb", "\t$rt, $rs"); 343 string AsmString = !strconcat("rddsp", "\t$rt, $mask"); 351 string AsmString = !strconcat("repl.qb", "\t$rt, $imm"); 366 string AsmString = !strconcat("wrdsp", "\t$rt, $mask");
|
D | MipsMSAInstrInfo.td | 1138 string AsmString = !strconcat(instr_asm, "\t$wd, $ws, $m"); 1149 string AsmString = !strconcat(instr_asm, "\t$wd, $ws, $m"); 1160 string AsmString = !strconcat(instr_asm, "\t$wd, $ws, $m"); 1171 string AsmString = !strconcat(instr_asm, "\t$wd, $ws, $m"); 1182 string AsmString = !strconcat(instr_asm, "\t$wd, $ws, $m"); 1193 string AsmString = !strconcat(instr_asm, "\t$wd, $ws, $m"); 1222 string AsmString = !strconcat(instr_asm, "\t$wd, $ws, $m"); 1233 string AsmString = !strconcat(instr_asm, "\t$rd, $ws[$n]"); 1244 string AsmString = !strconcat(instr_asm, "\t$wd, $ws[$n]"); 1264 string AsmString = !strconcat(instr_asm, "\t$wd, $ws, $imm"); [all …]
|
/external/llvm/include/llvm/IR/ |
D | InlineAsm.h | 46 std::string AsmString, Constraints; variable 52 InlineAsm(FunctionType *Ty, const std::string &AsmString, 64 static InlineAsm *get(FunctionType *Ty, StringRef AsmString, 83 const std::string &getAsmString() const { return AsmString; } in getAsmString()
|
/external/llvm/lib/IR/ |
D | ConstantsContext.h | 403 StringRef AsmString; 410 InlineAsmKeyType(StringRef AsmString, StringRef Constraints, 413 : AsmString(AsmString), Constraints(Constraints), FTy(FTy), 417 : AsmString(Asm->getAsmString()), Constraints(Asm->getConstraintString()), 424 AsmString == X.AsmString && Constraints == X.Constraints && 431 AsmString == Asm->getAsmString() && 436 return hash_combine(AsmString, Constraints, HasSideEffects, IsAlignStack, 443 return new InlineAsm(FTy, AsmString, Constraints, HasSideEffects,
|
D | InlineAsm.cpp | 27 InlineAsm *InlineAsm::get(FunctionType *FTy, StringRef AsmString, in get() argument 30 InlineAsmKeyType Key(AsmString, Constraints, FTy, hasSideEffects, in get() 40 AsmString(asmString), Constraints(constraints), FTy(FTy), in InlineAsm()
|
/external/clang/lib/Sema/ |
D | SemaStmtAsm.cpp | 150 StringLiteral *AsmString = cast<StringLiteral>(asmString); in ActOnGCCAsmStmt() local 156 assert(AsmString->isAscii()); in ActOnGCCAsmStmt() 163 Constraints, Exprs.data(), AsmString, NumClobbers, Clobbers, RParenLoc); in ActOnGCCAsmStmt() 350 AsmString, NumClobbers, Clobbers, RParenLoc); in ActOnGCCAsmStmt() 356 Diag(getLocationOfStringLiteralByte(AsmString, DiagOffs), DiagID) in ActOnGCCAsmStmt() 357 << AsmString->getSourceRange(); in ActOnGCCAsmStmt() 721 StringRef AsmString, in ActOnMSAsmStmt() argument 732 Constraints, Exprs, AsmString, in ActOnMSAsmStmt()
|
/external/llvm/lib/AsmParser/ |
D | Parser.cpp | 62 std::unique_ptr<Module> llvm::parseAssemblyString(StringRef AsmString, in parseAssemblyString() argument 66 MemoryBufferRef F(AsmString, "<string>"); in parseAssemblyString()
|
/external/llvm/include/llvm/AsmParser/ |
D | Parser.h | 54 std::unique_ptr<Module> parseAssemblyString(StringRef AsmString,
|
/external/llvm/lib/Target/BPF/ |
D | BPFInstrFormats.td | 24 let AsmString = asmstr;
|
/external/llvm/include/llvm/Target/ |
D | Target.td | 329 string AsmString = ""; // The .s format to print the instruction with. 762 let AsmString = "PHINODE"; 767 let AsmString = ""; 773 let AsmString = ""; 780 let AsmString = ""; 787 let AsmString = ""; 794 let AsmString = ""; 800 let AsmString = ""; 806 let AsmString = ""; 813 let AsmString = ""; [all …]
|