Home
last modified time | relevance | path

Searched refs:isThumb2 (Results 1 – 25 of 45) sorted by relevance

12

/external/llvm-project/llvm/lib/Target/ARM/
DARMFastISel.cpp118 bool isThumb2; member in __anon5a3a14e70111::ARMFastISel
131 isThumb2 = AFI->isThumbFunction(); in ARMFastISel()
467 unsigned Opc = isThumb2 ? ARM::t2MOVi16 : ARM::MOVi16; in ARMMaterializeInt()
468 const TargetRegisterClass *RC = isThumb2 ? &ARM::rGPRRegClass : in ARMMaterializeInt()
480 bool UseImm = isThumb2 ? (ARM_AM::getT2SOImmVal(Imm) != -1) : in ARMMaterializeInt()
483 unsigned Opc = isThumb2 ? ARM::t2MVNi : ARM::MVNi; in ARMMaterializeInt()
484 const TargetRegisterClass *RC = isThumb2 ? &ARM::rGPRRegClass : in ARMMaterializeInt()
509 if (isThumb2) in ARMMaterializeInt()
537 const TargetRegisterClass *RC = isThumb2 ? &ARM::rGPRRegClass in ARMMaterializeGV()
557 Opc = isThumb2 ? ARM::t2MOV_ga_pcrel : ARM::MOV_ga_pcrel; in ARMMaterializeGV()
[all …]
DARMConstantIslandPass.cpp217 bool isThumb2; member in __anon68dad4a80111::ARMConstantIslands
359 isThumb2 = AFI->isThumb2Function(); in runOnMachineFunction()
361 bool GenerateTBB = isThumb2 || (isThumb1 && SynthesizeThumb1TBB); in runOnMachineFunction()
439 if (isThumb2 && !STI->prefers32BitThumb()) in runOnMachineFunction()
911 unsigned Opc = isThumb ? (isThumb2 ? ARM::t2B : ARM::tB) : ARM::B; in splitBlockBeforeInstr()
1297 int UncondBr = isThumb ? ((isThumb2) ? ARM::t2B : ARM::tB) : ARM::B; in createNewWater()
2065 DeadSize += isThumb2 ? 4 : 2; in preserveBaseRegister()
2182 if (isThumb2) { in optimizeThumb2JumpTables()
2264 if (!isThumb2) in optimizeThumb2JumpTables()
2285 if (isThumb2) in optimizeThumb2JumpTables()
[all …]
DARMSubtarget.cpp466 if (isThumb2() && MF.getFunction().hasMinSize()) in getGPRAllocationOrder()
481 return isThumb2() && MF.getFunction().hasMinSize() && in ignoreCSRForAllocationOrder()
DARMLoadStoreOptimizer.cpp115 bool isThumb1, isThumb2; member
656 bool haveIBAndDA = isNotVFP && !isThumb2 && !isThumb1; in CreateLoadStoreMulti()
701 int BaseOpc = isThumb2 ? (BaseKill && Base == ARM::SP ? ARM::t2ADDspImm in CreateLoadStoreMulti()
713 BaseOpc = isThumb2 ? (BaseKill && Base == ARM::SP ? ARM::t2SUBspImm in CreateLoadStoreMulti()
1022 STI->isThumb2() && isNotVFP && isValidLSDoubleOffset(Offset); in FormCandidates()
2005 unsigned NewOpc = (isThumb2 ? ARM::t2LDMIA_RET : ARM::LDMIA_RET); in MergeReturnIntoLDM()
2006 assert(((isThumb2 && Opcode == ARM::t2LDMIA_UPD) || in MergeReturnIntoLDM()
2067 isThumb2 = AFI->isThumb2Function(); in runOnMachineFunction()
2068 isThumb1 = AFI->isThumbFunction() && !isThumb2; in runOnMachineFunction()
DThumb2ITBlockPass.cpp288 if (!STI.isThumb2()) in runOnMachineFunction()
DMVEVPTBlockPass.cpp307 if (!STI.isThumb2() || !STI.hasMVEIntegerOps()) in runOnMachineFunction()
DARMTargetTransformInfo.cpp108 return ST->isMClass() && ST->isThumb2() && L->getNumBlocks() == 1; in shouldFavorBackedgeIndex()
266 if (ST->isThumb2()) { in getIntImmCost()
355 if (ST->isThumb2() && NegImm < 1<<12) in getIntImmCostInst()
369 if (Inst && ((ST->hasV6Ops() && !ST->isThumb()) || ST->isThumb2()) && in getIntImmCostInst()
1944 if (!ST->isThumb2()) in getUnrollingPreferences()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMFastISel.cpp119 bool isThumb2; member in __anona20c775b0111::ARMFastISel
132 isThumb2 = AFI->isThumbFunction(); in ARMFastISel()
472 unsigned Opc = isThumb2 ? ARM::t2MOVi16 : ARM::MOVi16; in ARMMaterializeInt()
473 const TargetRegisterClass *RC = isThumb2 ? &ARM::rGPRRegClass : in ARMMaterializeInt()
485 bool UseImm = isThumb2 ? (ARM_AM::getT2SOImmVal(Imm) != -1) : in ARMMaterializeInt()
488 unsigned Opc = isThumb2 ? ARM::t2MVNi : ARM::MVNi; in ARMMaterializeInt()
489 const TargetRegisterClass *RC = isThumb2 ? &ARM::rGPRRegClass : in ARMMaterializeInt()
518 if (isThumb2) in ARMMaterializeInt()
546 const TargetRegisterClass *RC = isThumb2 ? &ARM::rGPRRegClass in ARMMaterializeGV()
566 Opc = isThumb2 ? ARM::t2MOV_ga_pcrel : ARM::MOV_ga_pcrel; in ARMMaterializeGV()
[all …]
DARMConstantIslandPass.cpp221 bool isThumb2; member in __anon0a91d81c0111::ARMConstantIslands
364 isThumb2 = AFI->isThumb2Function(); in runOnMachineFunction()
367 bool GenerateTBB = isThumb2 || (isThumb1 && SynthesizeThumb1TBB); in runOnMachineFunction()
445 if (isThumb2 && !STI->prefers32BitThumb()) in runOnMachineFunction()
909 unsigned Opc = isThumb ? (isThumb2 ? ARM::t2B : ARM::tB) : ARM::B; in splitBlockBeforeInstr()
1295 int UncondBr = isThumb ? ((isThumb2) ? ARM::t2B : ARM::tB) : ARM::B; in createNewWater()
2092 DeadSize += isThumb2 ? 4 : 2; in preserveBaseRegister()
2209 if (isThumb2) { in optimizeThumb2JumpTables()
2291 if (!isThumb2) in optimizeThumb2JumpTables()
2312 if (isThumb2) in optimizeThumb2JumpTables()
[all …]
DARMSubtarget.cpp461 if (isThumb2() && MF.getFunction().hasMinSize()) in getGPRAllocationOrder()
476 return isThumb2() && MF.getFunction().hasMinSize() && in ignoreCSRForAllocationOrder()
DMVEVPTBlockPass.cpp182 if (!STI.isThumb2() || !STI.hasMVEIntegerOps()) in runOnMachineFunction()
DARMLoadStoreOptimizer.cpp113 bool isThumb1, isThumb2; member
654 bool haveIBAndDA = isNotVFP && !isThumb2 && !isThumb1; in CreateLoadStoreMulti()
699 int BaseOpc = isThumb2 ? (BaseKill && Base == ARM::SP ? ARM::t2ADDspImm in CreateLoadStoreMulti()
711 BaseOpc = isThumb2 ? (BaseKill && Base == ARM::SP ? ARM::t2SUBspImm in CreateLoadStoreMulti()
1020 STI->isThumb2() && isNotVFP && isValidLSDoubleOffset(Offset); in FormCandidates()
1953 unsigned NewOpc = (isThumb2 ? ARM::t2LDMIA_RET : ARM::LDMIA_RET); in MergeReturnIntoLDM()
1954 assert(((isThumb2 && Opcode == ARM::t2LDMIA_UPD) || in MergeReturnIntoLDM()
2015 isThumb2 = AFI->isThumb2Function(); in runOnMachineFunction()
2016 isThumb1 = AFI->isThumbFunction() && !isThumb2; in runOnMachineFunction()
DARMTargetTransformInfo.h99 return ST->isMClass() && ST->isThumb2() && L->getNumBlocks() == 1; in shouldFavorBackedgeIndex()
DThumb2ITBlockPass.cpp288 if (!STI.isThumb2()) in runOnMachineFunction()
DARMBaseInstrInfo.cpp136 if (Subtarget.isThumb2() || Subtarget.hasVFP2Base()) in CreateTargetPostRAHazardRecognizer()
900 Opc = Subtarget.isThumb2() ? ARM::tMOVr : ARM::MOVr; in copyPhysReg()
1512 bool isThumb2 = Subtarget.isThumb2(); in expandMEMCPY() local
1521 LDM = BuildMI(*BB, MI, dl, TII->get(isThumb2 ? ARM::t2LDMIA_UPD in expandMEMCPY()
1526 LDM = BuildMI(*BB, MI, dl, TII->get(isThumb2 ? ARM::t2LDMIA : ARM::LDMIA)); in expandMEMCPY()
1531 STM = BuildMI(*BB, MI, dl, TII->get(isThumb2 ? ARM::t2STMIA_UPD in expandMEMCPY()
1536 STM = BuildMI(*BB, MI, dl, TII->get(isThumb2 ? ARM::t2STMIA : ARM::STMIA)); in expandMEMCPY()
2028 if (Subtarget.isThumb2() && TBB.getParent()->getFunction().hasMinSize()) { in isProfitableToIfCvt()
2064 if (Subtarget.isThumb2() && TCycles + FCycles > 4) { in isProfitableToIfCvt()
2085 return Subtarget.isThumb2() ? divideCeil(NumInsts, 4) * 2 : 0; in extraSizeToPredicateInstructions()
[all …]
/external/llvm/lib/Target/ARM/
DARMFastISel.cpp85 bool isThumb2; member in __anon2fff76f90111::ARMFastISel
98 isThumb2 = AFI->isThumbFunction(); in ARMFastISel()
480 unsigned Opc = isThumb2 ? ARM::t2MOVi16 : ARM::MOVi16; in ARMMaterializeInt()
481 const TargetRegisterClass *RC = isThumb2 ? &ARM::rGPRRegClass : in ARMMaterializeInt()
493 bool UseImm = isThumb2 ? (ARM_AM::getT2SOImmVal(Imm) != -1) : in ARMMaterializeInt()
496 unsigned Opc = isThumb2 ? ARM::t2MVNi : ARM::MVNi; in ARMMaterializeInt()
497 const TargetRegisterClass *RC = isThumb2 ? &ARM::rGPRRegClass : in ARMMaterializeInt()
526 if (isThumb2) in ARMMaterializeInt()
550 const TargetRegisterClass *RC = isThumb2 ? &ARM::rGPRRegClass in ARMMaterializeGV()
570 Opc = isThumb2 ? ARM::t2MOV_ga_pcrel : ARM::MOV_ga_pcrel; in ARMMaterializeGV()
[all …]
DARMConstantIslandPass.cpp275 bool isThumb2; member in __anond6c7753a0111::ARMConstantIslands
412 isThumb2 = AFI->isThumb2Function(); in runOnMachineFunction()
426 if (isThumb2 && AdjustJumpTableBlocks) { in runOnMachineFunction()
495 if (isThumb2 && !STI->prefers32BitThumb()) in runOnMachineFunction()
503 if (isThumb2) in runOnMachineFunction()
995 unsigned Opc = isThumb ? (isThumb2 ? ARM::t2B : ARM::tB) : ARM::B; in splitBlockBeforeInstr()
1394 int UncondBr = isThumb ? ((isThumb2) ? ARM::t2B : ARM::tB) : ARM::B; in createNewWater()
2300 assert (isThumb2 && "Adjusting for TB[BH] but not in Thumb2?"); in adjustJTTargetBlockForward()
DARMLoadStoreOptimizer.cpp98 bool isThumb1, isThumb2; member
624 bool haveIBAndDA = isNotVFP && !isThumb2 && !isThumb1; in CreateLoadStoreMulti()
670 isThumb2 ? ARM::t2ADDri : in CreateLoadStoreMulti()
678 isThumb2 ? ARM::t2SUBri : in CreateLoadStoreMulti()
975 STI->isThumb2() && isNotVFP && isValidLSDoubleOffset(Offset); in FormCandidates()
1875 unsigned NewOpc = (isThumb2 ? ARM::t2LDMIA_RET : ARM::LDMIA_RET); in MergeReturnIntoLDM()
1876 assert(((isThumb2 && Opcode == ARM::t2LDMIA_UPD) || in MergeReturnIntoLDM()
1924 isThumb2 = AFI->isThumb2Function(); in runOnMachineFunction()
1925 isThumb1 = AFI->isThumbFunction() && !isThumb2; in runOnMachineFunction()
DThumb2ITBlockPass.cpp277 if (!STI.isThumb2()) in runOnMachineFunction()
DARMSubtarget.h550 bool isThumb2() const { return InThumbMode && HasThumb2; } in isThumb2() function
/external/llvm/lib/Target/ARM/MCTargetDesc/
DARMMCCodeEmitter.cpp56 bool isThumb2(const MCSubtargetInfo &STI) const { in isThumb2() function in __anon85c674e80111::ARMMCCodeEmitter
453 if (isThumb2(STI)) { in NEONThumb2DataIPostEncoder()
473 if (isThumb2(STI)) { in NEONThumb2LoadStorePostEncoder()
487 if (isThumb2(STI)) { in NEONThumb2DupPostEncoder()
500 if (isThumb2(STI)) { in NEONThumb2V8PostEncoder()
512 if (isThumb2(STI)) { in VFPThumb2PostEncoder()
701 if (isThumb2(STI)) in getBranchTargetOpValue()
891 if (isThumb2(STI)) in getAddrModeImm12OpValue()
1252 if (isThumb2(STI)) in getAddrMode5OpValue()
1292 if (isThumb2(STI)) in getAddrMode5FP16OpValue()
/external/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/
DARMMCCodeEmitter.cpp67 bool isThumb2(const MCSubtargetInfo &STI) const { in isThumb2() function in __anonb64162560111::ARMMCCodeEmitter
483 if (isThumb2(STI)) { in NEONThumb2DataIPostEncoder()
503 if (isThumb2(STI)) { in NEONThumb2LoadStorePostEncoder()
517 if (isThumb2(STI)) { in NEONThumb2DupPostEncoder()
530 if (isThumb2(STI)) { in NEONThumb2V8PostEncoder()
542 if (isThumb2(STI)) { in VFPThumb2PostEncoder()
739 if (isThumb2(STI)) in getBranchTargetOpValue()
991 if (isThumb2(STI)) in getAddrModeImm12OpValue()
1428 if (isThumb2(STI)) in getAddrMode5OpValue()
1468 if (isThumb2(STI)) in getAddrMode5FP16OpValue()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/MCTargetDesc/
DARMMCCodeEmitter.cpp67 bool isThumb2(const MCSubtargetInfo &STI) const { in isThumb2() function in __anon5cae99ca0111::ARMMCCodeEmitter
491 if (isThumb2(STI)) { in NEONThumb2DataIPostEncoder()
511 if (isThumb2(STI)) { in NEONThumb2LoadStorePostEncoder()
525 if (isThumb2(STI)) { in NEONThumb2DupPostEncoder()
538 if (isThumb2(STI)) { in NEONThumb2V8PostEncoder()
550 if (isThumb2(STI)) { in VFPThumb2PostEncoder()
747 if (isThumb2(STI)) in getBranchTargetOpValue()
999 if (isThumb2(STI)) in getAddrModeImm12OpValue()
1436 if (isThumb2(STI)) in getAddrMode5OpValue()
1476 if (isThumb2(STI)) in getAddrMode5FP16OpValue()
/external/swiftshader/third_party/llvm-10.0/configs/common/lib/Target/ARM/
DARMGenDAGISel.inc90 /* 67*/ OPC_CheckPatternPredicate, 1, // (Subtarget->isThumb2())
128 /* 142*/ OPC_CheckPatternPredicate, 1, // (Subtarget->isThumb2())
226 /* 342*/ OPC_CheckPatternPredicate, 2, // (Subtarget->hasDSP()) && (Subtarget->isThumb2())
253 … 400*/ OPC_CheckPatternPredicate, 2, // (Subtarget->hasDSP()) && (Subtarget->isThumb2())
272 … 439*/ OPC_CheckPatternPredicate, 2, // (Subtarget->hasDSP()) && (Subtarget->isThumb2())
351 /* 597*/ OPC_CheckPatternPredicate, 2, // (Subtarget->hasDSP()) && (Subtarget->isThumb2())
377 /* 653*/ OPC_CheckPatternPredicate, 2, // (Subtarget->hasDSP()) && (Subtarget->isThumb2(…
410 … 725*/ OPC_CheckPatternPredicate, 2, // (Subtarget->hasDSP()) && (Subtarget->isThumb2())
429 /* 770*/ OPC_CheckPatternPredicate, 1, // (Subtarget->isThumb2())
447 /* 820*/ OPC_CheckPatternPredicate, 1, // (Subtarget->isThumb2())
[all …]
DARMGenFastISel.inc219 if ((Subtarget->isThumb2())) {
240 if ((Subtarget->isThumb2())) {
261 if ((Subtarget->isThumb2())) {
1594 if ((Subtarget->isThumb2())) {
1639 if ((Subtarget->isThumb2())) {
1683 if ((Subtarget->isThumb2())) {
2791 if ((Subtarget->isThumb2())) {
2891 if ((Subtarget->isThumb2())) {
2939 if ((Subtarget->isThumb2()) && (!Subtarget->hasVFP2Base())) {
2942 if ((Subtarget->hasVFP2Base()) && (Subtarget->isThumb2())) {
[all …]

12