/art/compiler/llvm/ |
runtime_support_builder_arm.cc | 25 #include <llvm/IR/InlineAsm.h> 34 using ::llvm::InlineAsm; 64 InlineAsm* func = InlineAsm::get(ori_func->getFunctionType(), "mov $0, r9", "=r", false); 78 InlineAsm* func = InlineAsm::get(func_ty, inline_asm, "=r", true); 93 InlineAsm* func = InlineAsm::get(func_ty, inline_asm, "r", true); 99 // Separate to two InlineAsm: The first one produces the return value, while the second, 107 InlineAsm* func = InlineAsm::get(ori_func->getFunctionType(), "mov $0, r9", "=r", true) [all...] |
runtime_support_builder_x86.cc | 26 #include <llvm/IR/InlineAsm.h> 35 using ::llvm::InlineAsm; 47 InlineAsm* func = InlineAsm::get(ori_func->getFunctionType(), inline_asm, "=r", false); 59 InlineAsm* func = InlineAsm::get(func_ty, inline_asm, "=r", true); 72 InlineAsm* func = InlineAsm::get(func_ty, inline_asm, "r", true);
|
/external/llvm/lib/IR/ |
InlineAsm.cpp | 1 //===-- InlineAsm.cpp - Implement the InlineAsm class ---------------------===// 10 // This file implements the InlineAsm class. 14 #include "llvm/IR/InlineAsm.h" 23 // InlineAsm vtable is emitted here. 24 InlineAsm::~InlineAsm() { 28 InlineAsm *InlineAsm::get(FunctionType *Ty, StringRef AsmString, 37 InlineAsm::InlineAsm(PointerType *Ty, const std::string &asmString [all...] |
Android.mk | 26 InlineAsm.cpp \
|
ConstantsContext.h | 20 #include "llvm/IR/InlineAsm.h" 354 bool isAlignStack, InlineAsm::AsmDialect asmDialect) 362 InlineAsm::AsmDialect asm_dialect; 487 struct ConstantCreator<InlineAsm, PointerType, InlineAsmKeyType> { 488 static InlineAsm *create(PointerType *Ty, const InlineAsmKeyType &Key) { 489 return new InlineAsm(Ty, Key.asm_string, Key.constraints, 496 struct ConstantKeyData<InlineAsm> { 498 static ValType getValType(InlineAsm *Asm) {
|
/external/llvm/include/llvm/IR/ |
InlineAsm.h | 1 //===-- llvm/InlineAsm.h - Class to represent inline asm strings-*- C++ -*-===// 11 // used as the callee operand of call instructions. InlineAsm's are uniqued 12 // like constants, and created via InlineAsm::get(...). 35 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 [all...] |
Value.h | 37 class InlineAsm; 327 InlineAsmVal, // This is an instance of InlineAsm 492 template <> struct isa_impl<InlineAsm, Value> {
|
/external/llvm/lib/CodeGen/ |
MachineInstr.cpp | 27 #include "llvm/IR/InlineAsm.h" [all...] |
Analysis.cpp | 129 llvm::hasInlineAsmMemConstraint(InlineAsm::ConstraintInfoVector &CInfos, 132 InlineAsm::ConstraintInfo &CI = CInfos[i];
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
AsmPrinterInlineAsm.cpp | 22 #include "llvm/IR/InlineAsm.h" 75 InlineAsm::AsmDialect Dialect) const { 127 // modifications to persist after parsing the inlineasm. The modifications 214 unsigned OpNo = InlineAsm::MIOp_FirstOperand; 222 OpNo += InlineAsm::getNumOperandRegisters(OpFlags) + 1; 235 if (InlineAsm::isMemKind(OpFlags)) { 380 unsigned OpNo = InlineAsm::MIOp_FirstOperand; 388 OpNo += InlineAsm::getNumOperandRegisters(OpFlags) + 1; 405 if (InlineAsm::isMemKind(OpFlags)) { 479 InlineAsm::AsmDialect InlineAsmVariant = MI->getInlineAsmDialect() [all...] |
/external/llvm/include/llvm/CodeGen/ |
Analysis.h | 21 #include "llvm/IR/InlineAsm.h" 65 bool hasInlineAsmMemConstraint(InlineAsm::ConstraintInfoVector &CInfos,
|
AsmPrinter.h | 21 #include "llvm/IR/InlineAsm.h" 449 /// Print the specified operand of MI, an INLINEASM instruction, using the 456 /// Print the specified operand of MI, an INLINEASM instruction, using the 464 /// Let the target do anything it needs to do after emitting inlineasm. 466 /// inlineasm contains directives to switch modes. 484 InlineAsm::AsmDialect AsmDialect = InlineAsm::AD_ATT) const;
|
MachineInstr.h | 29 #include "llvm/IR/InlineAsm.h" 522 unsigned ExtraInfo = getOperand(InlineAsm::MIOp_ExtraInfo).getImm(); 523 if (ExtraInfo & InlineAsm::Extra_MayLoad) 536 unsigned ExtraInfo = getOperand(InlineAsm::MIOp_ExtraInfo).getImm(); 537 if (ExtraInfo & InlineAsm::Extra_MayStore) 706 bool isInlineAsm() const { return getOpcode() == TargetOpcode::INLINEASM; } 708 return getOpcode() == TargetOpcode::INLINEASM && getInlineAsmDialect(); 711 InlineAsm::AsmDialect getInlineAsmDialect() const; [all...] |
/external/llvm/lib/Analysis/ |
CodeMetrics.cpp | 54 if (!isa<InlineAsm>(CS.getCalledValue()))
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
InstrEmitter.cpp | [all...] |
ScheduleDAGFast.cpp | 22 #include "llvm/IR/InlineAsm.h" 486 if (Node->getOpcode() == ISD::INLINEASM) { 492 for (unsigned i = InlineAsm::Op_FirstOperand; i != NumOps;) { 495 unsigned NumVals = InlineAsm::getNumOperandRegisters(Flags); 498 if (InlineAsm::isRegDefKind(Flags) || 499 InlineAsm::isRegDefEarlyClobberKind(Flags) || 500 InlineAsm::isClobberKind(Flags)) {
|
SelectionDAGBuilder.cpp | 43 #include "llvm/IR/InlineAsm.h" 226 if (isa<InlineAsm>(CI->getCalledValue())) 651 /// AddInlineAsmOperands - Add this value to the specified inlineasm node [all...] |
FunctionLoweringInfo.cpp | 120 if (isa<InlineAsm>(CS.getCalledValue())) { 126 if (Op.Type == InlineAsm::isClobber) {
|
/external/llvm/lib/Object/ |
IRObjectFile.cpp | 45 const std::string &InlineAsm = M->getModuleInlineAsm(); 46 if (InlineAsm.empty()) 77 std::unique_ptr<MemoryBuffer> Buffer(MemoryBuffer::getMemBuffer(InlineAsm));
|
/external/llvm/lib/Transforms/Utils/ |
ValueMapper.cpp | 18 #include "llvm/IR/InlineAsm.h" 46 if (const InlineAsm *IA = dyn_cast<InlineAsm>(V)) { 53 V = InlineAsm::get(NewTy, IA->getAsmString(), IA->getConstraintString(),
|
/external/llvm/lib/Target/PowerPC/ |
PPCCTRLoops.cpp | 36 #include "llvm/IR/InlineAsm.h" 201 if (InlineAsm *IA = dyn_cast<InlineAsm>(CI->getCalledValue())) { 203 InlineAsm::ConstraintInfoVector CIV = IA->ParseConstraints(); 205 InlineAsm::ConstraintInfo &C = CIV[i]; 206 if (C.Type != InlineAsm::isInput)
|
/external/llvm/lib/Target/Mips/ |
Mips16HardFloat.cpp | 31 llvm::InlineAsm *IA = 32 llvm::InlineAsm::get(AsmFTy, AsmString, "", true, 34 llvm::InlineAsm::AD_ATT);
|
/external/llvm/lib/Transforms/ObjCARC/ |
ObjCARCContract.cpp | 35 #include "llvm/IR/InlineAsm.h" 395 InlineAsm *IA = 396 InlineAsm::get(FunctionType::get(Type::getVoidTy(Inst->getContext()),
|
/external/llvm/lib/Target/X86/ |
X86FloatingPoint.cpp | 38 #include "llvm/IR/InlineAsm.h" [all...] |
/external/llvm/lib/Target/Hexagon/ |
HexagonISelLowering.cpp | 33 #include "llvm/IR/InlineAsm.h" 695 case ISD::INLINEASM: { 700 for (unsigned i = InlineAsm::Op_FirstOperand; i != NumOps;) { 705 unsigned NumVals = InlineAsm::getNumOperandRegisters(Flags); 708 switch (InlineAsm::getKind(Flags)) { 710 case InlineAsm::Kind_RegDef: 711 case InlineAsm::Kind_RegUse: 712 case InlineAsm::Kind_Imm: 713 case InlineAsm::Kind_Clobber: 714 case InlineAsm::Kind_Mem: [all...] |