Home
last modified time | relevance | path

Searched refs:AsmString (Results 1 – 25 of 54) sorted by relevance

123

/external/llvm/utils/TableGen/
DAsmWriterInst.cpp64 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 …]
DAsmWriterEmitter.cpp294 if (!(*I)->AsmString.empty() && in EmitPrintInstruction()
652 std::string AsmString; member in __anon9176a0ff0211::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 …]
DCodeGenInstruction.h207 std::string AsmString; variable
271 static std::string FlattenAsmStringVariants(StringRef AsmString,
283 std::string AsmString; variable
DX86RecognizableInstr.h89 std::string AsmString; variable
DAsmMatcherEmitter.cpp413 std::string AsmString; member
435 AsmString(CGI.AsmString) { in MatchableInfo()
440 AsmString(Alias->AsmString) { in MatchableInfo()
679 errs() << TheDef->getName() << " -- " << "flattened:\"" << AsmString <<"\"\n"; in dump()
764 AsmString = in initialize()
765 CodeGenInstruction::FlattenAsmStringVariants(AsmString, AsmVariantNo); in initialize()
786 StringRef String = AsmString; in tokenizeAsmString()
875 if (AsmString.empty()) in validate()
880 if (AsmString.find('\n') != std::string::npos) in validate()
888 StringRef(AsmString).find(CommentDelimiter) != StringRef::npos) in validate()
DCodeGenInstruction.cpp294 AsmString = R->getValueAsString("AsmString"); in CodeGenInstruction()
518 AsmString = R->getValueAsString("AsmString"); in CodeGenInstAlias()
/external/llvm/lib/AsmParser/
DParser.cpp55 Module *llvm::ParseAssemblyString(const char *AsmString, Module *M, in ParseAssemblyString() argument
58 MemoryBuffer::getMemBuffer(StringRef(AsmString, strlen(AsmString)), in ParseAssemblyString()
/external/clang/lib/Sema/
DSemaStmtAsm.cpp86 StringLiteral *AsmString = cast<StringLiteral>(asmString); in ActOnGCCAsmStmt() local
92 if (!AsmString->isAscii()) in ActOnGCCAsmStmt()
93 return StmtError(Diag(AsmString->getLocStart(),diag::err_asm_wide_character) in ActOnGCCAsmStmt()
94 << AsmString->getSourceRange()); in ActOnGCCAsmStmt()
207 AsmString, NumClobbers, Clobbers, RParenLoc); in ActOnGCCAsmStmt()
213 Diag(getLocationOfStringLiteralByte(AsmString, DiagOffs), DiagID) in ActOnGCCAsmStmt()
214 << AsmString->getSourceRange(); in ActOnGCCAsmStmt()
474 StringRef AsmString, in ActOnMSAsmStmt() argument
484 Constraints, Exprs, AsmString, in ActOnMSAsmStmt()
/external/llvm/include/llvm/IR/
DInlineAsm.h50 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/llvm/lib/Target/Mips/
DMipsDSPInstrInfo.td263 string AsmString = !strconcat(instr_asm, "\t$rd, $rs, $rt");
273 string AsmString = !strconcat(instr_asm, "\t$rd, $rs");
283 string AsmString = !strconcat(instr_asm, "\t$rs, $rt");
293 string AsmString = !strconcat(instr_asm, "\t$rd, $rs, $rt");
303 string AsmString = !strconcat(instr_asm, "\t$rt, $rs, $sa");
314 string AsmString = !strconcat(instr_asm, "\t$rd, $rt");
323 string AsmString = !strconcat(instr_asm, "\t$rd, $imm");
332 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 …]
DMips16HardFloat.cpp22 (LLVMContext &C, StringRef AsmString, BasicBlock *BB ) { in inlineAsmOut() argument
29 llvm::InlineAsm::get(AsmFTy, AsmString, "", true, in inlineAsmOut()
45 void Out(StringRef AsmString) { in Out() argument
46 inlineAsmOut(C, AsmString, BB); in Out()
/external/llvm/lib/IR/
DInlineAsm.cpp28 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()
/external/llvm/include/llvm/Assembly/
DParser.h45 const char *AsmString, ///< The string containing assembly
/external/clang/lib/Parse/
DParseStmt.cpp1682 StringRef AsmString; member in __anon8c1e80530111::ClangAsmParserCallback
1692 StringRef AsmString, in ClangAsmParserCallback() argument
1695 : TheParser(P), AsmLoc(Loc), AsmString(AsmString), in ClangAsmParserCallback()
1758 assert(!std::less<const char*>()(Str.begin(), AsmString.begin()) && in findTokensForString()
1759 !std::less<const char*>()(AsmString.end(), Str.end())); in findTokensForString()
1762 unsigned FirstCharOffset = Str.begin() - AsmString.begin(); in findTokensForString()
1775 unsigned LastCharOffset = Str.end() - AsmString.begin(); in findTokensForString()
2083 SmallString<512> AsmString; in ParseMicrosoftAsmStatement() local
2085 if (buildMSAsmString(PP, AsmLoc, AsmToks, TokOffsets, AsmString)) in ParseMicrosoftAsmStatement()
2102 llvm::MemoryBuffer::getMemBuffer(AsmString, "<MS inline asm>"); in ParseMicrosoftAsmStatement()
[all …]
/external/llvm/lib/Target/NVPTX/
DNVPTXInstrFormats.td30 let AsmString = asmstr;
/external/llvm/include/llvm/Target/
DTarget.td323 string AsmString = ""; // The .s format to print the instruction with.
692 let AsmString = "PHINODE";
697 let AsmString = "";
703 let AsmString = "";
710 let AsmString = "";
717 let AsmString = "";
724 let AsmString = "";
730 let AsmString = "";
736 let AsmString = "";
743 let AsmString = "";
[all …]
/external/llvm/lib/Target/ARM/
DARMInstrFormats.td327 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/
DMCAsmParser.h112 virtual bool parseMSInlineAsm(void *AsmLoc, std::string &AsmString,
/external/clang/lib/AST/
DStmt.cpp588 std::string AsmString; in generateAsmString() local
591 AsmString += Pieces[i].getString(); in generateAsmString()
593 AsmString += '$' + llvm::utostr(Pieces[i].getOperandNo()); in generateAsmString()
595 AsmString += "${" + llvm::utostr(Pieces[i].getOperandNo()) + ':' + in generateAsmString()
598 return AsmString; in generateAsmString()
/external/llvm/lib/Target/R600/
DAMDILInstrInfo.td107 let AsmString = !strconcat(asmstr, "\n");
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/
DAMDGPUInstructions.td22 let AsmString = asm;
/external/mesa3d/src/gallium/drivers/radeon/
DAMDGPUInstructions.td22 let AsmString = asm;
/external/llvm/lib/Target/Sparc/
DSparcInstrFormats.td21 let AsmString = asmstr;
/external/llvm/lib/Target/X86/
DX86InstrFormats.td179 string AsmString = AsmStr;
348 let AsmString = !if(hasVEXPrefix, !strconcat("v", asm), asm);
359 let AsmString = !if(hasVEXPrefix, !strconcat("v", asm), asm);
370 let AsmString = !if(hasVEXPrefix, !strconcat("v", asm), asm);
388 let AsmString = !if(hasVEX_4VPrefix, !strconcat("v", asm), asm);
/external/clang/include/clang/AST/
DDecl.h3073 StringLiteral *AsmString; variable
3077 : Decl(FileScopeAsm, DC, StartL), AsmString(asmstring), RParenLoc(EndL) {} in FileScopeAsmDecl()
3092 const StringLiteral *getAsmString() const { return AsmString; } in getAsmString()
3093 StringLiteral *getAsmString() { return AsmString; } in getAsmString()
3094 void setAsmString(StringLiteral *Asm) { AsmString = Asm; } in setAsmString()

123