Home
last modified time | relevance | path

Searched refs:AsmStr (Results 1 – 25 of 51) sorted by relevance

123

/external/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinterInlineAsm.cpp156 static void EmitMSInlineAsmStr(const char *AsmStr, const MachineInstr *MI, in EmitMSInlineAsmStr() argument
163 const char *LastEmitted = AsmStr; // One past the last character emitted. in EmitMSInlineAsmStr()
203 Twine(AsmStr) + "'"); in EmitMSInlineAsmStr()
208 Twine(AsmStr) + "'"); in EmitMSInlineAsmStr()
244 Msg << "invalid operand in inline asm: '" << AsmStr << "'"; in EmitMSInlineAsmStr()
254 static void EmitGCCInlineAsmStr(const char *AsmStr, const MachineInstr *MI, in EmitGCCInlineAsmStr() argument
259 const char *LastEmitted = AsmStr; // One past the last character emitted. in EmitGCCInlineAsmStr()
297 Twine(AsmStr) + "'"); in EmitGCCInlineAsmStr()
332 " string: '" + Twine(AsmStr) + "'"); in EmitGCCInlineAsmStr()
347 Twine(AsmStr) + "'"); in EmitGCCInlineAsmStr()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinterInlineAsm.cpp169 static void EmitMSInlineAsmStr(const char *AsmStr, const MachineInstr *MI, in EmitMSInlineAsmStr() argument
176 const char *LastEmitted = AsmStr; // One past the last character emitted. in EmitMSInlineAsmStr()
218 " string: '" + Twine(AsmStr) + "'"); in EmitMSInlineAsmStr()
233 Twine(AsmStr) + "'"); in EmitMSInlineAsmStr()
238 Twine(AsmStr) + "'"); in EmitMSInlineAsmStr()
274 Msg << "invalid operand in inline asm: '" << AsmStr << "'"; in EmitMSInlineAsmStr()
284 static void EmitGCCInlineAsmStr(const char *AsmStr, const MachineInstr *MI, in EmitGCCInlineAsmStr() argument
289 const char *LastEmitted = AsmStr; // One past the last character emitted. in EmitGCCInlineAsmStr()
327 Twine(AsmStr) + "'"); in EmitGCCInlineAsmStr()
362 " string: '" + Twine(AsmStr) + "'"); in EmitGCCInlineAsmStr()
[all …]
/external/swiftshader/third_party/subzero/pydir/
Dgen_arm32_reg_tables.py18 def __init__(self, AsmStr=None, CCArg=0, IsScratch=0, IsPreserved=0, argument
36 AsmStr = '"%s"' % AsmStr
61 def __init__(self, Name, Encode, AsmStr=None, **Features): argument
64 if not AsmStr:
65 AsmStr = '%s' % Name
66 self.Features = RegFeatures(AsmStr=AsmStr, **Features)
101 Reg( 'r0r1', 0, AsmStr= 'r0, r1', IsScratch=1, CCArg=1, IsI64Pair=1, Aliases= 'r0r1, r0, r1'),
102 Reg( 'r2r3', 2, AsmStr= 'r2, r3', IsScratch=1, CCArg=2, IsI64Pair=1, Aliases= 'r2r3, r2, r3'),
103 Reg( 'r4r5', 4, AsmStr= 'r4, r5', IsPreserved=1, IsI64Pair=1, Aliases= 'r4r5, r4, r5'),
104 Reg( 'r6r7', 6, AsmStr= 'r6, r7', IsPreserved=1, IsI64Pair=1, Aliases= 'r6r7, r6, r7'),
[all …]
/external/swiftshader/third_party/LLVM/lib/CodeGen/AsmPrinter/
DAsmPrinterInlineAsm.cpp155 const char *AsmStr = MI->getOperand(NumDefs).getSymbolName(); in EmitInlineAsm() local
159 if (AsmStr[0] == 0) { in EmitInlineAsm()
202 const char *LastEmitted = AsmStr; // One past the last character emitted. in EmitInlineAsm()
237 Twine(AsmStr) + "'"); in EmitInlineAsm()
272 " string: '" + Twine(AsmStr) + "'"); in EmitInlineAsm()
287 Twine(AsmStr) + "'"); in EmitInlineAsm()
299 Twine(AsmStr) + "'"); in EmitInlineAsm()
307 Twine(AsmStr) + "'"); in EmitInlineAsm()
313 Twine(AsmStr) + "'"); in EmitInlineAsm()
353 Msg << "invalid operand in inline asm: '" << AsmStr << "'"; in EmitInlineAsm()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Lanai/
DLanaiInstrInfo.td273 multiclass ALUbase<bits<3> subOp, string AsmStr, SDNode OpNode,
279 !strconcat(AsmStr, "\t$Rs1, $imm16, $Rd"),
283 !strconcat(AsmStr, "\t$Rs1, $imm16, $Rd"),
288 multiclass ALUarith<bits<3> subOp, string AsmStr, SDNode OpNode,
290 defm I_ : ALUbase<subOp, AsmStr, OpNode, LoExt, HiExt, [], []>;
295 !strconcat(AsmStr, "$DDDI\t$Rs1, $Rs2, $Rd"),
299 multiclass ALUlogic<bits<3> subOp, string AsmStr, SDNode OpNode,
301 defm I_ : ALUbase<subOp, AsmStr, OpNode, LoExt, HiExt,
308 !strconcat(AsmStr, "$DDDI\t$Rs1, $Rs2, $Rd"),
421 class ShiftRI<string AsmStr, list<dag> Pattern>
[all …]
/external/llvm/lib/Target/Lanai/
DLanaiInstrInfo.td275 multiclass ALUbase<bits<3> subOp, string AsmStr, SDNode OpNode,
281 !strconcat(AsmStr, "\t$Rs1, $imm16, $Rd"),
285 !strconcat(AsmStr, "\t$Rs1, $imm16, $Rd"),
290 multiclass ALUarith<bits<3> subOp, string AsmStr, SDNode OpNode,
292 defm I_ : ALUbase<subOp, AsmStr, OpNode, LoExt, HiExt, [], []>;
297 !strconcat(AsmStr, "$DDDI\t$Rs1, $Rs2, $Rd"),
301 multiclass ALUlogic<bits<3> subOp, string AsmStr, SDNode OpNode,
303 defm I_ : ALUbase<subOp, AsmStr, OpNode, LoExt, HiExt,
310 !strconcat(AsmStr, "$DDDI\t$Rs1, $Rs2, $Rd"),
423 class ShiftRI<string AsmStr, list<dag> Pattern>
[all …]
/external/swiftshader/third_party/subzero/src/
DIceRegistersARM32.def7 //define X(Tag, Encoding, AsmStr, CCArg, IsScratch, IsPreserved, IsStackPtr, IsFramePtr, IsGPR, IsI…
26 //define X(Tag, Encoding, AsmStr, CCArg, IsScratch, IsPreserved, IsStackPtr, IsFramePtr, IsGPR, IsI…
35 //define X(Tag, Encoding, AsmStr, CCArg, IsScratch, IsPreserved, IsStackPtr, IsFramePtr, IsGPR, IsI…
70 //define X(Tag, Encoding, AsmStr, CCArg, IsScratch, IsPreserved, IsStackPtr, IsFramePtr, IsGPR, IsI…
105 //define X(Tag, Encoding, AsmStr, CCArg, IsScratch, IsPreserved, IsStackPtr, IsFramePtr, IsGPR, IsI…
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DAutoUpgrade.h42 void UpgradeInlineAsmString(std::string *AsmStr);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARC/
DARCInstrInfo.cpp394 const char *AsmStr = MI.getOperand(0).getSymbolName(); in getInstSizeInBytes() local
395 return getInlineAsmLength(AsmStr, *MF->getTarget().getMCAsmInfo()); in getInstSizeInBytes()
/external/llvm/lib/Target/Mips/
DMipsInstrInfo.cpp386 const char *AsmStr = MI.getOperand(0).getSymbolName(); in GetInstSizeInBytes() local
387 return getInlineAsmLength(AsmStr, *MF->getTarget().getMCAsmInfo()); in GetInstSizeInBytes()
/external/clang/include/clang/AST/
DStmt.h1567 StringLiteral *AsmStr; variable
1592 const StringLiteral *getAsmString() const { return AsmStr; } in getAsmString()
1593 StringLiteral *getAsmString() { return AsmStr; } in getAsmString()
1594 void setAsmString(StringLiteral *E) { AsmStr = E; } in setAsmString()
1746 StringRef AsmStr; variable
1779 StringRef getAsmString() const { return AsmStr; } in getAsmString()
/external/clang/lib/AST/
DStmt.cpp673 return AsmStr; in generateAsmString()
698 numinputs, numclobbers), RParenLoc(rparenloc), AsmStr(asmstr) { in GCCAsmStmt()
744 AsmStr = copyIntoContext(C, asmstr); in initialize()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/
DMipsInstrInfo.cpp581 const char *AsmStr = MI.getOperand(0).getSymbolName(); in getInstSizeInBytes() local
582 return getInlineAsmLength(AsmStr, *MF->getTarget().getMCAsmInfo()); in getInstSizeInBytes()
/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/
DPPCInstrInfo.cpp644 const char *AsmStr = MI->getOperand(0).getSymbolName(); in GetInstSizeInBytes() local
645 return getInlineAsmLength(AsmStr, *MF->getTarget().getMCAsmInfo()); in GetInstSizeInBytes()
/external/llvm/lib/Target/AMDGPU/
DSILowerControlFlow.cpp183 const char *AsmStr = I->getOperand(0).getSymbolName(); in shouldSkip() local
187 uint64_t MaxAsmSize = TII->getInlineAsmLength(AsmStr, *MAI); in shouldSkip()
/external/swiftshader/third_party/LLVM/lib/Bitcode/Writer/
DBitcodeWriter.cpp773 const std::string &AsmStr = IA->getAsmString(); in WriteConstants() local
774 Record.push_back(AsmStr.size()); in WriteConstants()
775 for (unsigned i = 0, e = AsmStr.size(); i != e; ++i) in WriteConstants()
776 Record.push_back(AsmStr[i]); in WriteConstants()
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DInstrEmitter.cpp843 const char *AsmStr = cast<ExternalSymbolSDNode>(AsmStrV)->getSymbol(); in EmitSpecialNode() local
844 MI->addOperand(MachineOperand::CreateES(AsmStr)); in EmitSpecialNode()
/external/llvm/lib/CodeGen/SelectionDAG/
DInstrEmitter.cpp947 const char *AsmStr = cast<ExternalSymbolSDNode>(AsmStrV)->getSymbol(); in EmitSpecialNode() local
948 MIB.addExternalSymbol(AsmStr); in EmitSpecialNode()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DInstrEmitter.cpp1031 const char *AsmStr = cast<ExternalSymbolSDNode>(AsmStrV)->getSymbol(); in EmitSpecialNode() local
1032 MIB.addExternalSymbol(AsmStr); in EmitSpecialNode()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp2512 std::string AsmStr, ConstrStr; in parseConstants() local
2523 AsmStr += (char)Record[2+i]; in parseConstants()
2527 UpgradeInlineAsmString(&AsmStr); in parseConstants()
2529 AsmStr, ConstrStr, HasSideEffects, IsAlignStack); in parseConstants()
2537 std::string AsmStr, ConstrStr; in parseConstants() local
2549 AsmStr += (char)Record[2+i]; in parseConstants()
2553 UpgradeInlineAsmString(&AsmStr); in parseConstants()
2555 AsmStr, ConstrStr, HasSideEffects, IsAlignStack, in parseConstants()
/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86InstrFormats.td120 string AsmStr, Domain d = GenericDomain>
131 string AsmString = AsmStr;
/external/llvm/lib/Target/SystemZ/
DSystemZInstrInfo.cpp1200 const char *AsmStr = MI.getOperand(0).getSymbolName(); in getInstSizeInBytes() local
1201 return getInlineAsmLength(AsmStr, *MF->getTarget().getMCAsmInfo()); in getInstSizeInBytes()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DAutoUpgrade.cpp1387 void llvm::UpgradeInlineAsmString(std::string *AsmStr) { in UpgradeInlineAsmString() argument
1389 if (AsmStr->find("mov\tfp") == 0 && in UpgradeInlineAsmString()
1390 AsmStr->find("objc_retainAutoreleaseReturnValue") != std::string::npos && in UpgradeInlineAsmString()
1391 (Pos = AsmStr->find("# marker")) != std::string::npos) { in UpgradeInlineAsmString()
1392 AsmStr->replace(Pos, 1, ";"); in UpgradeInlineAsmString()
/external/swiftshader/third_party/LLVM/lib/Bitcode/Reader/
DBitcodeReader.cpp1467 std::string AsmStr, ConstrStr; in ParseConstants() local
1478 AsmStr += (char)Record[2+i]; in ParseConstants()
1483 AsmStr, ConstrStr, HasSideEffects, IsAlignStack); in ParseConstants()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/NVPTX/
DNVPTXIntrinsics.td1511 class ATOM23_impl<string AsmStr, NVPTXRegClass regclass, list<Predicate> Preds,
1514 AsmStr,
1519 multiclass ATOM2P_impl<string AsmStr, Intrinsic Intr,
1524 def : ATOM23_impl<AsmStr, regclass, Preds,
1527 def : ATOM23_impl<AsmStr, regclass, Preds,
1534 def : ATOM23_impl<AsmStr, regclass, Preds,
1537 def : ATOM23_impl<AsmStr, regclass, Preds,
1542 multiclass ATOM3P_impl<string AsmStr, Intrinsic Intr,
1548 def : ATOM23_impl<AsmStr, regclass, Preds,
1551 def : ATOM23_impl<AsmStr, regclass, Preds,
[all …]

123