/external/llvm/utils/TableGen/ |
D | AsmWriterInst.cpp | 64 std::string AsmString = CGI.FlattenAsmStringVariants(CGI.AsmString, Variant); in AsmWriterInst() local 66 while (LastEmitted != AsmString.size()) { in AsmWriterInst() 68 AsmString.find_first_of("$\\", LastEmitted); in AsmWriterInst() 69 if (DollarPos == std::string::npos) DollarPos = AsmString.size(); in AsmWriterInst() 74 switch (AsmString[LastEmitted]) { in AsmWriterInst() 101 AddLiteralString(std::string(1, AsmString[LastEmitted])); in AsmWriterInst() 104 } else if (AsmString[DollarPos] == '\\') { in AsmWriterInst() 105 if (DollarPos+1 != AsmString.size()) { in AsmWriterInst() 106 if (AsmString[DollarPos+1] == 'n') { in AsmWriterInst() 108 } else if (AsmString[DollarPos+1] == 't') { in AsmWriterInst() [all …]
|
D | AsmWriterEmitter.cpp | 294 if (!(*I)->AsmString.empty() && in EmitPrintInstruction() 652 std::string AsmString; member in __anond20ebb1b0211::IAPrinter 656 : Result(R), AsmString(AS) {} in IAPrinter() 684 O.indent(6) << "AsmString = \"" << AsmString << "\";\n"; in print() 737 static unsigned CountNumOperands(StringRef AsmString) { in CountNumOperands() argument 739 std::pair<StringRef, StringRef> ASM = AsmString.split(' '); in CountNumOperands() 749 static unsigned CountResultNumOperands(StringRef AsmString) { in CountResultNumOperands() argument 751 std::pair<StringRef, StringRef> ASM = AsmString.split('\t'); in CountResultNumOperands() 812 CountResultNumOperands(CGA->ResultInst->AsmString); in EmitPrintAliasInstruction() 815 if (NumResultOps < CountNumOperands(CGA->AsmString)) in EmitPrintAliasInstruction() [all …]
|
D | CodeGenInstruction.h | 207 std::string AsmString; variable 271 static std::string FlattenAsmStringVariants(StringRef AsmString, 283 std::string AsmString; variable
|
D | X86RecognizableInstr.h | 81 std::string AsmString; variable
|
D | AsmMatcherEmitter.cpp | 412 std::string AsmString; member 434 AsmString(CGI.AsmString) { in MatchableInfo() 439 AsmString(Alias->AsmString) { in MatchableInfo() 678 errs() << TheDef->getName() << " -- " << "flattened:\"" << AsmString <<"\"\n"; in dump() 763 AsmString = in initialize() 764 CodeGenInstruction::FlattenAsmStringVariants(AsmString, AsmVariantNo); in initialize() 785 StringRef String = AsmString; in tokenizeAsmString() 872 if (AsmString.empty()) in validate() 877 if (AsmString.find('\n') != std::string::npos) in validate() 885 StringRef(AsmString).find(CommentDelimiter) != StringRef::npos) in validate()
|
D | CodeGenInstruction.cpp | 294 AsmString = R->getValueAsString("AsmString"); in CodeGenInstruction() 518 AsmString = R->getValueAsString("AsmString"); in CodeGenInstAlias()
|
/external/llvm/lib/AsmParser/ |
D | Parser.cpp | 55 Module *llvm::ParseAssemblyString(const char *AsmString, Module *M, in ParseAssemblyString() argument 58 MemoryBuffer::getMemBuffer(StringRef(AsmString, strlen(AsmString)), in ParseAssemblyString()
|
/external/llvm/include/llvm/IR/ |
D | InlineAsm.h | 50 std::string AsmString, Constraints; 55 InlineAsm(PointerType *Ty, const std::string &AsmString, 67 static InlineAsm *get(FunctionType *Ty, StringRef AsmString, 86 const std::string &getAsmString() const { return AsmString; }
|
/external/clang/lib/Sema/ |
D | SemaStmtAsm.cpp | 99 StringLiteral *AsmString = cast<StringLiteral>(asmString); in ActOnGCCAsmStmt() local 105 if (!AsmString->isAscii()) in ActOnGCCAsmStmt() 106 return StmtError(Diag(AsmString->getLocStart(),diag::err_asm_wide_character) in ActOnGCCAsmStmt() 107 << AsmString->getSourceRange()); in ActOnGCCAsmStmt() 211 NumInputs, Names, Constraints, Exprs, AsmString, in ActOnGCCAsmStmt() 218 Diag(getLocationOfStringLiteralByte(AsmString, DiagOffs), DiagID) in ActOnGCCAsmStmt() 219 << AsmString->getSourceRange(); in ActOnGCCAsmStmt() 392 std::string &AsmString) { in buildMSAsmString() argument 421 AsmString = Asm.str(); in buildMSAsmString() 601 std::string AsmString; in ActOnMSAsmStmt() local [all …]
|
/external/llvm/lib/Target/Mips/ |
D | MipsDSPInstrInfo.td | 255 string AsmString = !strconcat(instr_asm, "\t$rd, $rs, $rt"); 266 string AsmString = !strconcat(instr_asm, "\t$rd, $rs"); 277 string AsmString = !strconcat(instr_asm, "\t$rs, $rt"); 288 string AsmString = !strconcat(instr_asm, "\t$rd, $rs, $rt"); 299 string AsmString = !strconcat(instr_asm, "\t$rt, $rs, $sa"); 311 string AsmString = !strconcat(instr_asm, "\t$rd, $rt"); 321 string AsmString = !strconcat(instr_asm, "\t$rd, $imm"); 331 string AsmString = !strconcat(instr_asm, "\t$rd, $rt, $rs_sa"); 342 string AsmString = !strconcat(instr_asm, "\t$rd, $rt, $rs_sa"); 352 string AsmString = !strconcat(instr_asm, "\t$rd, ${index}(${base})"); [all …]
|
/external/llvm/lib/IR/ |
D | InlineAsm.cpp | 28 InlineAsm *InlineAsm::get(FunctionType *Ty, StringRef AsmString, in get() argument 31 InlineAsmKeyType Key(AsmString, Constraints, hasSideEffects, isAlignStack, in get() 41 AsmString(asmString), Constraints(constraints), in InlineAsm()
|
D | ConstantsContext.h | 353 InlineAsmKeyType(StringRef AsmString, 356 : asm_string(AsmString), constraints(Constraints),
|
/external/llvm/include/llvm/Assembly/ |
D | Parser.h | 45 const char *AsmString, ///< The string containing assembly
|
/external/llvm/include/llvm/Target/ |
D | Target.td | 303 string AsmString = ""; // The .s format to print the instruction with. 667 let AsmString = "PHINODE"; 672 let AsmString = ""; 678 let AsmString = ""; 685 let AsmString = ""; 692 let AsmString = ""; 699 let AsmString = ""; 705 let AsmString = ""; 711 let AsmString = ""; 718 let AsmString = ""; [all …]
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXInstrFormats.td | 30 let AsmString = asmstr;
|
/external/llvm/lib/Target/ARM/ |
D | ARMInstrFormats.td | 327 let AsmString = asm; 405 let AsmString = !strconcat(opc, "${p}", asm); 418 let AsmString = !strconcat(opc, asm); 439 let AsmString = !strconcat(opc, "${s}${p}", asm); 451 let AsmString = asm; 930 let AsmString = asm; 967 let AsmString = asm; 992 let AsmString = !strconcat(opc, "${s}${p}", asm); 1016 let AsmString = !strconcat(opc, "${p}", asm); 1115 let AsmString = !strconcat(opc, "${p}", asm); [all …]
|
/external/llvm/include/llvm/MC/MCParser/ |
D | MCAsmParser.h | 96 virtual bool parseMSInlineAsm(void *AsmLoc, std::string &AsmString,
|
/external/clang/lib/AST/ |
D | Stmt.cpp | 609 std::string AsmString; in generateAsmString() local 612 AsmString += Pieces[i].getString(); in generateAsmString() 614 AsmString += '$' + llvm::utostr(Pieces[i].getOperandNo()); in generateAsmString() 616 AsmString += "${" + llvm::utostr(Pieces[i].getOperandNo()) + ':' + in generateAsmString() 619 return AsmString; in generateAsmString()
|
/external/llvm/lib/Target/Sparc/ |
D | SparcInstrFormats.td | 20 let AsmString = asmstr;
|
/external/llvm/lib/Target/X86/ |
D | X86InstrFormats.td | 149 string AsmString = AsmStr; 301 let AsmString = !if(hasVEXPrefix, !strconcat("v", asm), asm); 312 let AsmString = !if(hasVEXPrefix, !strconcat("v", asm), asm); 323 let AsmString = !if(hasVEXPrefix, !strconcat("v", asm), asm); 341 let AsmString = !if(hasVEX_4VPrefix, !strconcat("v", asm), asm);
|
/external/clang/lib/Parse/ |
D | ParseStmt.cpp | 1819 ExprResult AsmString(ParseAsmStringLiteral()); in ParseAsmStatement() local 1820 if (AsmString.isInvalid()) { in ParseAsmStatement() 1836 Constraints, Exprs, AsmString.take(), in ParseAsmStatement() 1900 AsmString.take(), Clobbers, in ParseAsmStatement()
|
/external/clang/include/clang/AST/ |
D | Decl.h | 3005 StringLiteral *AsmString; variable 3009 : Decl(FileScopeAsm, DC, StartL), AsmString(asmstring), RParenLoc(EndL) {} in FileScopeAsmDecl() 3024 const StringLiteral *getAsmString() const { return AsmString; } in getAsmString() 3025 StringLiteral *getAsmString() { return AsmString; } in getAsmString() 3026 void setAsmString(StringLiteral *Asm) { AsmString = Asm; } in setAsmString()
|
/external/llvm/lib/Target/R600/ |
D | AMDILInstrInfo.td | 164 let AsmString = !strconcat(asmstr, "\n");
|
D | AMDGPUInstructions.td | 22 let AsmString = asm;
|
/external/llvm/lib/Target/MBlaze/ |
D | MBlazeInstrFormats.td | 73 let AsmString = asmstr;
|