Home
last modified time | relevance | path

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

12

/external/swiftshader/third_party/LLVM/lib/Target/ARM/
DARMMachineFunctionInfo.h31 bool isThumb; variable
100 isThumb(false), in ARMFunctionInfo()
111 isThumb(MF.getTarget().getSubtarget<ARMSubtarget>().isThumb()), in ARMFunctionInfo()
121 bool isThumbFunction() const { return isThumb; } in isThumbFunction()
122 bool isThumb1OnlyFunction() const { return isThumb && !hasThumb2; } in isThumb1OnlyFunction()
123 bool isThumb2Function() const { return isThumb && hasThumb2; } in isThumb2Function()
DARMFastISel.cpp93 bool isThumb; member in __anond2f0e1fb0111::ARMFastISel
104 isThumb = AFI->isThumbFunction(); in ARMFastISel()
553 unsigned Opc = isThumb ? ARM::t2MOVi16 : ARM::MOVi16; in ARMMaterializeInt()
568 if (isThumb) in ARMMaterializeInt()
589 if (!isThumb && (RelocM == Reloc::PIC_)) return 0; in ARMMaterializeGV()
599 unsigned PCAdj = (RelocM != Reloc::PIC_) ? 0 : (Subtarget->isThumb() ? 4 : 8); in ARMMaterializeGV()
609 if (isThumb) { in ARMMaterializeGV()
626 if (isThumb) in ARMMaterializeGV()
674 unsigned Opc = isThumb ? ARM::t2ADDri : ARM::ADDri; in TargetMaterializeAlloca()
857 TargetRegisterClass *RC = isThumb ? ARM::tGPRRegisterClass : in ARMSimplifyAddress()
[all …]
DARMConstantIslandPass.cpp171 bool isThumb; member in __anon65740abc0111::ARMConstantIslands
233 if (!isThumb) in verify()
249 unsigned UserOffset = GetOffsetOf(U.MI) + (isThumb ? 4 : 8); in verify()
279 isThumb = AFI->isThumbFunction(); in runOnMachineFunction()
368 if (isThumb && !HasFarJump && AFI->isLRSpilledForFarJump()) in runOnMachineFunction()
653 if (isThumb && in InitialFunctionScan()
678 if (isThumb && in GetOffsetOf()
741 unsigned Opc = isThumb ? (isThumb2 ? ARM::t2B : ARM::tB) : ARM::B; in SplitBlockBeforeInstr()
742 if (!isThumb) in SplitBlockBeforeInstr()
853 if (isThumb && UserOffset%4 !=0) { in OffsetIsInRange()
[all …]
DARMAsmPrinter.h108 return Subtarget->isThumb() ? in getISAEncoding()
DARMFrameLowering.cpp416 ? (STI.isThumb() ? ARM::tTAILJMPd : ARM::TAILJMPd) in emitEpilogue()
417 : (STI.isThumb() ? ARM::tTAILJMPdND : ARM::TAILJMPdND); in emitEpilogue()
429 if (STI.isThumb()) MIB.addImm(ARMCC::AL).addReg(0); in emitEpilogue()
432 TII.get(STI.isThumb() ? ARM::tTAILJMPr : ARM::TAILJMPr)). in emitEpilogue()
436 TII.get(STI.isThumb() ? ARM::tTAILJMPrND : ARM::TAILJMPrND)). in emitEpilogue()
DARMSubtarget.h232 bool isThumb() const { return InThumbMode; } in isThumb() function
DARMISelDAGToDAG.cpp2048 unsigned Opc = isSigned ? (Subtarget->isThumb() ? ARM::t2SBFX : ARM::SBFX) in SelectV6T2BitfieldExtractOp()
2049 : (Subtarget->isThumb() ? ARM::t2UBFX : ARM::UBFX); in SelectV6T2BitfieldExtractOp()
2233 if (Subtarget->isThumb()) { in SelectCMOVOp()
2257 if (Subtarget->isThumb()) { in SelectCMOVOp()
2292 Opc = Subtarget->isThumb() in SelectCMOVOp()
2408 if (Subtarget->isThumb()) { in Select()
2458 unsigned Opc = ((Subtarget->isThumb() && Subtarget->hasThumb2()) ? in Select()
2488 if (Subtarget->isThumb()) { in Select()
2504 if (Subtarget->isThumb()) { in Select()
2527 unsigned Opc = (Subtarget->isThumb() && Subtarget->hasThumb2()) in Select()
[all …]
DARMSubtarget.cpp121 if (!isThumb() || hasThumb2()) in ARMSubtarget()
DARMISelLowering.cpp186 if (Subtarget->isThumb() && Subtarget->hasVFP2()) { in ARMTargetLowering()
619 (Subtarget->hasV6Ops() && !Subtarget->isThumb())) { in ARMTargetLowering()
759 setMinFunctionAlignment(Subtarget->isThumb() ? 1 : 2); in ARMTargetLowering()
1455 isARMFunc = !Subtarget->isThumb() || isStub; in LowerCall()
1457 isLocalARMFunc = !Subtarget->isThumb() && (!isExt || !ARMInterworking); in LowerCall()
1484 isARMFunc = !Subtarget->isThumb() || isStub; in LowerCall()
1513 if (Subtarget->isThumb()) { in LowerCall()
1958 unsigned PCAdj = Subtarget->isThumb() ? 4 : 8; in LowerBlockAddress()
1981 unsigned char PCAdj = Subtarget->isThumb() ? 4 : 8; in LowerToTLSGeneralDynamicModel()
2031 unsigned char PCAdj = Subtarget->isThumb() ? 4 : 8; in LowerToTLSExecModels()
[all …]
/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 __anonff0ab0900111::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
DARMExpandPseudoInsts.cpp768 bool IsThumb = STI->isThumb(); in ExpandCMP_SWAP()
885 bool IsThumb = STI->isThumb(); in ExpandCMP_SWAP_64()
1014 STI->isThumb() in ExpandMI()
1028 if (STI->isThumb()) in ExpandMI()
1032 TII.get(STI->isThumb() ? ARM::tTAILJMPr : ARM::TAILJMPr)) in ExpandMI()
1629 if (STI->isThumb()) in ExpandMI()
1636 if (STI->isThumb()) in ExpandMI()
1643 if (STI->isThumb()) in ExpandMI()
DARMFrameLowering.cpp1096 bool isThumb = AFI->isThumbFunction(); in emitAlignedDPRCS2Spills() local
1102 unsigned Opc = isThumb ? ARM::t2SUBri : ARM::SUBri; in emitAlignedDPRCS2Spills()
1119 Opc = isThumb ? ARM::tMOVr : ARM::MOVr; in emitAlignedDPRCS2Spills()
1123 if (!isThumb) in emitAlignedDPRCS2Spills()
1239 bool isThumb = AFI->isThumbFunction(); in emitAlignedDPRCS2Restores() local
1242 unsigned Opc = isThumb ? ARM::t2ADDri : ARM::ADDri; in emitAlignedDPRCS2Restores()
1849 bool Thumb = ST->isThumb(); in adjustForSegmentedStacks()
/external/swiftshader/third_party/LLVM/lib/Target/ARM/MCTargetDesc/
DARMMCTargetDesc.cpp45 bool isThumb = false; in ParseARMTriple() local
49 isThumb = true; in ParseARMTriple()
85 if (isThumb) { in ParseARMTriple()
DARMAsmBackend.cpp122 bool isThumb() const { return isThumbMode; } in isThumb() function in __anon1906b9ee0111::ARMAsmBackend
142 if (isThumb()) { in WriteNopData()
/external/llvm/lib/Target/ARM/MCTargetDesc/
DARMMCTargetDesc.cpp134 bool isThumb = in ParseARMTriple() local
143 if (isThumb) { in ParseARMTriple()
DARMAsmBackend.h74 bool isThumb() const { return isThumbMode; } in isThumb() function
DARMMCCodeEmitter.cpp53 bool isThumb(const MCSubtargetInfo &STI) const { in isThumb() function in __anon10e2a63e0111::ARMMCCodeEmitter
57 return isThumb(STI) && STI.getFeatureBits()[ARM::FeatureThumb2]; in isThumb2()
1044 Kind = MCFixupKind(isThumb(STI) ? ARM::fixup_t2_movt_hi16 in getHiLo16ImmOpValue()
1048 Kind = MCFixupKind(isThumb(STI) ? ARM::fixup_t2_movw_lo16 in getHiLo16ImmOpValue()
1687 if (isThumb(STI) && Size == 4) { in encodeInstruction()
/external/swiftshader/third_party/LLVM/lib/Target/ARM/AsmParser/
DARMAsmParser.cpp104 bool isThumb() const { in isThumb() function in __anonb2dad38b0111::ARMAsmParser
109 return isThumb() && (STI.getFeatureBits() & ARM::FeatureThumb2) == 0; in isThumbOne()
112 return isThumb() && (STI.getFeatureBits() & ARM::FeatureThumb2); in isThumbTwo()
2549 if (isThumb() && Val == 32) { in parseShifterImm()
3520 if ((Mnemonic == "movs" && isThumb()) || in splitMnemonic()
3569 (Mnemonic == "movs" && isThumb()))) { in splitMnemonic()
3612 (!isThumb() && (Mnemonic == "smull" || Mnemonic == "mov" || in getMnemonicAcceptInfo()
3624 (Mnemonic == "clrex" && !isThumb()) || in getMnemonicAcceptInfo()
3628 Mnemonic == "stc2" || Mnemonic == "stc2l") && !isThumb()) || in getMnemonicAcceptInfo()
3630 !isThumb()) || in getMnemonicAcceptInfo()
[all …]
/external/llvm/lib/Target/ARM/AsmParser/
DARMAsmParser.cpp247 bool isThumb() const { in isThumb() function in __anon7f4633df0111::ARMAsmParser
252 return isThumb() && !getSTI().getFeatureBits()[ARM::FeatureThumb2]; in isThumbOne()
255 return isThumb() && getSTI().getFeatureBits()[ARM::FeatureThumb2]; in isThumbTwo()
4379 if (isThumb() && Val == 32) { in parseShifterImm()
4815 if (!op.isSignedOffset<11, 1>() && isThumb() && hasV8MBaseline()) in cvtThumbBranches()
4822 if (!op.isSignedOffset<8, 1>() && isThumb() && hasV8MBaseline()) in cvtThumbBranches()
5391 if ((Mnemonic == "movs" && isThumb()) || in splitMnemonic()
5452 (Mnemonic == "movs" && isThumb()))) { in splitMnemonic()
5496 (!isThumb() && in getMnemonicAcceptInfo()
5514 } else if (!isThumb()) { in getMnemonicAcceptInfo()
[all …]

12