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
123 isThumb(false), in ARMFunctionInfo()
135 bool isThumbFunction() const { return isThumb; } in isThumbFunction()
136 bool isThumb1OnlyFunction() const { return isThumb && !hasThumb2; } in isThumb1OnlyFunction()
137 bool isThumb2Function() const { return isThumb && hasThumb2; } in isThumb2Function()
DARMMachineFunctionInfo.cpp17 : isThumb(MF.getSubtarget<ARMSubtarget>().isThumb()), in ARMFunctionInfo()
DARMSubtarget.cpp99 : !isThumb() in ARMSubtarget()
332 return (!isThumb() || hasThumb2()); in enablePostRAScheduler()
366 (isTargetLinux() && !isThumb()) || (isTargetNaCl() && !isThumb())); in useFastISel()
DARMAsmPrinter.h116 bool isThumb = TT.getArch() == Triple::thumb || in getISAEncoding() local
120 return isThumb ? ARM::DW_ISA_ARM_thumb : ARM::DW_ISA_ARM_arm; in getISAEncoding()
DARMConstantIslandPass.cpp273 bool isThumb; member in __anonbfd9fe180111::ARMConstantIslands
405 isThumb = AFI->isThumbFunction(); in runOnMachineFunction()
498 if (isThumb && !HasFarJump && AFI->isLRSpilledForFarJump()) in runOnMachineFunction()
913 BBI.Unalign = isThumb ? 1 : 2; in computeBlockSize()
915 else if (isThumb && mayOptimizeThumb2Instruction(I)) in computeBlockSize()
991 unsigned Opc = isThumb ? (isThumb2 ? ARM::t2B : ARM::tB) : ARM::B; in splitBlockBeforeInstr()
992 if (!isThumb) in splitBlockBeforeInstr()
1054 UserOffset += (isThumb ? 4 : 8); in getUserOffset()
1063 if (isThumb && U.KnownAlignment) in getUserOffset()
1390 int UncondBr = isThumb ? ((isThumb2) ? ARM::t2B : ARM::tB) : ARM::B; in createNewWater()
[all …]
DARMISelDAGToDAG.cpp343 bool isThumb2 = Subtarget->isThumb(); in PreprocessISelDAG()
484 if (Subtarget->isThumb()) { in ConstantMaterializationCost()
2325 ? (Subtarget->isThumb() ? ARM::t2SBFX : ARM::SBFX) in SelectV6T2BitfieldExtractOp()
2326 : (Subtarget->isThumb() ? ARM::t2UBFX : ARM::UBFX); in SelectV6T2BitfieldExtractOp()
2351 if (Subtarget->isThumb()) { in SelectV6T2BitfieldExtractOp()
2514 if (Subtarget->isThumb()) { in Select()
2552 unsigned Opc = ((Subtarget->isThumb() && Subtarget->hasThumb2()) ? in Select()
2583 if (Subtarget->isThumb()) { in Select()
2600 if (Subtarget->isThumb()) { in Select()
2624 unsigned Opc = (Subtarget->isThumb() && Subtarget->hasThumb2()) in Select()
[all …]
DARMSubtarget.h350 return HasDataBarrier || (hasV6Ops() && !isThumb()); in hasAnyDataBarrier()
430 bool isThumb() const { return InThumbMode; } in isThumb() function
DARMFrameLowering.cpp1104 bool isThumb = AFI->isThumbFunction(); in emitAlignedDPRCS2Spills() local
1110 unsigned Opc = isThumb ? ARM::t2SUBri : ARM::SUBri; in emitAlignedDPRCS2Spills()
1127 Opc = isThumb ? ARM::tMOVr : ARM::MOVr; in emitAlignedDPRCS2Spills()
1131 if (!isThumb) in emitAlignedDPRCS2Spills()
1247 bool isThumb = AFI->isThumbFunction(); in emitAlignedDPRCS2Restores() local
1250 unsigned Opc = isThumb ? ARM::t2ADDri : ARM::ADDri; in emitAlignedDPRCS2Restores()
1837 bool Thumb = ST->isThumb(); in adjustForSegmentedStacks()
DARMAsmPrinter.cpp437 static bool isThumb(const MCSubtargetInfo& STI) { in isThumb() function
445 const bool WasThumb = isThumb(StartInfo); in emitInlineAsmEnd()
446 if (!EndInfo || WasThumb != isThumb(*EndInfo)) { in emitInlineAsmEnd()
463 bool isThumb = TT.getArch() == Triple::thumb || in EmitStartOfAsmFile() local
467 if (!M.getModuleInlineAsm().empty() && isThumb) in EmitStartOfAsmFile()
DARMISelLowering.cpp172 if (Subtarget->isThumb() && Subtarget->hasVFP2() && in ARMTargetLowering()
777 !(Subtarget->hasDivideInARMMode() && !Subtarget->isThumb())) { in ARMTargetLowering()
1044 setMinFunctionAlignment(Subtarget->isThumb() ? 1 : 2); in ARMTargetLowering()
1830 isARMFunc = !Subtarget->isThumb() || (isStub && !Subtarget->isMClass()); in LowerCall()
1832 isLocalARMFunc = !Subtarget->isThumb() && (isDef || !ARMInterworking); in LowerCall()
1868 isARMFunc = !Subtarget->isThumb() || (isStub && !Subtarget->isMClass()); in LowerCall()
1896 if (Subtarget->isThumb()) { in LowerCall()
2515 unsigned PCAdj = Subtarget->isThumb() ? 4 : 8; in LowerBlockAddress()
2539 unsigned char PCAdj = Subtarget->isThumb() ? 4 : 8; in LowerToTLSGeneralDynamicModel()
2594 unsigned char PCAdj = Subtarget->isThumb() ? 4 : 8; in LowerToTLSExecModels()
[all …]
DARMFastISel.cpp626 (Subtarget->isThumb() ? 4 : 8); in ARMMaterializeGV()
2947 unsigned PCAdj = Subtarget->isThumb() ? 4 : 8; in ARMLowerPICELF()
2968 Opc = Subtarget->isThumb() ? ARM::tPICADD : UseGOT_PREL ? ARM::PICLDR in ARMLowerPICELF()
2974 if (!Subtarget->isThumb()) in ARMLowerPICELF()
2977 if (UseGOT_PREL && Subtarget->isThumb()) { in ARMLowerPICELF()
DARMExpandPseudoInsts.cpp765 STI->isThumb() in ExpandMI()
779 if (STI->isThumb()) in ExpandMI()
783 TII.get(STI->isThumb() ? ARM::tTAILJMPr : ARM::TAILJMPr)) in ExpandMI()
DARMBaseRegisterInfo.cpp60 return STI.isThumb() ? ARM::R7 : ARM::R11; in getFramePointerReg()
DARMTargetTransformInfo.cpp27 if (!ST->isThumb()) { in getIntImmCost()
DARMBaseInstrInfo.cpp403 bool isThumb = AFI->isThumbFunction() || AFI->isThumb2Function(); in InsertBranch() local
414 if (isThumb) in InsertBranch()
427 if (isThumb) in InsertBranch()
663 unsigned Opc = Subtarget.isThumb() in copyFromCPSR()
684 unsigned Opc = Subtarget.isThumb() in copyToCPSR()
DARMInstrInfo.td266 def IsThumb : Predicate<"Subtarget->isThumb()">,
277 def IsARM : Predicate<"!Subtarget->isThumb()">,
/external/llvm/lib/Target/ARM/MCTargetDesc/
DARMAsmBackend.h73 bool isThumb() const { return isThumbMode; } in isThumb() function
DARMMCTargetDesc.cpp135 bool isThumb = in ParseARMTriple() local
144 if (isThumb) { in ParseARMTriple()
DARMMCCodeEmitter.cpp53 bool isThumb(const MCSubtargetInfo &STI) const { in isThumb() function in __anon80cafbc60111::ARMMCCodeEmitter
57 return isThumb(STI) && STI.getFeatureBits()[ARM::FeatureThumb2]; in isThumb2()
1687 if (isThumb(STI) && Size == 4) { in encodeInstruction()
DARMAsmBackend.cpp280 if (isThumb()) { in writeNopData()
/external/llvm/lib/Target/ARM/AsmParser/
DARMAsmParser.cpp247 bool isThumb() const { in isThumb() function in __anon59ff32670111::ARMAsmParser
252 return isThumb() && !getSTI().getFeatureBits()[ARM::FeatureThumb2]; in isThumbOne()
255 return isThumb() && getSTI().getFeatureBits()[ARM::FeatureThumb2]; in isThumbTwo()
4240 if (isThumb() && Val == 32) { in parseShifterImm()
5255 if ((Mnemonic == "movs" && isThumb()) || in splitMnemonic()
5314 (Mnemonic == "movs" && isThumb()))) { in splitMnemonic()
5358 (!isThumb() && in getMnemonicAcceptInfo()
5375 } else if (!isThumb()) { in getMnemonicAcceptInfo()
5493 if (Mnemonic == "mov" && Operands.size() > 4 && !isThumb() && in shouldOmitCCOutOperand()
5501 if (isThumb() && Mnemonic == "add" && Operands.size() == 5 && in shouldOmitCCOutOperand()
[all …]
/external/clang/lib/Basic/
DTargets.cpp4397 bool isThumb() const { in isThumb() function in __anon0fec19ac0111::ARMTargetInfo
4666 .Case("thumb", isThumb()) in hasFeature()
4798 if (isThumb()) { in getTargetDefines()
4810 if (((HWDiv & HWDivThumb) && isThumb()) || in getTargetDefines()
4811 ((HWDiv & HWDivARM) && !isThumb())) { in getTargetDefines()
/external/llvm/tools/llvm-objdump/
DMachODump.cpp6170 bool isThumb = in DisassembleMachO() local
6215 if (isThumb) in DisassembleMachO()
6227 if (isThumb) in DisassembleMachO()
/external/valgrind/VEX/priv/
Dguest_arm_toIR.c22104 Bool isThumb = (Bool)(guest_IP_ENCODED & 1); in disInstr_ARM() local
22111 __curr_is_Thumb = isThumb; in disInstr_ARM()
22113 if (isThumb) { in disInstr_ARM()
22119 if (isThumb) { in disInstr_ARM()