Home
last modified time | relevance | path

Searched refs:InlineAsm (Results 1 – 25 of 297) sorted by relevance

12345678910>>...12

/external/swiftshader/third_party/LLVM/lib/VMCore/
DInlineAsm.cpp24 InlineAsm::~InlineAsm() { in ~InlineAsm()
28 InlineAsm *InlineAsm::get(FunctionType *Ty, StringRef AsmString, in get()
36 InlineAsm::InlineAsm(PointerType *Ty, const std::string &asmString, in InlineAsm() function in InlineAsm
49 void InlineAsm::destroyConstant() { in destroyConstant()
54 FunctionType *InlineAsm::getFunctionType() const { in getFunctionType()
59 InlineAsm::ConstraintInfo::ConstraintInfo() : in ConstraintInfo()
67 InlineAsm::ConstraintInfo::ConstraintInfo(const ConstraintInfo &other) : in ConstraintInfo()
79 bool InlineAsm::ConstraintInfo::Parse(StringRef Str, in Parse()
80 InlineAsm::ConstraintInfoVector &ConstraintsSoFar) { in Parse()
168 InlineAsm::SubConstraintInfo &scInfo = in Parse()
[all …]
/external/llvm/lib/IR/
DInlineAsm.cpp24 InlineAsm::~InlineAsm() { in ~InlineAsm()
27 InlineAsm *InlineAsm::get(FunctionType *FTy, StringRef AsmString, in get()
36 InlineAsm::InlineAsm(FunctionType *FTy, const std::string &asmString, in InlineAsm() function in InlineAsm
49 void InlineAsm::destroyConstant() { in destroyConstant()
54 FunctionType *InlineAsm::getFunctionType() const { in getFunctionType()
59 InlineAsm::ConstraintInfo::ConstraintInfo() : in ConstraintInfo()
69 bool InlineAsm::ConstraintInfo::Parse(StringRef Str, in Parse()
70 InlineAsm::ConstraintInfoVector &ConstraintsSoFar) { in Parse()
165 InlineAsm::SubConstraintInfo &scInfo = in Parse()
200 void InlineAsm::ConstraintInfo::selectAlternative(unsigned index) { in selectAlternative()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DInlineAsm.cpp31 InlineAsm::InlineAsm(FunctionType *FTy, const std::string &asmString, in InlineAsm() function in InlineAsm
43 InlineAsm *InlineAsm::get(FunctionType *FTy, StringRef AsmString, in get()
52 void InlineAsm::destroyConstant() { in destroyConstant()
57 FunctionType *InlineAsm::getFunctionType() const { in getFunctionType()
64 bool InlineAsm::ConstraintInfo::Parse(StringRef Str, in Parse()
65 InlineAsm::ConstraintInfoVector &ConstraintsSoFar) { in Parse()
160 InlineAsm::SubConstraintInfo &scInfo = in Parse()
197 void InlineAsm::ConstraintInfo::selectAlternative(unsigned index) { in selectAlternative()
200 InlineAsm::SubConstraintInfo &scInfo = in selectAlternative()
207 InlineAsm::ConstraintInfoVector
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/
Dinline-asm-fpstack.ll8 ; CHECK-NEXT: ## InlineAsm Start
10 ; CHECK-NEXT: ## InlineAsm End
19 ; CHECK-NEXT: ## InlineAsm Start
21 ; CHECK-NEXT: ## InlineAsm End
33 ; CHECK-NEXT: ## InlineAsm Start
35 ; CHECK-NEXT: ## InlineAsm End
45 ; CHECK-NEXT: ## InlineAsm Start
47 ; CHECK-NEXT: ## InlineAsm End
60 ; CHECK-NEXT: ## InlineAsm Start
62 ; CHECK-NEXT: ## InlineAsm End
[all …]
D2009-11-17-UpdateTerminator.ll8 %"struct.llvm::InlineAsm::ConstraintInfo" = type { i32, i8, i8, i8, i8, %"struct.std::vector<std::b…
9InlineAsm::ConstraintInfo,std::allocator<llvm::InlineAsm::ConstraintInfo> >" = type { %"struct.std…
10InlineAsm::ConstraintInfo,std::allocator<llvm::InlineAsm::ConstraintInfo> >::_Vector_impl" = type …
15InlineAsm::ConstraintInfo,std::allocator<llvm::InlineAsm::ConstraintInfo> >" = type { %"struct.std…
18InlineAsm::ConstraintInfo"* nocapture %this, i64 %Str.0, i64 %Str.1, %"struct.std::vector<llvm::In…
Dms-inline-asm.ll8 ; CHECK: {{## InlineAsm Start|#APP}}
13 ; CHECK: {{## InlineAsm End|#NO_APP}}
21 ; CHECK: {{## InlineAsm Start|#APP}}
25 ; CHECK: {{## InlineAsm End|#NO_APP}}
35 ; CHECK: {{## InlineAsm Start|#APP}}
39 ; CHECK: {{## InlineAsm End|#NO_APP}}
56 ; CHECK: {{## InlineAsm Start|#APP}}
62 ; CHECK: {{## InlineAsm End|#NO_APP}}
76 ; CHECK: {{## InlineAsm Start|#APP}}
80 ; CHECK: {{## InlineAsm End|#NO_APP}}
[all …]
D2008-09-17-inline-asm-1.ll6 ; CHECK: InlineAsm Start
9 ; CHECK: InlineAsm End
11 ; CHECK: InlineAsm Start
14 ; CHECK: InlineAsm End
/external/swiftshader/third_party/LLVM/test/CodeGen/X86/
D2009-11-17-UpdateTerminator.ll8 %"struct.llvm::InlineAsm::ConstraintInfo" = type { i32, i8, i8, i8, i8, %"struct.std::vector<std::b…
9InlineAsm::ConstraintInfo,std::allocator<llvm::InlineAsm::ConstraintInfo> >" = type { %"struct.std…
10InlineAsm::ConstraintInfo,std::allocator<llvm::InlineAsm::ConstraintInfo> >::_Vector_impl" = type …
15InlineAsm::ConstraintInfo,std::allocator<llvm::InlineAsm::ConstraintInfo> >" = type { %"struct.std…
18InlineAsm::ConstraintInfo"* nocapture %this, i64 %Str.0, i64 %Str.1, %"struct.std::vector<llvm::In…
D2008-09-17-inline-asm-1.ll6 ; CHECK: InlineAsm Start
9 ; CHECK: InlineAsm End
11 ; CHECK: InlineAsm Start
14 ; CHECK: InlineAsm End
/external/llvm/test/CodeGen/X86/
D2009-11-17-UpdateTerminator.ll8 %"struct.llvm::InlineAsm::ConstraintInfo" = type { i32, i8, i8, i8, i8, %"struct.std::vector<std::b…
9InlineAsm::ConstraintInfo,std::allocator<llvm::InlineAsm::ConstraintInfo> >" = type { %"struct.std…
10InlineAsm::ConstraintInfo,std::allocator<llvm::InlineAsm::ConstraintInfo> >::_Vector_impl" = type …
15InlineAsm::ConstraintInfo,std::allocator<llvm::InlineAsm::ConstraintInfo> >" = type { %"struct.std…
18InlineAsm::ConstraintInfo"* nocapture %this, i64 %Str.0, i64 %Str.1, %"struct.std::vector<llvm::In…
Dms-inline-asm.ll8 ; CHECK: {{## InlineAsm Start|#APP}}
13 ; CHECK: {{## InlineAsm End|#NO_APP}}
21 ; CHECK: {{## InlineAsm Start|#APP}}
25 ; CHECK: {{## InlineAsm End|#NO_APP}}
35 ; CHECK: {{## InlineAsm Start|#APP}}
39 ; CHECK: {{## InlineAsm End|#NO_APP}}
56 ; CHECK: {{## InlineAsm Start|#APP}}
62 ; CHECK: {{## InlineAsm End|#NO_APP}}
76 ; CHECK: {{## InlineAsm Start|#APP}}
80 ; CHECK: {{## InlineAsm End|#NO_APP}}
[all …]
Dinline-asm-fpstack.ll5 ; CHECK: InlineAsm End
13 ; CHECK: InlineAsm End
23 ; CHECK-NEXT: InlineAsm Start
25 ; CHECK: InlineAsm End
35 ; CHECK-NEXT: InlineAsm Start
36 ; CHECK: InlineAsm End
47 ; CHECK: InlineAsm End
62 ; CHECK: InlineAsm End
68 ; CHECK: InlineAsm End
75 ; CHECK: InlineAsm End
[all …]
D2008-09-17-inline-asm-1.ll6 ; CHECK: InlineAsm Start
9 ; CHECK: InlineAsm End
11 ; CHECK: InlineAsm Start
14 ; CHECK: InlineAsm End
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DMachineInstr.cpp593 unsigned ExtraInfo = getOperand(InlineAsm::MIOp_ExtraInfo).getImm(); in isStackAligningInlineAsm()
594 if (ExtraInfo & InlineAsm::Extra_IsAlignStack) in isStackAligningInlineAsm()
600 InlineAsm::AsmDialect MachineInstr::getInlineAsmDialect() const { in getInlineAsmDialect()
602 unsigned ExtraInfo = getOperand(InlineAsm::MIOp_ExtraInfo).getImm(); in getInlineAsmDialect()
603 return InlineAsm::AsmDialect((ExtraInfo & InlineAsm::Extra_AsmDialect) != 0); in getInlineAsmDialect()
612 if (OpIdx < InlineAsm::MIOp_FirstOperand) in findInlineAsmFlagIdx()
617 for (unsigned i = InlineAsm::MIOp_FirstOperand, e = getNumOperands(); i < e; in findInlineAsmFlagIdx()
623 NumOps = 1 + InlineAsm::getNumOperandRegisters(FlagMO.getImm()); in findInlineAsmFlagIdx()
676 if ((InlineAsm::getKind(Flag) == InlineAsm::Kind_RegUse || in getRegClassConstraint()
677 InlineAsm::getKind(Flag) == InlineAsm::Kind_RegDef || in getRegClassConstraint()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Sparc/
DSparcISelDAGToDAG.cpp181 if (i < InlineAsm::Op_FirstOperand) in tryInlineAsm()
186 Kind = InlineAsm::getKind(Flag); in tryInlineAsm()
195 if (Kind == InlineAsm::Kind_Imm) { in tryInlineAsm()
201 unsigned NumRegs = InlineAsm::getNumOperandRegisters(Flag); in tryInlineAsm()
209 if (Changed && InlineAsm::isUseOperandTiedToDef(Flag, DefIdx)) in tryInlineAsm()
212 if (Kind != InlineAsm::Kind_RegUse && Kind != InlineAsm::Kind_RegDef in tryInlineAsm()
213 && Kind != InlineAsm::Kind_RegDefEarlyClobber) in tryInlineAsm()
217 bool HasRC = InlineAsm::hasRegClassConstraint(Flag, RC); in tryInlineAsm()
230 if (Kind == InlineAsm::Kind_RegDef || in tryInlineAsm()
231 Kind == InlineAsm::Kind_RegDefEarlyClobber) { in tryInlineAsm()
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/
DInlineAsm.h34 class InlineAsm : public Value {
35 friend struct ConstantCreator<InlineAsm, PointerType, InlineAsmKeyType>;
37 PointerType, InlineAsm, false>;
39 InlineAsm(const InlineAsm &); // do not implement
40 void operator=(const InlineAsm&); // do not implement
46 InlineAsm(PointerType *Ty, const std::string &AsmString,
49 virtual ~InlineAsm();
58 static InlineAsm *get(FunctionType *Ty, StringRef AsmString,
181 static inline bool classof(const InlineAsm *) { return true; }
/external/swiftshader/third_party/llvm-7.0/llvm/test/MC/X86/
Dx86-GCC-inline-asm-Y-constraints.ll9 ; CHECK: ## InlineAsm Start
11 ; CHECK: ## InlineAsm End
22 ; CHECK: ## InlineAsm Start
24 ; CHECK: ## InlineAsm End
35 ; CHECK: ## InlineAsm Start
37 ; CHECK: ## InlineAsm End
48 ; CHECK: ## InlineAsm Start
50 ; CHECK: ## InlineAsm End
61 ; CHECK: ## InlineAsm Start
64 ; CHECK: ## InlineAsm End
[all …]
/external/llvm/lib/Target/Sparc/
DSparcISelDAGToDAG.cpp181 if (i < InlineAsm::Op_FirstOperand) in tryInlineAsm()
186 Kind = InlineAsm::getKind(Flag); in tryInlineAsm()
195 if (Kind == InlineAsm::Kind_Imm) { in tryInlineAsm()
201 unsigned NumRegs = InlineAsm::getNumOperandRegisters(Flag); in tryInlineAsm()
209 if (Changed && InlineAsm::isUseOperandTiedToDef(Flag, DefIdx)) in tryInlineAsm()
212 if (Kind != InlineAsm::Kind_RegUse && Kind != InlineAsm::Kind_RegDef in tryInlineAsm()
213 && Kind != InlineAsm::Kind_RegDefEarlyClobber) in tryInlineAsm()
217 bool HasRC = InlineAsm::hasRegClassConstraint(Flag, RC); in tryInlineAsm()
230 if (Kind == InlineAsm::Kind_RegDef || in tryInlineAsm()
231 Kind == InlineAsm::Kind_RegDefEarlyClobber) { in tryInlineAsm()
[all …]
/external/llvm/include/llvm/IR/
DInlineAsm.h32 class InlineAsm : public Value {
41 friend class ConstantUniqueMap<InlineAsm>;
43 InlineAsm(const InlineAsm &) = delete;
44 void operator=(const InlineAsm&) = delete;
52 InlineAsm(FunctionType *Ty, const std::string &AsmString,
55 ~InlineAsm() override;
64 static InlineAsm *get(FunctionType *Ty, StringRef AsmString,
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DInlineAsm.h31 class InlineAsm final : public Value {
40 friend class ConstantUniqueMap<InlineAsm>;
48 InlineAsm(FunctionType *Ty, const std::string &AsmString,
57 InlineAsm(const InlineAsm &) = delete;
58 InlineAsm &operator=(const InlineAsm &) = delete;
62 static InlineAsm *get(FunctionType *Ty, StringRef AsmString,
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DMachineInstr.cpp822 unsigned ExtraInfo = getOperand(InlineAsm::MIOp_ExtraInfo).getImm(); in isStackAligningInlineAsm()
823 if (ExtraInfo & InlineAsm::Extra_IsAlignStack) in isStackAligningInlineAsm()
835 if (OpIdx < InlineAsm::MIOp_FirstOperand) in findInlineAsmFlagIdx()
840 for (unsigned i = InlineAsm::MIOp_FirstOperand, e = getNumOperands(); i < e; in findInlineAsmFlagIdx()
846 NumOps = 1 + InlineAsm::getNumOperandRegisters(FlagMO.getImm()); in findInlineAsmFlagIdx()
880 if (InlineAsm::hasRegClassConstraint(Flag, RCID)) in getRegClassConstraint()
884 if (InlineAsm::getKind(Flag) == InlineAsm::Kind_Mem) in getRegClassConstraint()
993 assert(DefOpIdx > InlineAsm::MIOp_FirstOperand); in isRegTiedToUseOperand()
1006 for (unsigned i = InlineAsm::MIOp_FirstOperand, e = getNumOperands(); in isRegTiedToUseOperand()
1014 if (InlineAsm::isUseOperandTiedToDef(FMO.getImm(), Idx) && in isRegTiedToUseOperand()
[all …]
/external/llvm/lib/CodeGen/
DMachineInstr.cpp1126 unsigned ExtraInfo = getOperand(InlineAsm::MIOp_ExtraInfo).getImm(); in isStackAligningInlineAsm()
1127 if (ExtraInfo & InlineAsm::Extra_IsAlignStack) in isStackAligningInlineAsm()
1133 InlineAsm::AsmDialect MachineInstr::getInlineAsmDialect() const { in getInlineAsmDialect()
1135 unsigned ExtraInfo = getOperand(InlineAsm::MIOp_ExtraInfo).getImm(); in getInlineAsmDialect()
1136 return InlineAsm::AsmDialect((ExtraInfo & InlineAsm::Extra_AsmDialect) != 0); in getInlineAsmDialect()
1145 if (OpIdx < InlineAsm::MIOp_FirstOperand) in findInlineAsmFlagIdx()
1150 for (unsigned i = InlineAsm::MIOp_FirstOperand, e = getNumOperands(); i < e; in findInlineAsmFlagIdx()
1156 NumOps = 1 + InlineAsm::getNumOperandRegisters(FlagMO.getImm()); in findInlineAsmFlagIdx()
1204 if (InlineAsm::hasRegClassConstraint(Flag, RCID)) in getRegClassConstraint()
1208 if (InlineAsm::getKind(Flag) == InlineAsm::Kind_Mem) in getRegClassConstraint()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinterInlineAsm.cpp78 InlineAsm::AsmDialect Dialect) const { in EmitInlineAsm()
151 if (Dialect == InlineAsm::AD_Intel) in EmitInlineAsm()
242 unsigned OpNo = InlineAsm::MIOp_FirstOperand; in EmitMSInlineAsmStr()
250 OpNo += InlineAsm::getNumOperandRegisters(OpFlags) + 1; in EmitMSInlineAsmStr()
263 if (InlineAsm::isMemKind(OpFlags)) { in EmitMSInlineAsmStr()
408 unsigned OpNo = InlineAsm::MIOp_FirstOperand; in EmitGCCInlineAsmStr()
416 OpNo += InlineAsm::getNumOperandRegisters(OpFlags) + 1; in EmitGCCInlineAsmStr()
434 if (InlineAsm::isMemKind(OpFlags)) { in EmitGCCInlineAsmStr()
509 InlineAsm::AsmDialect InlineAsmVariant = MI->getInlineAsmDialect(); in EmitInlineAsm()
511 if (InlineAsmVariant == InlineAsm::AD_ATT) in EmitInlineAsm()
/external/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinterInlineAsm.cpp79 InlineAsm::AsmDialect Dialect) const { in EmitInlineAsm()
212 unsigned OpNo = InlineAsm::MIOp_FirstOperand; in EmitMSInlineAsmStr()
220 OpNo += InlineAsm::getNumOperandRegisters(OpFlags) + 1; in EmitMSInlineAsmStr()
233 if (InlineAsm::isMemKind(OpFlags)) { in EmitMSInlineAsmStr()
378 unsigned OpNo = InlineAsm::MIOp_FirstOperand; in EmitGCCInlineAsmStr()
386 OpNo += InlineAsm::getNumOperandRegisters(OpFlags) + 1; in EmitGCCInlineAsmStr()
404 if (InlineAsm::isMemKind(OpFlags)) { in EmitGCCInlineAsmStr()
479 InlineAsm::AsmDialect InlineAsmVariant = MI->getInlineAsmDialect(); in EmitInlineAsm()
481 if (InlineAsmVariant == InlineAsm::AD_ATT) in EmitInlineAsm()
/external/llvm/lib/Target/Mips/
DMipsISelDAGToDAG.cpp244 case InlineAsm::Constraint_i: in SelectInlineAsmMemoryOperand()
245 case InlineAsm::Constraint_m: in SelectInlineAsmMemoryOperand()
246 case InlineAsm::Constraint_R: in SelectInlineAsmMemoryOperand()
247 case InlineAsm::Constraint_ZC: in SelectInlineAsmMemoryOperand()

12345678910>>...12