/external/llvm/lib/AsmParser/ |
H A D | Parser.cpp | 62 std::unique_ptr<Module> llvm::parseAssemblyString(StringRef AsmString, argument 66 MemoryBufferRef F(AsmString, "<string>");
|
/external/llvm/utils/TableGen/ |
H A D | AsmWriterInst.cpp | 50 /// ParseAsmString - Parse the specified Instruction's AsmString into this 60 std::string AsmString = CGI.FlattenAsmStringVariants(CGI.AsmString, Variant); local 62 while (LastEmitted != AsmString.size()) { 64 AsmString.find_first_of("$\\", LastEmitted); 65 if (DollarPos == std::string::npos) DollarPos = AsmString.size(); 70 switch (AsmString[LastEmitted]) { 84 AddLiteralString(std::string(1, AsmString[LastEmitted])); 87 } else if (AsmString[DollarPos] == '\\') { 88 if (DollarPos+1 != AsmString [all...] |
H A D | X86RecognizableInstr.h | 90 /// The AT&T AsmString for the instruction 91 std::string AsmString; member in class:llvm::X86Disassembler::RecognizableInstr
|
H A D | CodeGenInstruction.h | 212 /// AsmString - The format string used to emit a .s file for the 214 std::string AsmString; member in class:llvm::CodeGenInstruction 282 /// FlattenAsmStringVariants - Flatten the specified AsmString to only 284 static std::string FlattenAsmStringVariants(StringRef AsmString, 294 /// AsmString - The format string used to emit a .s file for the 296 std::string AsmString; member in class:llvm::CodeGenInstAlias
|
H A D | AsmWriterEmitter.cpp | 643 std::string AsmString; member in class:__anon13269::IAPrinter 645 IAPrinter(std::string R, std::string AS) : Result(R), AsmString(AS) {} 709 StringRef ASM(AsmString); 734 O.indent(6) << "AsmString = \"" << OutString << "\";\n"; 755 static unsigned CountNumOperands(StringRef AsmString, unsigned Variant) { argument 757 CodeGenInstruction::FlattenAsmStringVariants(AsmString, Variant); 758 AsmString = FlatAsmString; 760 return AsmString.count(' ') + AsmString.count('\t'); 828 CountNumOperands(CGA.ResultInst->AsmString, Varian [all...] |
H A D | AsmMatcherEmitter.cpp | 411 /// AsmString - The assembly string for this instruction (with variants 413 std::string AsmString; member in struct:__anon13265::MatchableInfo 438 /// This directly corresponds to the tokenized AsmString after the mnemonic is 459 : AsmVariantID(0), AsmString(CGI.AsmString), TheDef(CGI.TheDef), DefRec(&CGI), 464 : AsmVariantID(0), AsmString(Alias->AsmString), TheDef(Alias->TheDef), 474 : AsmVariantID(RHS.AsmVariantID), AsmString(RHS.AsmString), 726 errs() << TheDef->getName() << " -- " << "flattened:\"" << AsmString <<"\"\ [all...] |
/external/clang/lib/CodeGen/ |
H A D | TargetInfo.h | 138 std::vector<CodeGen::LValue> &ResultRegDests, std::string &AsmString, 134 addReturnRegisterOutputs( CodeGen::CodeGenFunction &CGF, CodeGen::LValue ReturnValue, std::string &Constraints, std::vector<llvm::Type *> &ResultRegTypes, std::vector<llvm::Type *> &ResultTruncRegTypes, std::vector<CodeGen::LValue> &ResultRegDests, std::string &AsmString, unsigned NumOutputs) const argument
|
H A D | CGStmt.cpp | 1740 std::string AsmString = S.generateAsmString(getContext()); local 1887 ResultRegDests, AsmString, S.getNumOutputs()); 2000 llvm::InlineAsm::get(FTy, AsmString, Constraints, HasSideEffect, 2010 if (AsmString.find("__MSASMLABEL_") != std::string::npos)
|
H A D | TargetInfo.cpp | 931 std::string &AsmString, 956 std::string &AsmString) { 960 while (Pos < AsmString.size()) { 961 size_t DollarStart = AsmString.find('$', Pos); 963 DollarStart = AsmString.size(); 964 size_t DollarEnd = AsmString.find_first_not_of('$', DollarStart); 966 DollarEnd = AsmString.size(); 967 OS << StringRef(&AsmString[Pos], DollarEnd - Pos); 970 if (NumDollars % 2 != 0 && Pos < AsmString.size()) { 973 size_t DigitEnd = AsmString 954 rewriteInputConstraintReferences(unsigned FirstIn, unsigned NumNewOuts, std::string &AsmString) argument 992 addReturnRegisterOutputs( CodeGenFunction &CGF, LValue ReturnSlot, std::string &Constraints, std::vector<llvm::Type *> &ResultRegTypes, std::vector<llvm::Type *> &ResultTruncRegTypes, std::vector<LValue> &ResultRegDests, std::string &AsmString, unsigned NumOutputs) const argument [all...] |
/external/llvm/lib/IR/ |
H A D | InlineAsm.cpp | 27 InlineAsm *InlineAsm::get(FunctionType *FTy, StringRef AsmString, argument 30 InlineAsmKeyType Key(AsmString, Constraints, FTy, hasSideEffects, 40 AsmString(asmString), Constraints(constraints), FTy(FTy),
|
H A D | ConstantsContext.h | 403 StringRef AsmString; member in struct:llvm::InlineAsmKeyType 410 InlineAsmKeyType(StringRef AsmString, StringRef Constraints, argument 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, Constraint [all...] |
H A D | Core.cpp | 1330 LLVMValueRef LLVMConstInlineAsm(LLVMTypeRef Ty, const char *AsmString, argument 1334 return wrap(InlineAsm::get(dyn_cast<FunctionType>(unwrap(Ty)), AsmString,
|
/external/clang/lib/Parse/ |
H A D | ParseStmtAsm.cpp | 40 StringRef AsmString; member in class:__anon1437::ClangAsmParserCallback 42 /// The tokens we streamed into AsmString and handed off to MC. 45 /// The offset of each token in AsmToks within AsmString. 49 ClangAsmParserCallback(Parser &P, SourceLocation Loc, StringRef AsmString, argument 51 : TheParser(P), AsmLoc(Loc), AsmString(AsmString), AsmToks(Toks), 121 assert(!std::less<const char *>()(Str.begin(), AsmString.begin()) && 122 !std::less<const char *>()(AsmString.end(), Str.end())); 125 unsigned FirstCharOffset = Str.begin() - AsmString.begin(); 137 unsigned LastCharOffset = Str.end() - AsmString [all...] |
/external/clang/lib/Sema/ |
H A D | SemaStmtAsm.cpp | 150 StringLiteral *AsmString = cast<StringLiteral>(asmString); local 156 assert(AsmString->isAscii()); 163 Constraints, Exprs.data(), AsmString, NumClobbers, Clobbers, RParenLoc); 350 AsmString, NumClobbers, Clobbers, RParenLoc); 356 Diag(getLocationOfStringLiteralByte(AsmString, DiagOffs), DiagID) 357 << AsmString->getSourceRange(); 721 StringRef AsmString, 732 Constraints, Exprs, AsmString,
|
H A D | SemaDecl.cpp | 14557 StringLiteral *AsmString = cast<StringLiteral>(expr); local 14560 AsmString, StartLoc,
|
H A D | TreeTransform.h | 1266 Expr *AsmString, MultiExprArg Clobbers, 1270 AsmString, Clobbers, RParenLoc); 1279 StringRef AsmString, 1285 return getSema().ActOnMSAsmStmt(AsmLoc, LBraceLoc, AsmToks, AsmString, 6421 ExprResult AsmString; local 6470 AsmString = S->getAsmString(); 6474 Constraints, Exprs, AsmString.get(), 1262 RebuildGCCAsmStmt(SourceLocation AsmLoc, bool IsSimple, bool IsVolatile, unsigned NumOutputs, unsigned NumInputs, IdentifierInfo **Names, MultiExprArg Constraints, MultiExprArg Exprs, Expr *AsmString, MultiExprArg Clobbers, SourceLocation RParenLoc) argument 1277 RebuildMSAsmStmt(SourceLocation AsmLoc, SourceLocation LBraceLoc, ArrayRef<Token> AsmToks, StringRef AsmString, unsigned NumOutputs, unsigned NumInputs, ArrayRef<StringRef> Constraints, ArrayRef<StringRef> Clobbers, ArrayRef<Expr*> Exprs, SourceLocation EndLoc) argument
|
/external/llvm/include/llvm/IR/ |
H A D | InlineAsm.h | 46 std::string AsmString, Constraints; member in class:llvm::InlineAsm 52 InlineAsm(FunctionType *Ty, const std::string &AsmString, 64 static InlineAsm *get(FunctionType *Ty, StringRef AsmString, 83 const std::string &getAsmString() const { return AsmString; }
|
/external/clang/lib/AST/ |
H A D | Stmt.cpp | 650 std::string AsmString; local 653 AsmString += Pieces[i].getString(); 655 AsmString += '$' + llvm::utostr(Pieces[i].getOperandNo()); 657 AsmString += "${" + llvm::utostr(Pieces[i].getOperandNo()) + ':' + 660 return AsmString;
|
/external/llvm/lib/MC/MCParser/ |
H A D | AsmParser.cpp | 226 bool parseMSInlineAsm(void *AsmLoc, std::string &AsmString, 4680 void *AsmLoc, std::string &AsmString, unsigned &NumOutputs, 4888 AsmString = OS.str(); 4679 parseMSInlineAsm( void *AsmLoc, std::string &AsmString, unsigned &NumOutputs, unsigned &NumInputs, SmallVectorImpl<std::pair<void *, bool> > &OpDecls, SmallVectorImpl<std::string> &Constraints, SmallVectorImpl<std::string> &Clobbers, const MCInstrInfo *MII, const MCInstPrinter *IP, MCAsmParserSemaCallback &SI) argument
|