Home
last modified time | relevance | path

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

12345

/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.h351 template <> struct ConstantInfo<InlineAsm> {
408 InlineAsm::AsmDialect AsmDialect;
412 InlineAsm::AsmDialect AsmDialect)
416 InlineAsmKeyType(const InlineAsm *Asm, SmallVectorImpl<Constant *> &)
427 bool operator==(const InlineAsm *Asm) const {
440 typedef ConstantInfo<InlineAsm>::TypeClass TypeClass;
441 InlineAsm *create(TypeClass *Ty) const {
443 return new InlineAsm(FTy, AsmString, Constraints, HasSideEffects,
/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
Dpr7882.ll8 ; CHECK: InlineAsm End
/external/llvm/lib/Target/Sparc/
DSparcISelDAGToDAG.cpp182 if (i < InlineAsm::Op_FirstOperand) in SelectInlineAsm()
187 Kind = InlineAsm::getKind(Flag); in SelectInlineAsm()
196 if (Kind == InlineAsm::Kind_Imm) { in SelectInlineAsm()
202 unsigned NumRegs = InlineAsm::getNumOperandRegisters(Flag); in SelectInlineAsm()
210 if (Changed && InlineAsm::isUseOperandTiedToDef(Flag, DefIdx)) in SelectInlineAsm()
213 if (Kind != InlineAsm::Kind_RegUse && Kind != InlineAsm::Kind_RegDef in SelectInlineAsm()
214 && Kind != InlineAsm::Kind_RegDefEarlyClobber) in SelectInlineAsm()
218 bool HasRC = InlineAsm::hasRegClassConstraint(Flag, RC); in SelectInlineAsm()
231 if (Kind == InlineAsm::Kind_RegDef || in SelectInlineAsm()
232 Kind == InlineAsm::Kind_RegDefEarlyClobber) { in SelectInlineAsm()
[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/llvm/lib/CodeGen/
DMachineInstr.cpp1041 unsigned ExtraInfo = getOperand(InlineAsm::MIOp_ExtraInfo).getImm(); in isStackAligningInlineAsm()
1042 if (ExtraInfo & InlineAsm::Extra_IsAlignStack) in isStackAligningInlineAsm()
1048 InlineAsm::AsmDialect MachineInstr::getInlineAsmDialect() const { in getInlineAsmDialect()
1050 unsigned ExtraInfo = getOperand(InlineAsm::MIOp_ExtraInfo).getImm(); in getInlineAsmDialect()
1051 return InlineAsm::AsmDialect((ExtraInfo & InlineAsm::Extra_AsmDialect) != 0); in getInlineAsmDialect()
1060 if (OpIdx < InlineAsm::MIOp_FirstOperand) in findInlineAsmFlagIdx()
1065 for (unsigned i = InlineAsm::MIOp_FirstOperand, e = getNumOperands(); i < e; in findInlineAsmFlagIdx()
1071 NumOps = 1 + InlineAsm::getNumOperandRegisters(FlagMO.getImm()); in findInlineAsmFlagIdx()
1109 if (InlineAsm::hasRegClassConstraint(Flag, RCID)) in getRegClassConstraint()
1113 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.cpp241 case InlineAsm::Constraint_i: in SelectInlineAsmMemoryOperand()
242 case InlineAsm::Constraint_m: in SelectInlineAsmMemoryOperand()
243 case InlineAsm::Constraint_R: in SelectInlineAsmMemoryOperand()
244 case InlineAsm::Constraint_ZC: in SelectInlineAsmMemoryOperand()
/external/llvm/lib/Target/ARM/
DARMISelLowering.h349 return InlineAsm::Constraint_Q; in getInlineAsmMemConstraint()
351 return InlineAsm::Constraint_o; in getInlineAsmMemConstraint()
358 return InlineAsm::Constraint_Um; in getInlineAsmMemConstraint()
360 return InlineAsm::Constraint_Un; in getInlineAsmMemConstraint()
362 return InlineAsm::Constraint_Uq; in getInlineAsmMemConstraint()
364 return InlineAsm::Constraint_Us; in getInlineAsmMemConstraint()
366 return InlineAsm::Constraint_Ut; in getInlineAsmMemConstraint()
368 return InlineAsm::Constraint_Uv; in getInlineAsmMemConstraint()
370 return InlineAsm::Constraint_Uy; in getInlineAsmMemConstraint()
/external/llvm/lib/CodeGen/SelectionDAG/
DInstrEmitter.cpp944 SDValue AsmStrV = Node->getOperand(InlineAsm::Op_AsmString); in EmitSpecialNode()
951 cast<ConstantSDNode>(Node->getOperand(InlineAsm::Op_ExtraInfo))-> in EmitSpecialNode()
962 for (unsigned i = InlineAsm::Op_FirstOperand; i != NumOps;) { in EmitSpecialNode()
965 const unsigned NumVals = InlineAsm::getNumOperandRegisters(Flags); in EmitSpecialNode()
971 switch (InlineAsm::getKind(Flags)) { in EmitSpecialNode()
973 case InlineAsm::Kind_RegDef: in EmitSpecialNode()
983 case InlineAsm::Kind_RegDefEarlyClobber: in EmitSpecialNode()
984 case InlineAsm::Kind_Clobber: in EmitSpecialNode()
992 case InlineAsm::Kind_RegUse: // Use of register. in EmitSpecialNode()
993 case InlineAsm::Kind_Imm: // Immediate. in EmitSpecialNode()
[all …]
DSelectionDAGBuilder.cpp246 if (isa<InlineAsm>(CI->getCalledValue())) in diagnosePossiblyInvalidConstraint()
778 unsigned Flag = InlineAsm::getFlagWord(Code, Regs.size()); in AddInlineAsmOperands()
780 Flag = InlineAsm::getFlagWordForMatchingOp(Flag, MatchingIdx); in AddInlineAsmOperands()
790 Flag = InlineAsm::getFlagWordForRegClass(Flag, RC->getID()); in AddInlineAsmOperands()
805 if (TheReg == SP && Code == InlineAsm::Kind_Clobber) { in AddInlineAsmOperands()
2109 if (isa<InlineAsm>(Callee)) in visitInvoke()
5744 if (isa<InlineAsm>(I.getCalledValue())) { in visitCall()
6024 if (OpInfo.Type == InlineAsm::isInput && in GetRegistersForValue()
6107 const InlineAsm *IA = cast<InlineAsm>(CS.getCalledValue()); in visitInlineAsm()
6128 case InlineAsm::isOutput: in visitInlineAsm()
[all …]
DScheduleDAGFast.cpp497 for (unsigned i = InlineAsm::Op_FirstOperand; i != NumOps;) { in DelayForLiveRegsBottomUp()
500 unsigned NumVals = InlineAsm::getNumOperandRegisters(Flags); in DelayForLiveRegsBottomUp()
503 if (InlineAsm::isRegDefKind(Flags) || in DelayForLiveRegsBottomUp()
504 InlineAsm::isRegDefEarlyClobberKind(Flags) || in DelayForLiveRegsBottomUp()
505 InlineAsm::isClobberKind(Flags)) { in DelayForLiveRegsBottomUp()
/external/llvm/lib/Target/WebAssembly/
DWebAssemblyISelDAGToDAG.cpp110 case InlineAsm::Constraint_i: in SelectInlineAsmMemoryOperand()
111 case InlineAsm::Constraint_m: in SelectInlineAsmMemoryOperand()
/external/llvm/lib/Target/SystemZ/
DSystemZISelLowering.h400 return InlineAsm::Constraint_Q; in getInlineAsmMemConstraint()
402 return InlineAsm::Constraint_R; in getInlineAsmMemConstraint()
404 return InlineAsm::Constraint_S; in getInlineAsmMemConstraint()
406 return InlineAsm::Constraint_T; in getInlineAsmMemConstraint()
/external/llvm/lib/Target/PowerPC/
DPPCCTRLoops.cpp226 if (InlineAsm *IA = dyn_cast<InlineAsm>(CI->getCalledValue())) { in mightUseCTR()
228 InlineAsm::ConstraintInfoVector CIV = IA->ParseConstraints(); in mightUseCTR()
230 InlineAsm::ConstraintInfo &C = CIV[i]; in mightUseCTR()
231 if (C.Type != InlineAsm::isInput) in mightUseCTR()
DPPCISelLowering.h560 return InlineAsm::Constraint_es; in getInlineAsmMemConstraint()
562 return InlineAsm::Constraint_o; in getInlineAsmMemConstraint()
564 return InlineAsm::Constraint_Q; in getInlineAsmMemConstraint()
566 return InlineAsm::Constraint_Z; in getInlineAsmMemConstraint()
568 return InlineAsm::Constraint_Zy; in getInlineAsmMemConstraint()
/external/llvm/include/llvm/CodeGen/
DMachineInstr.h575 unsigned ExtraInfo = getOperand(InlineAsm::MIOp_ExtraInfo).getImm();
576 if (ExtraInfo & InlineAsm::Extra_MayLoad)
588 unsigned ExtraInfo = getOperand(InlineAsm::MIOp_ExtraInfo).getImm();
589 if (ExtraInfo & InlineAsm::Extra_MayStore)
772 InlineAsm::AsmDialect getInlineAsmDialect() const;
/external/llvm/lib/Object/
DIRObjectFile.cpp42 const std::string &InlineAsm = M->getModuleInlineAsm(); in IRObjectFile() local
43 if (InlineAsm.empty()) in IRObjectFile()
75 std::unique_ptr<MemoryBuffer> Buffer(MemoryBuffer::getMemBuffer(InlineAsm)); in IRObjectFile()
/external/llvm/test/CodeGen/ARM/
Dbswap-inline-asm.ll5 ; CHECK-NOT: InlineAsm
Dfast-isel-inline-asm.ll10 ; CHECK-NEXT: InlineAsm Start

12345