Home
last modified time | relevance | path

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

1234

/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 __anond6c7753a0111::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 …]
/external/llvm-project/llvm/lib/Target/ARM/
DARMMachineFunctionInfo.h32 bool isThumb = false; variable
144 bool isThumbFunction() const { return isThumb; } in isThumbFunction()
145 bool isThumb1OnlyFunction() const { return isThumb && !hasThumb2; } in isThumb1OnlyFunction()
146 bool isThumb2Function() const { return isThumb && hasThumb2; } in isThumb2Function()
DARMMachineFunctionInfo.cpp17 : isThumb(MF.getSubtarget<ARMSubtarget>().isThumb()), in ARMFunctionInfo()
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()
DARMAsmPrinter.h138 bool isThumb = TT.isThumb() || in getISAEncoding() local
141 return isThumb ? ARM::DW_ISA_ARM_thumb : ARM::DW_ISA_ARM_arm; in getISAEncoding()
DARMSubtarget.cpp108 : !isThumb() in ARMSubtarget()
233 SupportsTailCall = !isThumb() || hasV8MBaselineOps(); in initSubtargetFeatures()
308 if (!isThumb()) in initSubtargetFeatures()
440 (isTargetLinux() && !isThumb()) || (isTargetNaCl() && !isThumb())); in useFastISel()
DARMBasicBlockInfo.h113 bool isThumb = false; variable
121 isThumb = MF.getInfo<ARMFunctionInfo>()->isThumbFunction(); in ARMBasicBlockUtils()
DARMSubtarget.h652 return HasDataBarrier || (hasV6Ops() && !isThumb()); in hasAnyDataBarrier()
700 if (isThumb()) in hasBaseDSP()
786 bool isThumb() const { return InThumbMode; } in isThumb() function
801 return isTargetDarwin() || (!isTargetWindows() && isThumb()); in useR7AsFramePointer()
885 if (isThumb()) in getReturnOpcode()
DARMInstructionSelector.cpp295 bool isThumb = STI.isThumb(); in OpcodeCache() local
299 #define STORE_OPCODE(VAR, OPC) VAR = isThumb ? ARM::t2##OPC : ARM::OPC in OpcodeCache()
313 STORE16 = isThumb ? ARM::t2STRHi12 : ARM::STRH; in OpcodeCache()
314 LOAD16 = isThumb ? ARM::t2LDRHi12 : ARM::LDRH; in OpcodeCache()
332 ConstPoolLoad = isThumb ? ARM::t2LDRpci : ARM::LDRi12; in OpcodeCache()
334 LDRLIT_ga_pcrel = isThumb ? ARM::tLDRLIT_ga_pcrel : ARM::LDRLIT_ga_pcrel; in OpcodeCache()
335 LDRLIT_ga_abs = isThumb ? ARM::tLDRLIT_ga_abs : ARM::LDRLIT_ga_abs; in OpcodeCache()
667 bool UseOpcodeThatLoads = Indirect && !STI.isThumb(); in selectGlobal()
806 assert(!STI.isThumb() && "Unsupported subtarget"); in selectShift()
983 assert(!STI.isThumb() && "Unsupported subtarget"); in select()
/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()
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()
DARMSubtarget.cpp108 : !isThumb() in ARMSubtarget()
233 SupportsTailCall = !isThumb() || hasV8MBaselineOps(); in initSubtargetFeatures()
305 if (!isThumb()) in initSubtargetFeatures()
435 (isTargetLinux() && !isThumb()) || (isTargetNaCl() && !isThumb())); in useFastISel()
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()
/external/llvm-project/clang/lib/Basic/Targets/
DARM.cpp164 bool ARMTargetInfo::isThumb() const { in isThumb() function in ARMTargetInfo
393 if (isThumb()) in initFeatureMap()
549 .Case("thumb", isThumb()) in hasFeature()
735 if (isThumb()) { in getTargetDefines()
747 if (((HWDiv & HWDivThumb) && isThumb()) || in getTargetDefines()
748 ((HWDiv & HWDivARM) && !isThumb())) { in getTargetDefines()
941 if (isThumb()) { in validateAsmConstraint()
961 if (isThumb()) { in validateAsmConstraint()
974 if (isThumb() && !supportsThumb2()) in validateAsmConstraint()
980 if (isThumb()) { in validateAsmConstraint()
[all …]
/external/llvm-project/llvm/lib/BinaryFormat/
DMachO.cpp27 assert(T.isARM() || T.isThumb()); in getARMSubType()
84 if (T.isARM() || T.isThumb()) in getCPUType()
100 if (T.isARM() || T.isThumb()) in getCPUSubType()
/external/llvm-project/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/llvm/lib/Target/ARM/MCTargetDesc/
DARMAsmBackend.h30 isThumbMode(STI.getTargetTriple().isThumb()) {} in ARMAsmBackend()
77 bool isThumb() const { return isThumbMode; } in isThumb() function

1234