Home
last modified time | relevance | path

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

1234567

/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 …]
DConstantsContext.h343 template <> struct ConstantInfo<InlineAsm> {
400 InlineAsm::AsmDialect AsmDialect;
404 InlineAsm::AsmDialect AsmDialect)
408 InlineAsmKeyType(const InlineAsm *Asm, SmallVectorImpl<Constant *> &)
419 bool operator==(const InlineAsm *Asm) const {
432 typedef ConstantInfo<InlineAsm>::TypeClass TypeClass;
433 InlineAsm *create(TypeClass *Ty) const {
435 return new InlineAsm(FTy, AsmString, Constraints, HasSideEffects,
/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/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
D2010-06-28-FastAllocTiedOperand.ll9 ; CHECK: InlineAsm Start
13 ; 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
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 …]
D2010-06-28-FastAllocTiedOperand.ll9 ; CHECK: InlineAsm Start
13 ; CHECK: InlineAsm End
/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/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 …]
DLeonPasses.cpp96 MI.getOperand(InlineAsm::MIOp_AsmString).getSymbolName(); in runOnMachineFunction()
153 MI.getOperand(InlineAsm::MIOp_AsmString).getSymbolName(); in runOnMachineFunction()
157 unsigned StartOp = InlineAsm::MIOp_FirstOperand; in runOnMachineFunction()
265 MI.getOperand(InlineAsm::MIOp_AsmString).getSymbolName(); in runOnMachineFunction()
268 unsigned StartOp = InlineAsm::MIOp_FirstOperand; in runOnMachineFunction()
368 MI.getOperand(InlineAsm::MIOp_AsmString).getSymbolName(); in runOnMachineFunction()
476 MI.getOperand(InlineAsm::MIOp_AsmString).getSymbolName(); in runOnMachineFunction()
479 unsigned StartOp = InlineAsm::MIOp_FirstOperand; in runOnMachineFunction()
568 MI.getOperand(InlineAsm::MIOp_AsmString).getSymbolName(); in runOnMachineFunction()
777 MI.getOperand(InlineAsm::MIOp_AsmString).getSymbolName(); in runOnMachineFunction()
/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/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/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()
/external/llvm/lib/CodeGen/SelectionDAG/
DInstrEmitter.cpp946 SDValue AsmStrV = Node->getOperand(InlineAsm::Op_AsmString); in EmitSpecialNode()
953 cast<ConstantSDNode>(Node->getOperand(InlineAsm::Op_ExtraInfo))-> in EmitSpecialNode()
964 for (unsigned i = InlineAsm::Op_FirstOperand; i != NumOps;) { in EmitSpecialNode()
967 const unsigned NumVals = InlineAsm::getNumOperandRegisters(Flags); in EmitSpecialNode()
973 switch (InlineAsm::getKind(Flags)) { in EmitSpecialNode()
975 case InlineAsm::Kind_RegDef: in EmitSpecialNode()
985 case InlineAsm::Kind_RegDefEarlyClobber: in EmitSpecialNode()
986 case InlineAsm::Kind_Clobber: in EmitSpecialNode()
994 case InlineAsm::Kind_RegUse: // Use of register. in EmitSpecialNode()
995 case InlineAsm::Kind_Imm: // Immediate. in EmitSpecialNode()
[all …]
/external/llvm/lib/Target/ARM/
DARMISelLowering.h354 return InlineAsm::Constraint_Q; in getInlineAsmMemConstraint()
356 return InlineAsm::Constraint_o; in getInlineAsmMemConstraint()
363 return InlineAsm::Constraint_Um; in getInlineAsmMemConstraint()
365 return InlineAsm::Constraint_Un; in getInlineAsmMemConstraint()
367 return InlineAsm::Constraint_Uq; in getInlineAsmMemConstraint()
369 return InlineAsm::Constraint_Us; in getInlineAsmMemConstraint()
371 return InlineAsm::Constraint_Ut; in getInlineAsmMemConstraint()
373 return InlineAsm::Constraint_Uv; in getInlineAsmMemConstraint()
375 return InlineAsm::Constraint_Uy; in getInlineAsmMemConstraint()
/external/llvm/lib/Target/WebAssembly/
DWebAssemblyISelDAGToDAG.cpp100 case InlineAsm::Constraint_i: in SelectInlineAsmMemoryOperand()
101 case InlineAsm::Constraint_m: in SelectInlineAsmMemoryOperand()
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DInstrEmitter.cpp842 SDValue AsmStrV = Node->getOperand(InlineAsm::Op_AsmString); in EmitSpecialNode()
848 cast<ConstantSDNode>(Node->getOperand(InlineAsm::Op_ExtraInfo))-> in EmitSpecialNode()
853 for (unsigned i = InlineAsm::Op_FirstOperand; i != NumOps;) { in EmitSpecialNode()
856 unsigned NumVals = InlineAsm::getNumOperandRegisters(Flags); in EmitSpecialNode()
861 switch (InlineAsm::getKind(Flags)) { in EmitSpecialNode()
863 case InlineAsm::Kind_RegDef: in EmitSpecialNode()
873 case InlineAsm::Kind_RegDefEarlyClobber: in EmitSpecialNode()
874 case InlineAsm::Kind_Clobber: in EmitSpecialNode()
885 case InlineAsm::Kind_RegUse: // Use of register. in EmitSpecialNode()
886 case InlineAsm::Kind_Imm: // Immediate. in EmitSpecialNode()
[all …]
/external/llvm/include/llvm/CodeGen/
DMachineInstr.h530 unsigned ExtraInfo = getOperand(InlineAsm::MIOp_ExtraInfo).getImm();
531 if (ExtraInfo & InlineAsm::Extra_IsConvergent)
607 unsigned ExtraInfo = getOperand(InlineAsm::MIOp_ExtraInfo).getImm();
608 if (ExtraInfo & InlineAsm::Extra_MayLoad)
620 unsigned ExtraInfo = getOperand(InlineAsm::MIOp_ExtraInfo).getImm();
621 if (ExtraInfo & InlineAsm::Extra_MayStore)
804 InlineAsm::AsmDialect getInlineAsmDialect() const;

1234567