Home
last modified time | relevance | path

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

123

/external/llvm/lib/IR/
DInlineAsm.cpp24 InlineAsm::~InlineAsm() { in ~InlineAsm()
28 InlineAsm *InlineAsm::get(FunctionType *Ty, StringRef AsmString, in get()
37 InlineAsm::InlineAsm(PointerType *Ty, const std::string &asmString, in InlineAsm() function in InlineAsm
50 void InlineAsm::destroyConstant() { in destroyConstant()
55 FunctionType *InlineAsm::getFunctionType() const { in getFunctionType()
60 InlineAsm::ConstraintInfo::ConstraintInfo() : in ConstraintInfo()
68 InlineAsm::ConstraintInfo::ConstraintInfo(const ConstraintInfo &other) : in ConstraintInfo()
80 bool InlineAsm::ConstraintInfo::Parse(StringRef Str, in Parse()
81 InlineAsm::ConstraintInfoVector &ConstraintsSoFar) { in Parse()
169 InlineAsm::SubConstraintInfo &scInfo = in Parse()
[all …]
DConstantsContext.h355 bool isAlignStack, InlineAsm::AsmDialect asmDialect)
363 InlineAsm::AsmDialect asm_dialect;
495 struct ConstantCreator<InlineAsm, PointerType, InlineAsmKeyType> {
496 static InlineAsm *create(PointerType *Ty, const InlineAsmKeyType &Key) {
497 return new InlineAsm(Ty, Key.asm_string, Key.constraints,
504 struct ConstantKeyData<InlineAsm> {
506 static ValType getValType(InlineAsm *Asm) {
DAndroid.mk20 InlineAsm.cpp \
DCMakeLists.txt19 InlineAsm.cpp
/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.ll9 ; CHECK: {{## InlineAsm Start|#APP}}
14 ; CHECK: {{## InlineAsm End|#NO_APP}}
23 ; CHECK: {{## InlineAsm Start|#APP}}
27 ; CHECK: {{## InlineAsm End|#NO_APP}}
38 ; CHECK: {{## InlineAsm Start|#APP}}
42 ; CHECK: {{## InlineAsm End|#NO_APP}}
60 ; CHECK: {{## InlineAsm Start|#APP}}
66 ; CHECK: {{## InlineAsm End|#NO_APP}}
81 ; CHECK: {{## InlineAsm Start|#APP}}
85 ; 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
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
Dpr7882.ll8 ; CHECK: InlineAsm End
Dleaf-fp-elim.ll15 ; CHECK: InlineAsm Start
/external/llvm/include/llvm/IR/
DInlineAsm.h35 class InlineAsm : public Value {
43 friend struct ConstantCreator<InlineAsm, PointerType, InlineAsmKeyType>;
45 PointerType, InlineAsm, false>;
47 InlineAsm(const InlineAsm &) LLVM_DELETED_FUNCTION;
48 void operator=(const InlineAsm&) LLVM_DELETED_FUNCTION;
55 InlineAsm(PointerType *Ty, const std::string &AsmString,
58 virtual ~InlineAsm();
67 static InlineAsm *get(FunctionType *Ty, StringRef AsmString,
DValue.h31 class InlineAsm; variable
348 template <> struct isa_impl<InlineAsm, Value> {
/external/llvm/lib/CodeGen/
DMachineInstr.cpp906 unsigned ExtraInfo = getOperand(InlineAsm::MIOp_ExtraInfo).getImm(); in isStackAligningInlineAsm()
907 if (ExtraInfo & InlineAsm::Extra_IsAlignStack) in isStackAligningInlineAsm()
913 InlineAsm::AsmDialect MachineInstr::getInlineAsmDialect() const { in getInlineAsmDialect()
915 unsigned ExtraInfo = getOperand(InlineAsm::MIOp_ExtraInfo).getImm(); in getInlineAsmDialect()
916 return InlineAsm::AsmDialect((ExtraInfo & InlineAsm::Extra_AsmDialect) != 0); in getInlineAsmDialect()
925 if (OpIdx < InlineAsm::MIOp_FirstOperand) in findInlineAsmFlagIdx()
930 for (unsigned i = InlineAsm::MIOp_FirstOperand, e = getNumOperands(); i < e; in findInlineAsmFlagIdx()
936 NumOps = 1 + InlineAsm::getNumOperandRegisters(FlagMO.getImm()); in findInlineAsmFlagIdx()
974 if (InlineAsm::hasRegClassConstraint(Flag, RCID)) in getRegClassConstraint()
978 if (InlineAsm::getKind(Flag) == InlineAsm::Kind_Mem) in getRegClassConstraint()
[all …]
/external/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinterInlineAsm.cpp72 InlineAsm::AsmDialect Dialect) const { in EmitInlineAsm()
196 unsigned OpNo = InlineAsm::MIOp_FirstOperand; in EmitMSInlineAsmStr()
204 OpNo += InlineAsm::getNumOperandRegisters(OpFlags) + 1; in EmitMSInlineAsmStr()
217 if (InlineAsm::isMemKind(OpFlags)) { in EmitMSInlineAsmStr()
362 unsigned OpNo = InlineAsm::MIOp_FirstOperand; in EmitGCCInlineAsmStr()
370 OpNo += InlineAsm::getNumOperandRegisters(OpFlags) + 1; in EmitGCCInlineAsmStr()
387 if (InlineAsm::isMemKind(OpFlags)) { in EmitGCCInlineAsmStr()
468 InlineAsm::AsmDialect InlineAsmVariant = MI->getInlineAsmDialect(); in EmitInlineAsm()
470 if (InlineAsmVariant == InlineAsm::AD_ATT) in EmitInlineAsm()
/external/llvm/lib/CodeGen/SelectionDAG/
DInstrEmitter.cpp892 SDValue AsmStrV = Node->getOperand(InlineAsm::Op_AsmString); in EmitSpecialNode()
899 cast<ConstantSDNode>(Node->getOperand(InlineAsm::Op_ExtraInfo))-> in EmitSpecialNode()
907 for (unsigned i = InlineAsm::Op_FirstOperand; i != NumOps;) { in EmitSpecialNode()
910 const unsigned NumVals = InlineAsm::getNumOperandRegisters(Flags); in EmitSpecialNode()
916 switch (InlineAsm::getKind(Flags)) { in EmitSpecialNode()
918 case InlineAsm::Kind_RegDef: in EmitSpecialNode()
928 case InlineAsm::Kind_RegDefEarlyClobber: in EmitSpecialNode()
929 case InlineAsm::Kind_Clobber: in EmitSpecialNode()
936 case InlineAsm::Kind_RegUse: // Use of register. in EmitSpecialNode()
937 case InlineAsm::Kind_Imm: // Immediate. in EmitSpecialNode()
[all …]
DSelectionDAGBuilder.cpp311 if (isa<InlineAsm>(CI->getCalledValue())) in getCopyFromPartsVector()
403 if (isa<InlineAsm>(CI->getCalledValue())) in getCopyToParts()
823 unsigned Flag = InlineAsm::getFlagWord(Code, Regs.size()); in AddInlineAsmOperands()
825 Flag = InlineAsm::getFlagWordForMatchingOp(Flag, MatchingIdx); in AddInlineAsmOperands()
835 Flag = InlineAsm::getFlagWordForRegClass(Flag, RC->getID()); in AddInlineAsmOperands()
1871 if (isa<InlineAsm>(Callee)) in visitInvoke()
5523 if (isa<InlineAsm>(I.getCalledValue())) { in visitCall()
5756 if (OpInfo.Type == InlineAsm::isInput && in GetRegistersForValue()
5839 const InlineAsm *IA = cast<InlineAsm>(CS.getCalledValue()); in visitInlineAsm()
5859 case InlineAsm::isOutput: in visitInlineAsm()
[all …]
DScheduleDAGFast.cpp491 for (unsigned i = InlineAsm::Op_FirstOperand; i != NumOps;) { in DelayForLiveRegsBottomUp()
494 unsigned NumVals = InlineAsm::getNumOperandRegisters(Flags); in DelayForLiveRegsBottomUp()
497 if (InlineAsm::isRegDefKind(Flags) || in DelayForLiveRegsBottomUp()
498 InlineAsm::isRegDefEarlyClobberKind(Flags) || in DelayForLiveRegsBottomUp()
499 InlineAsm::isClobberKind(Flags)) { in DelayForLiveRegsBottomUp()
/external/llvm/include/llvm/CodeGen/
DMachineInstr.h467 unsigned ExtraInfo = getOperand(InlineAsm::MIOp_ExtraInfo).getImm();
468 if (ExtraInfo & InlineAsm::Extra_MayLoad)
481 unsigned ExtraInfo = getOperand(InlineAsm::MIOp_ExtraInfo).getImm();
482 if (ExtraInfo & InlineAsm::Extra_MayStore)
649 InlineAsm::AsmDialect getInlineAsmDialect() const;
DAnalysis.h65 bool hasInlineAsmMemConstraint(InlineAsm::ConstraintInfoVector &CInfos,
DAsmPrinter.h463 InlineAsm::AsmDialect AsmDialect = InlineAsm::AD_ATT) const;
/external/llvm/lib/Transforms/Utils/
DValueMapper.cpp38 if (const InlineAsm *IA = dyn_cast<InlineAsm>(V)) { in MapValue()
45 V = InlineAsm::get(NewTy, IA->getAsmString(), IA->getConstraintString(), in MapValue()
/external/llvm/test/CodeGen/ARM/
Dbswap-inline-asm.ll5 ; CHECK-NOT: InlineAsm
/external/llvm/test/CodeGen/Thumb2/
D2010-03-15-AsmCCClobber.ll16 ; Make sure the cmp is not scheduled before the InlineAsm that clobbers cc.
20 ; CHECK: InlineAsm Start
/external/llvm/lib/Analysis/
DCodeMetrics.cpp54 if (!isa<InlineAsm>(CS.getCalledValue())) in analyzeBasicBlock()

123