Home
last modified time | relevance | path

Searched refs:isThumb (Results 1 – 24 of 24) sorted by relevance

/external/llvm/lib/Target/ARM/
DARMMachineFunctionInfo.h33 bool isThumb; variable
132 isThumb(false), in ARMFunctionInfo()
145 bool isThumbFunction() const { return isThumb; } in isThumbFunction()
146 bool isThumb1OnlyFunction() const { return isThumb && !hasThumb2; } in isThumb1OnlyFunction()
147 bool isThumb2Function() const { return isThumb && hasThumb2; } in isThumb2Function()
DARMMachineFunctionInfo.cpp17 : isThumb(MF.getSubtarget<ARMSubtarget>().isThumb()), in ARMFunctionInfo()
DARMAsmPrinter.h111 bool isThumb = TT.getArch() == Triple::thumb || in getISAEncoding() local
115 return isThumb ? ARM::DW_ISA_ARM_thumb : ARM::DW_ISA_ARM_arm; in getISAEncoding()
DARMConstantIslandPass.cpp263 bool isThumb; member in __anone42176b30111::ARMConstantIslands
390 isThumb = AFI->isThumbFunction(); in runOnMachineFunction()
480 if (isThumb && !HasFarJump && AFI->isLRSpilledForFarJump()) in runOnMachineFunction()
813 BBI.Unalign = isThumb ? 1 : 2; in computeBlockSize()
815 else if (isThumb && mayOptimizeThumb2Instruction(I)) in computeBlockSize()
891 unsigned Opc = isThumb ? (isThumb2 ? ARM::t2B : ARM::tB) : ARM::B; in splitBlockBeforeInstr()
892 if (!isThumb) in splitBlockBeforeInstr()
954 UserOffset += (isThumb ? 4 : 8); in getUserOffset()
963 if (isThumb && U.KnownAlignment) in getUserOffset()
1262 int UncondBr = isThumb ? ((isThumb2) ? ARM::t2B : ARM::tB) : ARM::B; in createNewWater()
[all …]
DARMSubtarget.cpp121 : !isThumb() in ARMSubtarget()
342 return (!isThumb() || hasThumb2()); in enablePostMachineScheduler()
DARMISelDAGToDAG.cpp329 bool isThumb2 = Subtarget->isThumb(); in PreprocessISelDAG()
2293 ? (Subtarget->isThumb() ? ARM::t2SBFX : ARM::SBFX) in SelectV6T2BitfieldExtractOp()
2294 : (Subtarget->isThumb() ? ARM::t2UBFX : ARM::UBFX); in SelectV6T2BitfieldExtractOp()
2318 if (Subtarget->isThumb()) { in SelectV6T2BitfieldExtractOp()
2468 if (Subtarget->isThumb()) { in Select()
2486 if (Subtarget->isThumb()) { in Select()
2523 unsigned Opc = ((Subtarget->isThumb() && Subtarget->hasThumb2()) ? in Select()
2554 if (Subtarget->isThumb()) { in Select()
2570 if (Subtarget->isThumb()) { in Select()
2593 unsigned Opc = (Subtarget->isThumb() && Subtarget->hasThumb2()) in Select()
[all …]
DARMSubtarget.h328 return HasDataBarrier || (hasV6Ops() && !isThumb()); in hasAnyDataBarrier()
399 bool isThumb() const { return InThumbMode; } in isThumb() function
DARMFrameLowering.cpp702 unsigned TCOpcode = STI.isThumb() ? in fixTCReturn()
716 if (STI.isThumb()) MIB.addImm(ARMCC::AL).addReg(0); in fixTCReturn()
719 TII.get(STI.isThumb() ? ARM::tTAILJMPr : ARM::TAILJMPr)). in fixTCReturn()
1136 bool isThumb = AFI->isThumbFunction(); in emitAlignedDPRCS2Spills() local
1142 unsigned Opc = isThumb ? ARM::t2SUBri : ARM::SUBri; in emitAlignedDPRCS2Spills()
1159 Opc = isThumb ? ARM::tMOVr : ARM::MOVr; in emitAlignedDPRCS2Spills()
1163 if (!isThumb) in emitAlignedDPRCS2Spills()
1279 bool isThumb = AFI->isThumbFunction(); in emitAlignedDPRCS2Restores() local
1282 unsigned Opc = isThumb ? ARM::t2ADDri : ARM::ADDri; in emitAlignedDPRCS2Restores()
1868 bool Thumb = ST->isThumb(); in adjustForSegmentedStacks()
DARMInstrInfo.cpp158 unsigned PCAdj = STI.isThumb() ? 4 : 8; in runOnMachineFunction()
DARMAsmPrinter.cpp422 static bool isThumb(const MCSubtargetInfo& STI) { in isThumb() function
430 const bool WasThumb = isThumb(StartInfo); in emitInlineAsmEnd()
431 if (!EndInfo || WasThumb != isThumb(*EndInfo)) { in emitInlineAsmEnd()
448 bool isThumb = TT.getArch() == Triple::thumb || in EmitStartOfAsmFile() local
452 if (!M.getModuleInlineAsm().empty() && isThumb) in EmitStartOfAsmFile()
DARMISelLowering.cpp172 if (Subtarget->isThumb() && Subtarget->hasVFP2() && in ARMTargetLowering()
708 !(Subtarget->hasDivideInARMMode() && !Subtarget->isThumb())) { in ARMTargetLowering()
956 setMinFunctionAlignment(Subtarget->isThumb() ? 1 : 2); in ARMTargetLowering()
1727 isARMFunc = !Subtarget->isThumb() || (isStub && !Subtarget->isMClass()); in LowerCall()
1729 isLocalARMFunc = !Subtarget->isThumb() && (!isExt || !ARMInterworking); in LowerCall()
1763 isARMFunc = !Subtarget->isThumb() || (isStub && !Subtarget->isMClass()); in LowerCall()
1793 if (Subtarget->isThumb()) { in LowerCall()
2408 unsigned PCAdj = Subtarget->isThumb() ? 4 : 8; in LowerBlockAddress()
2431 unsigned char PCAdj = Subtarget->isThumb() ? 4 : 8; in LowerToTLSGeneralDynamicModel()
2485 unsigned char PCAdj = Subtarget->isThumb() ? 4 : 8; in LowerToTLSExecModels()
[all …]
DARMTargetTransformInfo.cpp27 if (!ST->isThumb()) { in getIntImmCost()
DARMBaseRegisterInfo.cpp60 return STI.isThumb() ? ARM::R7 : ARM::R11; in getFramePointerReg()
DARMBaseInstrInfo.cpp406 bool isThumb = AFI->isThumbFunction() || AFI->isThumb2Function(); in InsertBranch() local
415 if (isThumb) in InsertBranch()
428 if (isThumb) in InsertBranch()
698 unsigned Opc = Subtarget.isThumb() in copyFromCPSR()
719 unsigned Opc = Subtarget.isThumb() in copyToCPSR()
DARMFastISel.cpp628 (Subtarget->isThumb() ? 4 : 8); in ARMMaterializeGV()
3070 UseFastISel |= STI.isTargetLinux() && !STI.isThumb(); in createFastISel()
3071 UseFastISel |= STI.isTargetNaCl() && !STI.isThumb(); in createFastISel()
DARMInstrInfo.td258 def IsThumb : Predicate<"Subtarget->isThumb()">,
269 def IsARM : Predicate<"!Subtarget->isThumb()">,
/external/llvm/lib/Target/ARM/MCTargetDesc/
DARMMCTargetDesc.cpp137 bool isThumb = triple.getArch() == Triple::thumb || in ParseARMTriple() local
168 isThumb = true; in ParseARMTriple()
213 isThumb = true; in ParseARMTriple()
236 if (isThumb) { in ParseARMTriple()
DARMAsmBackend.h65 bool isThumb() const { return isThumbMode; } in isThumb() function
DARMMCCodeEmitter.cpp53 bool isThumb(const MCSubtargetInfo &STI) const { in isThumb() function in __anond862df610111::ARMMCCodeEmitter
57 return isThumb(STI) && (STI.getFeatureBits() & ARM::FeatureThumb2) != 0; in isThumb2()
1687 if (isThumb(STI) && Size == 4) { in EncodeInstruction()
DARMAsmBackend.cpp258 if (isThumb()) { in writeNopData()
/external/llvm/lib/Support/
DTriple.cpp238 bool isThumb = ArchName.startswith("thumb"); in parseARMArch() local
275 .Cases("v2", "v2a", isThumb ? Triple::UnknownArch : arch) in parseARMArch()
276 .Cases("v3", "v3m", isThumb ? Triple::UnknownArch : arch) in parseARMArch()
/external/llvm/lib/Target/ARM/AsmParser/
DARMAsmParser.cpp245 bool isThumb() const { in isThumb() function in __anon0735be620111::ARMAsmParser
250 return isThumb() && (STI.getFeatureBits() & ARM::FeatureThumb2) == 0; in isThumbOne()
253 return isThumb() && (STI.getFeatureBits() & ARM::FeatureThumb2); in isThumbTwo()
4317 if (isThumb() && Val == 32) { in parseShifterImm()
5329 if ((Mnemonic == "movs" && isThumb()) || in splitMnemonic()
5388 (Mnemonic == "movs" && isThumb()))) { in splitMnemonic()
5432 (!isThumb() && in getMnemonicAcceptInfo()
5449 } else if (!isThumb()) { in getMnemonicAcceptInfo()
5481 if (Mnemonic == "mov" && Operands.size() > 4 && !isThumb() && in shouldOmitCCOutOperand()
5489 if (isThumb() && Mnemonic == "add" && Operands.size() == 5 && in shouldOmitCCOutOperand()
[all …]
/external/llvm/tools/llvm-objdump/
DMachODump.cpp6256 bool isThumb = in DisassembleMachO() local
6301 if (isThumb) in DisassembleMachO()
6314 if (isThumb) in DisassembleMachO()
/external/valgrind/VEX/priv/
Dguest_arm_toIR.c22029 Bool isThumb = (Bool)(guest_IP_ENCODED & 1); in disInstr_ARM() local
22036 __curr_is_Thumb = isThumb; in disInstr_ARM()
22038 if (isThumb) { in disInstr_ARM()
22044 if (isThumb) { in disInstr_ARM()