Home
last modified time | relevance | path

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

123

/external/llvm/lib/Target/ARM/
DARMMachineFunctionInfo.h32 bool isThumb; variable
126 isThumb(false), in ARMFunctionInfo()
138 bool isThumbFunction() const { return isThumb; } in isThumbFunction()
139 bool isThumb1OnlyFunction() const { return isThumb && !hasThumb2; } in isThumb1OnlyFunction()
140 bool isThumb2Function() const { return isThumb && hasThumb2; } in isThumb2Function()
DARMSubtarget.cpp98 : !isThumb() in ARMSubtarget()
179 SupportsTailCall = !isThumb() || hasV8MBaselineOps(); in initSubtargetFeatures()
300 return (!isThumb() || hasThumb2()); in enablePostRAScheduler()
304 return hasAnyDataBarrier() && (!isThumb() || hasV8MBaselineOps()); in enableAtomicExpand()
334 (isTargetLinux() && !isThumb()) || (isTargetNaCl() && !isThumb())); in useFastISel()
DARMMachineFunctionInfo.cpp17 : isThumb(MF.getSubtarget<ARMSubtarget>().isThumb()), in ARMFunctionInfo()
DARMAsmPrinter.h117 bool isThumb = TT.getArch() == Triple::thumb || in getISAEncoding() local
121 return isThumb ? ARM::DW_ISA_ARM_thumb : ARM::DW_ISA_ARM_arm; in getISAEncoding()
DARMConstantIslandPass.cpp273 bool isThumb; member in __anon3a9945580111::ARMConstantIslands
410 isThumb = AFI->isThumbFunction(); in runOnMachineFunction()
499 if (isThumb && STI->hasV8MBaselineOps()) in runOnMachineFunction()
511 if (isThumb && !HasFarJump && AFI->isLRSpilledForFarJump()) in runOnMachineFunction()
917 BBI.Unalign = isThumb ? 1 : 2; in computeBlockSize()
919 else if (isThumb && mayOptimizeThumb2Instruction(&I)) in computeBlockSize()
995 unsigned Opc = isThumb ? (isThumb2 ? ARM::t2B : ARM::tB) : ARM::B; in splitBlockBeforeInstr()
996 if (!isThumb) in splitBlockBeforeInstr()
1058 UserOffset += (isThumb ? 4 : 8); in getUserOffset()
1067 if (isThumb && U.KnownAlignment) in getUserOffset()
[all …]
DARMISelDAGToDAG.cpp339 bool isThumb2 = Subtarget->isThumb(); in PreprocessISelDAG()
476 if (Subtarget->isThumb()) { in ConstantMaterializationCost()
2334 ? (Subtarget->isThumb() ? ARM::t2SBFX : ARM::SBFX) in tryV6T2BitfieldExtractOp()
2335 : (Subtarget->isThumb() ? ARM::t2UBFX : ARM::UBFX); in tryV6T2BitfieldExtractOp()
2360 if (Subtarget->isThumb()) { in tryV6T2BitfieldExtractOp()
2706 if (Subtarget->isThumb()) { in Select()
2745 unsigned Opc = ((Subtarget->isThumb() && Subtarget->hasThumb2()) ? in Select()
2777 if (Subtarget->isThumb()) { in Select()
2796 if (Subtarget->isThumb()) { in Select()
2818 if (N1C && N1C->hasOneUse() && Subtarget->isThumb()) { in Select()
[all …]
DARMSubtarget.h444 return HasDataBarrier || (hasV6Ops() && !isThumb()); in hasAnyDataBarrier()
548 bool isThumb() const { return InThumbMode; } in isThumb() function
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMMachineFunctionInfo.h32 bool isThumb = false; variable
143 bool isThumbFunction() const { return isThumb; } in isThumbFunction()
144 bool isThumb1OnlyFunction() const { return isThumb && !hasThumb2; } in isThumb1OnlyFunction()
145 bool isThumb2Function() const { return isThumb && hasThumb2; } in isThumb2Function()
DARMMachineFunctionInfo.cpp17 : isThumb(MF.getSubtarget<ARMSubtarget>().isThumb()), in ARMFunctionInfo()
DARMSubtarget.cpp108 : !isThumb() in ARMSubtarget()
233 SupportsTailCall = !isThumb() || hasV8MBaselineOps(); in initSubtargetFeatures()
305 if (!isThumb()) in initSubtargetFeatures()
435 (isTargetLinux() && !isThumb()) || (isTargetNaCl() && !isThumb())); in useFastISel()
DARMAsmPrinter.h138 bool isThumb = TT.isThumb() || in getISAEncoding() local
141 return isThumb ? ARM::DW_ISA_ARM_thumb : ARM::DW_ISA_ARM_arm; in getISAEncoding()
DARMBasicBlockInfo.cpp59 BBI.Unalign = isThumb ? 1 : 2; in computeBlockSize()
61 else if (isThumb && mayOptimizeThumb2Instruction(&I)) in computeBlockSize()
96 unsigned PCAdj = isThumb ? 4 : 8; in isBBInRange()
DARMBasicBlockInfo.h113 bool isThumb = false; variable
121 isThumb = MF.getInfo<ARMFunctionInfo>()->isThumbFunction(); in ARMBasicBlockUtils()
DARMSubtarget.h634 return HasDataBarrier || (hasV6Ops() && !isThumb()); in hasAnyDataBarrier()
682 if (isThumb()) in hasBaseDSP()
765 bool isThumb() const { return InThumbMode; } in isThumb() function
780 return isTargetDarwin() || (!isTargetWindows() && isThumb()); in useR7AsFramePointer()
864 if (isThumb()) in getReturnOpcode()
DARMInstructionSelector.cpp297 bool isThumb = STI.isThumb(); in OpcodeCache() local
301 #define STORE_OPCODE(VAR, OPC) VAR = isThumb ? ARM::t2##OPC : ARM::OPC in OpcodeCache()
315 STORE16 = isThumb ? ARM::t2STRHi12 : ARM::STRH; in OpcodeCache()
316 LOAD16 = isThumb ? ARM::t2LDRHi12 : ARM::LDRH; in OpcodeCache()
334 ConstPoolLoad = isThumb ? ARM::t2LDRpci : ARM::LDRi12; in OpcodeCache()
336 LDRLIT_ga_pcrel = isThumb ? ARM::tLDRLIT_ga_pcrel : ARM::LDRLIT_ga_pcrel; in OpcodeCache()
337 LDRLIT_ga_abs = isThumb ? ARM::tLDRLIT_ga_abs : ARM::LDRLIT_ga_abs; in OpcodeCache()
669 bool UseOpcodeThatLoads = Indirect && !STI.isThumb(); in selectGlobal()
808 assert(!STI.isThumb() && "Unsupported subtarget"); in selectShift()
985 assert(!STI.isThumb() && "Unsupported subtarget"); in select()
DARMConstantIslandPass.cpp219 bool isThumb; member in __anon17ff1fba0111::ARMConstantIslands
362 isThumb = AFI->isThumbFunction(); in runOnMachineFunction()
449 if (isThumb && STI->hasV8MBaselineOps()) in runOnMachineFunction()
461 if (isThumb && !HasFarJump && AFI->isLRSpilledForFarJump()) in runOnMachineFunction()
909 unsigned Opc = isThumb ? (isThumb2 ? ARM::t2B : ARM::tB) : ARM::B; in splitBlockBeforeInstr()
910 if (!isThumb) in splitBlockBeforeInstr()
979 UserOffset += (isThumb ? 4 : 8); in getUserOffset()
988 if (isThumb && U.KnownAlignment) in getUserOffset()
1295 int UncondBr = isThumb ? ((isThumb2) ? ARM::t2B : ARM::tB) : ARM::B; in createNewWater()
1296 if (!isThumb) in createNewWater()
[all …]
DARMISelDAGToDAG.cpp376 bool isThumb2 = Subtarget->isThumb(); in PreprocessISelDAG()
2824 ? (Subtarget->isThumb() ? ARM::t2SBFX : ARM::SBFX) in tryV6T2BitfieldExtractOp()
2825 : (Subtarget->isThumb() ? ARM::t2UBFX : ARM::UBFX); in tryV6T2BitfieldExtractOp()
2855 if (Subtarget->isThumb()) { in tryV6T2BitfieldExtractOp()
3035 if (!Subtarget->isThumb()) in SelectCMPZ()
3179 if (Subtarget->isThumb()) { in Select()
3231 unsigned Opc = ((Subtarget->isThumb() && Subtarget->hasThumb2()) ? in Select()
3263 if (Subtarget->isThumb()) { in Select()
3282 if (Subtarget->isThumb()) { in Select()
3304 if (N1C && N1C->hasOneUse() && Subtarget->isThumb()) { in Select()
[all …]
DARMCallLowering.cpp488 return STI.isThumb() ? ARM::tBL : ARM::BL; in getCallOpcode()
490 if (STI.isThumb()) in getCallOpcode()
525 bool IsThumb = STI.isThumb(); in lowerCall()
DARMPredicates.td139 def IsThumb : Predicate<"Subtarget->isThumb()">,
150 def IsARM : Predicate<"!Subtarget->isThumb()">,
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/MCTargetDesc/
DARMAsmBackend.h30 isThumbMode(STI.getTargetTriple().isThumb()) {} in ARMAsmBackend()
77 bool isThumb() const { return isThumbMode; } in isThumb() function
/external/swiftshader/third_party/llvm-10.0/configs/common/lib/Target/ARM/
DARMGenFastISel.inc83 if ((Subtarget->hasV5TOps()) && (!Subtarget->isThumb())) {
101 if ((Subtarget->isThumb()) && (Subtarget->isThumb1Only())) {
104 if ((!Subtarget->isThumb()) && (!Subtarget->hasV4TOps())) {
107 if ((Subtarget->hasV4TOps()) && (!Subtarget->isThumb())) {
125 if ((Subtarget->hasV5TOps()) && (!Subtarget->isThumb())) {
222 if ((!Subtarget->isThumb())) {
243 if ((!Subtarget->isThumb())) {
264 if ((!Subtarget->isThumb())) {
1597 if ((Subtarget->hasV6T2Ops()) && (!Subtarget->isThumb())) {
1615 if ((Subtarget->isThumb())) {
[all …]
DARMGenDAGISel.inc82 … 49*/ OPC_CheckPatternPredicate, 0, // (Subtarget->hasV6Ops()) && (!Subtarget->isThumb())
120 … 124*/ OPC_CheckPatternPredicate, 0, // (Subtarget->hasV6Ops()) && (!Subtarget->isThumb())
154 /* 193*/ OPC_CheckPatternPredicate, 0, // (Subtarget->hasV6Ops()) && (!Subtarget->isThumb(…
180 … 248*/ OPC_CheckPatternPredicate, 0, // (Subtarget->hasV6Ops()) && (!Subtarget->isThumb())
199 … 287*/ OPC_CheckPatternPredicate, 0, // (Subtarget->hasV6Ops()) && (!Subtarget->isThumb())
298 … 488*/ OPC_CheckPatternPredicate, 0, // (Subtarget->hasV6Ops()) && (!Subtarget->isThumb())
325 /* 543*/ OPC_CheckPatternPredicate, 0, // (Subtarget->hasV6Ops()) && (!Subtarget->isThumb(…
401 …03*/ OPC_CheckPatternPredicate, 0, // (Subtarget->hasV6Ops()) && (!Subtarget->isThumb())
466 … 866*/ OPC_CheckPatternPredicate, 0, // (Subtarget->hasV6Ops()) && (!Subtarget->isThumb())
494 … 932*/ OPC_CheckPatternPredicate, 0, // (Subtarget->hasV6Ops()) && (!Subtarget->isThumb())
[all …]
/external/llvm/lib/Target/ARM/MCTargetDesc/
DARMAsmBackend.h74 bool isThumb() const { return isThumbMode; } in isThumb() function
DARMMCTargetDesc.cpp134 bool isThumb = in ParseARMTriple() local
143 if (isThumb) { in ParseARMTriple()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DMCSectionELF.cpp113 } else if (T.isARM() || T.isThumb()) { in PrintSwitchToSection()

123