Home
last modified time | relevance | path

Searched refs:Opc (Results 1 – 25 of 249) sorted by relevance

12345678910

/freebsd-12.1/contrib/llvm/lib/Target/Mips/
H A DMipsSEInstrInfo.cpp51 (Opc == Mips::LWC1) || (Opc == Mips::LDC1) || (Opc == Mips::LDC164)) { in isLoadFromStackSlot()
73 (Opc == Mips::SWC1) || (Opc == Mips::SDC1) || (Opc == Mips::SDC164)) { in isStoreToStackSlot()
652 return (Opc == Mips::BEQ || Opc == Mips::BEQ_MM || Opc == Mips::BNE || in getAnalyzableBrOpc()
653 Opc == Mips::BNE_MM || Opc == Mips::BGTZ || Opc == Mips::BGEZ || in getAnalyzableBrOpc()
654 Opc == Mips::BLTZ || Opc == Mips::BLEZ || Opc == Mips::BEQ64 || in getAnalyzableBrOpc()
655 Opc == Mips::BNE64 || Opc == Mips::BGTZ64 || Opc == Mips::BGEZ64 || in getAnalyzableBrOpc()
656 Opc == Mips::BLTZ64 || Opc == Mips::BLEZ64 || Opc == Mips::BC1T || in getAnalyzableBrOpc()
657 Opc == Mips::BC1F || Opc == Mips::B || Opc == Mips::J || in getAnalyzableBrOpc()
667 Opc == Mips::BLTZC64 || Opc == Mips::BLEZC64 || Opc == Mips::BC || in getAnalyzableBrOpc()
668 Opc == Mips::BBIT0 || Opc == Mips::BBIT1 || Opc == Mips::BBIT032 || in getAnalyzableBrOpc()
[all …]
H A DMips16InstrInfo.cpp74 unsigned Opc = 0; in copyPhysReg() local
120 unsigned Opc = 0; in storeRegToStack() local
138 unsigned Opc = 0; in loadRegFromStack() local
164 switch (Opc) { in getOppositeBranchOpc()
439 return (Opc == Mips::BeqzRxImmX16 || Opc == Mips::BimmX16 || in getAnalyzableBrOpc()
441 Opc == Mips::Bteqz16 || Opc == Mips::Btnez16 || in getAnalyzableBrOpc()
442 Opc == Mips::BeqzRxImm16 || Opc == Mips::BnezRxImm16 || in getAnalyzableBrOpc()
443 Opc == Mips::BnezRxImmX16 || Opc == Mips::BteqzX16 || in getAnalyzableBrOpc()
447 Opc == Mips::BtnezX16 || Opc == Mips::BtnezT8CmpX16 || in getAnalyzableBrOpc()
448 Opc == Mips::BtnezT8CmpiX16 || Opc == Mips::BtnezT8SltX16 || in getAnalyzableBrOpc()
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/NVPTX/
H A DNVPTXISelDAGToDAG.cpp747 unsigned Opc; in SelectAddrSpaceCast() local
776 unsigned Opc; in SelectAddrSpaceCast() local
2346 unsigned Opc = 0; in tryTextureIntrinsic() local
2351 Opc = NVPTX::TEX_1D_F32_S32; in tryTextureIntrinsic()
2354 Opc = NVPTX::TEX_1D_F32_F32; in tryTextureIntrinsic()
2865 unsigned Opc = 0; in trySurfaceIntrinsic() local
3552 unsigned Opc; in tryBFE() local
3557 Opc = NVPTX::BFE_S32rii; in tryBFE()
3559 Opc = NVPTX::BFE_U32rii; in tryBFE()
3563 Opc = NVPTX::BFE_S64rii; in tryBFE()
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFastISel.cpp598 unsigned Opc = in fastMaterializeAlloca() local
648 unsigned Opc; in fastLowerArguments() local
750 unsigned Opc; in selectCall() local
891 unsigned Opc; in selectSelect() local
988 unsigned Opc; in selectICmp() local
1057 unsigned Opc; in selectFCmp() local
1154 unsigned Opc; in selectLoad() local
1167 Opc = WebAssembly::LOAD_I32; in selectLoad()
1171 Opc = WebAssembly::LOAD_I64; in selectLoad()
1210 unsigned Opc; in selectStore() local
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/ARM/
H A DARMBaseInstrInfo.h478 return Opc == ARM::B || Opc == ARM::tB || Opc == ARM::t2B; in isUncondBranchOpcode()
483 return Opc == ARM::Bcc || Opc == ARM::tBcc || Opc == ARM::t2Bcc; in isCondBranchOpcode()
487 return Opc == ARM::BR_JTr || Opc == ARM::BR_JTm_i12 || in isJumpTableBranchOpcode()
488 Opc == ARM::BR_JTm_rs || Opc == ARM::BR_JTadd || Opc == ARM::tBR_JTr || in isJumpTableBranchOpcode()
489 Opc == ARM::t2BR_JT; in isJumpTableBranchOpcode()
494 return Opc == ARM::BX || Opc == ARM::MOVPCRX || Opc == ARM::tBRIND; in isIndirectBranchOpcode()
498 return Opc == ARM::tPOP_RET || Opc == ARM::LDMIA_RET || in isPopOpcode()
499 Opc == ARM::t2LDMIA_RET || Opc == ARM::tPOP || Opc == ARM::LDMIA_UPD || in isPopOpcode()
500 Opc == ARM::t2LDMIA_UPD || Opc == ARM::VLDMDIA_UPD; in isPopOpcode()
504 return Opc == ARM::tPUSH || Opc == ARM::t2STMDB_UPD || in isPushOpcode()
[all …]
H A DARMFastISel.cpp432 unsigned Opc; in ARMMaterializeFP() local
435 Opc = ARM::FCONSTD; in ARMMaterializeFP()
563 unsigned Opc; in ARMMaterializeGV() local
921 unsigned Opc; in ARMEmitLoad() local
994 Opc = ARM::VLDRD; in ARMEmitLoad()
1580 unsigned Opc; in SelectIToFP() local
1605 unsigned Opc; in SelectFPToI() local
1768 unsigned Opc; in SelectBinaryIntOp() local
1819 unsigned Opc; in SelectBinaryFPOp() local
2699 unsigned Opc = ITP->Opc; in ARMEmitIntExt() local
[all …]
/freebsd-12.1/contrib/llvm/lib/CodeGen/GlobalISel/
H A DCSEMIRBuilder.cpp53 if (!CSEInfo || !CSEInfo->shouldCSE(Opc)) in canPerformCSEForOpc()
87 B.addNodeIDOpcode(Opc); in profileMBBOpcode()
95 profileMBBOpcode(B, Opc); in profileEverything()
141 switch (Opc) { in buildInstr()
167 if (!canPerformCSEForOpc(Opc)) in buildInstr()
195 constexpr unsigned Opc = TargetOpcode::G_CONSTANT; in buildConstant() local
196 if (!canPerformCSEForOpc(Opc)) in buildConstant()
201 profileMBBOpcode(ProfBuilder, Opc); in buildConstant()
215 constexpr unsigned Opc = TargetOpcode::G_FCONSTANT; in buildFConstant() local
216 if (!canPerformCSEForOpc(Opc)) in buildFConstant()
[all …]
H A DCSEInfo.cpp32 bool CSEConfig::shouldCSEOpc(unsigned Opc) { in shouldCSEOpc() argument
33 switch (Opc) { in shouldCSEOpc()
62 return Opc == TargetOpcode::G_CONSTANT; in shouldCSEOpc()
148 void GISelCSEInfo::countOpcodeHit(unsigned Opc) { in countOpcodeHit() argument
150 if (OpcodeHitTable.count(Opc)) in countOpcodeHit()
151 OpcodeHitTable[Opc] += 1; in countOpcodeHit()
153 OpcodeHitTable[Opc] = 1; in countOpcodeHit()
202 bool GISelCSEInfo::shouldCSE(unsigned Opc) const { in shouldCSE()
204 if (!isPreISelGenericOpcode(Opc)) in shouldCSE()
207 return CSEOpt->shouldCSEOpc(Opc); in shouldCSE()
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/PowerPC/
H A DPPCFastISel.cpp468 unsigned Opc; in PPCEmitLoad() local
506 Opc = PPC::LD; in PPCEmitLoad()
568 switch (Opc) { in PPCEmitLoad()
637 unsigned Opc; in PPCEmitStore() local
718 switch (Opc) { in PPCEmitStore()
1095 unsigned Opc; in SelectIToFP() local
1139 unsigned Opc; in SelectIToFP() local
1234 unsigned Opc; in SelectFPToI() local
1287 unsigned Opc; in SelectBinaryIntOp() local
1821 unsigned Opc; in PPCEmitIntExt() local
[all …]
H A DPPCReduceCRLogicals.cpp366 unsigned Opc = MI.getOpcode(); in isCRLogical() local
367 return Opc == PPC::CRAND || Opc == PPC::CRNAND || Opc == PPC::CROR || in isCRLogical()
368 Opc == PPC::CRXOR || Opc == PPC::CRNOR || Opc == PPC::CREQV || in isCRLogical()
369 Opc == PPC::CRANDC || Opc == PPC::CRORC || Opc == PPC::CRSET || in isCRLogical()
370 Opc == PPC::CRUNSET || Opc == PPC::CR6SET || Opc == PPC::CR6UNSET; in isCRLogical()
475 unsigned Opc = UseMI.getOpcode(); in createCRLogicalOpInfo() local
476 if (Opc == PPC::ISEL || Opc == PPC::ISEL8) in createCRLogicalOpInfo()
478 if (Opc == PPC::BC || Opc == PPC::BCn || Opc == PPC::BCLR || in createCRLogicalOpInfo()
479 Opc == PPC::BCLRn) in createCRLogicalOpInfo()
654 unsigned Opc = CRI.MI->getOpcode(); in splitBlockOnBinaryCROp() local
[all …]
H A DPPCInstrInfo.cpp2338 Opc == PPC::CMPWI || Opc == PPC::CMPLWI || in getForwardingDefMI()
2340 Opc == PPC::ADDI || Opc == PPC::ADDI8 || in getForwardingDefMI()
2341 Opc == PPC::ORI || Opc == PPC::ORI8 || in getForwardingDefMI()
2342 Opc == PPC::XORI || Opc == PPC::XORI8 || in getForwardingDefMI()
2351 if ((Opc == PPC::OR || Opc == PPC::OR8) && in getForwardingDefMI()
2610 if (Opc == PPC::ORI || Opc == PPC::ORI8) in convertToImmediateForm()
3158 if (Opc != PPC::ADDItocL && Opc != PPC::ADDI && Opc != PPC::ADDI8) in isDefMIElgibleForForwarding()
3406 Opc == PPC::SLW || Opc == PPC::SLWo || Opc == PPC::SRW || Opc == PPC::SRWo; in transformToImmFormFedByLI()
3408 Opc == PPC::SLD || Opc == PPC::SLDo || Opc == PPC::SRD || Opc == PPC::SRDo; in transformToImmFormFedByLI()
3410 Opc == PPC::SLDo || Opc == PPC::SRDo; in transformToImmFormFedByLI()
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/AArch64/
H A DAArch64InstrInfo.cpp157 switch (Opc) { in getBranchDisplacementBits()
492 return Opc; in canFoldIntoCSel()
886 switch (Opc) { in isSEHInstruction()
1694 switch (Opc) { in isUnscaledLdSt()
1752 switch (Opc) { in convertToFlagSettingOpc()
2089 switch (Opc) { in getOffsetStride()
2905 unsigned Opc; in emitFrameOffset() local
3425 switch (Opc) { in isCombineInstrSettingFlag()
3444 switch (Opc) { in isCombineInstrCandidate32()
3463 switch (Opc) { in isCombineInstrCandidate64()
[all …]
H A DAArch64ConditionalCompares.cpp620 unsigned Opc = 0; in convert() local
624 Opc = AArch64::SUBSWri; in convert()
628 Opc = AArch64::SUBSXri; in convert()
633 const MCInstrDesc &MCID = TII->get(Opc); in convert()
652 unsigned Opc = 0; in convert() local
658 case AArch64::SUBSWri: Opc = AArch64::CCMPWi; break; in convert()
659 case AArch64::SUBSWrr: Opc = AArch64::CCMPWr; break; in convert()
660 case AArch64::SUBSXri: Opc = AArch64::CCMPXi; break; in convert()
672 Opc = AArch64::CCMPWi; in convert()
678 Opc = AArch64::CCMPXi; in convert()
[all …]
H A DAArch64ConditionOptimizer.cpp217 static int getComplementOpc(int Opc) { in getComplementOpc() argument
218 switch (Opc) { in getComplementOpc()
244 unsigned Opc = CmpMI->getOpcode(); in adjustCmp() local
248 bool Negative = (Opc == AArch64::ADDSWri || Opc == AArch64::ADDSXri); in adjustCmp()
263 Opc = getComplementOpc(Opc); in adjustCmp()
266 return CmpInfo(NewImm, Opc, getAdjustedCmp(Cmp)); in adjustCmp()
273 unsigned Opc; in modifyCmp() local
275 std::tie(Imm, Opc, Cmp) = Info; in modifyCmp()
280 BuildMI(*MBB, CmpMI, CmpMI->getDebugLoc(), TII->get(Opc)) in modifyCmp()
H A DAArch64FastISel.cpp1669 unsigned Opc; in emitLogicalOp_ri() local
1721 unsigned Opc; in emitLogicalOp_rs() local
1819 unsigned Opc; in emitLoad() local
2059 unsigned Opc; in emitStoreRelease() local
2110 unsigned Opc; in emitStore() local
2653 if (!Opc) in optimizeSelect()
2682 unsigned Opc; in selectSelect() local
2852 unsigned Opc; in selectFPToInt() local
2899 unsigned Opc; in selectIntToFP() local
4378 unsigned Opc; in emitIntExt() local
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DConversionChecker.cpp79 BinaryOperator::Opcode Opc = B->getOpcode(); in checkPreStmt() local
80 if (Opc == BO_Assign) { in checkPreStmt()
83 } else if (Opc == BO_AddAssign || Opc == BO_SubAssign) { in checkPreStmt()
86 } else if (Opc == BO_MulAssign) { in checkPreStmt()
89 } else if (Opc == BO_DivAssign || Opc == BO_RemAssign) { in checkPreStmt()
92 } else if (Opc == BO_AndAssign) { in checkPreStmt()
95 } else if (Opc == BO_OrAssign || Opc == BO_XorAssign) { in checkPreStmt()
/freebsd-12.1/contrib/llvm/lib/Target/X86/
H A DX86FastISel.cpp331 unsigned Opc = 0; in X86FastEmitLoad() local
508 unsigned Opc = 0; in X86FastEmitStore() local
696 if (Opc) { in X86FastEmitStore()
2300 unsigned Opc; in X86FastEmitPseudoSelect() local
2519 unsigned Opc = in X86SelectFPExt() local
2534 unsigned Opc = in X86SelectFPTrunc() local
2694 unsigned Opc; in fastLowerIntrinsicCall() local
2839 unsigned Opc; in fastLowerIntrinsicCall() local
3036 unsigned Opc; in fastLowerIntrinsicCall() local
3727 unsigned Opc = 0; in X86MaterializeInt() local
[all …]
H A DX86InstrInfo.cpp1064 unsigned Opc; in convertToThreeAddress() local
1156 unsigned Opc; in convertToThreeAddress() local
1220 unsigned Opc; in convertToThreeAddress() local
1491 unsigned Opc; in commuteInstructionImpl() local
2116 switch (Opc) { in getCondFromSETOpc()
2139 switch (Opc) { in getCondFromCMovOpc()
3069 if (!Opc) in copyPhysReg()
3072 if (Opc) { in copyPhysReg()
5076 if ((Opc == X86::MOVSSrm || Opc == X86::VMOVSSrm || Opc == X86::VMOVSSZrm) && in isNonFoldablePartialRegisterLoad()
5127 if ((Opc == X86::MOVSDrm || Opc == X86::VMOVSDrm || Opc == X86::VMOVSDZrm) && in isNonFoldablePartialRegisterLoad()
[all …]
H A DX86RegisterBankInfo.cpp163 auto Opc = MI.getOpcode(); in getInstrMapping() local
167 if (!isPreISelGenericOpcode(Opc) || Opc == TargetOpcode::G_PHI) { in getInstrMapping()
173 switch (Opc) { in getInstrMapping()
195 switch (Opc) { in getInstrMapping()
211 bool FirstArgIsFP = Opc == TargetOpcode::G_SITOFP; in getInstrMapping()
212 bool SecondArgIsFP = Opc == TargetOpcode::G_FPTOSI; in getInstrMapping()
241 Ty1.getSizeInBits() == 128 && Opc == TargetOpcode::G_TRUNC; in getInstrMapping()
245 Opc == TargetOpcode::G_ANYEXT; in getInstrMapping()
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DSIFoldOperands.cpp139 unsigned Opc = UseMI.getOpcode(); in isInlineConstantIfFolded() local
140 switch (Opc) { in isInlineConstantIfFolded()
151 unsigned Opc = IsFMA ? in isInlineConstantIfFolded() local
289 if ((Opc == AMDGPU::V_MAC_F32_e64 || Opc == AMDGPU::V_MAC_F16_e64 || in tryAddToFoldList()
305 MI->setDesc(TII->get(Opc)); in tryAddToFoldList()
656 unsigned Opc = MI->getOpcode(); in tryConstantFoldOp() local
657 if (Opc == AMDGPU::V_NOT_B32_e64 || Opc == AMDGPU::V_NOT_B32_e32 || in tryConstantFoldOp()
658 Opc == AMDGPU::S_NOT_B32) { in tryConstantFoldOp()
718 Opc == AMDGPU::S_OR_B32) { in tryConstantFoldOp()
768 unsigned Opc = MI->getOpcode(); in tryFoldInst() local
[all …]
/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DXRayInstrumentation.cpp96 unsigned Opc = 0; in replaceRetWithPatchableRet() local
101 Opc = TargetOpcode::PATCHABLE_RET; in replaceRetWithPatchableRet()
106 Opc = TargetOpcode::PATCHABLE_TAIL_CALL; in replaceRetWithPatchableRet()
108 if (Opc != 0) { in replaceRetWithPatchableRet()
109 auto MIB = BuildMI(MBB, T, T.getDebugLoc(), TII->get(Opc)) in replaceRetWithPatchableRet()
127 unsigned Opc = 0; in prependRetWithPatchableExit() local
130 Opc = TargetOpcode::PATCHABLE_FUNCTION_EXIT; in prependRetWithPatchableExit()
133 Opc = TargetOpcode::PATCHABLE_TAIL_CALL; in prependRetWithPatchableExit()
135 if (Opc != 0) { in prependRetWithPatchableExit()
138 BuildMI(MBB, T, T.getDebugLoc(), TII->get(Opc)); in prependRetWithPatchableExit()
/freebsd-12.1/contrib/llvm/lib/Target/Hexagon/
H A DHexagonGenPredicate.cpp117 bool isScalarCmp(unsigned Opc);
144 switch (Opc) { in getPredForm()
186 unsigned Opc = MI->getOpcode(); in isConvertibleToPredForm() local
187 if (getPredForm(Opc) != 0) in isConvertibleToPredForm()
194 switch (Opc) { in isConvertibleToPredForm()
210 switch (Opc) { in collectPredicateGPR()
255 unsigned Opc = DefI->getOpcode(); in getPredRegFor() local
256 if (Opc == Hexagon::C2_tfrpr || Opc == TargetOpcode::COPY) { in getPredRegFor()
285 switch (Opc) { in isScalarCmp()
369 unsigned Opc = MI->getOpcode(); in convertToPredForm() local
[all …]
H A DHexagonBitSimplify.cpp469 switch (Opc) { in getUsedBitsInStore()
635 switch (Opc) { in getUsedBits()
1088 switch (Opc) { in isLossyShiftLeft()
1148 switch (Opc) { in isLossyShiftRight()
1398 switch (Opc) { in isTfrConst()
1650 switch (Opc) { in isCopyReg()
1673 switch (Opc) { in propagateRegCopy()
1943 switch (Opc) { in genStoreImmediate()
1978 switch (Opc) { in genStoreImmediate()
1997 switch (Opc) { in genStoreImmediate()
[all …]
/freebsd-12.1/contrib/llvm/utils/TableGen/
H A DWebAssemblyDisassemblerEmitter.cpp38 auto Opc = static_cast<unsigned>( in emitWebAssemblyDisassemblerTables() local
41 if (Opc == 0xFFFFFFFF) in emitWebAssemblyDisassemblerTables()
43 assert(Opc <= 0xFFFF); in emitWebAssemblyDisassemblerTables()
44 auto Prefix = Opc >> 8; in emitWebAssemblyDisassemblerTables()
45 Opc = Opc & 0xFF; in emitWebAssemblyDisassemblerTables()
46 auto &CGIP = OpcodeTable[Prefix][Opc]; in emitWebAssemblyDisassemblerTables()
/freebsd-12.1/contrib/llvm/lib/Target/RISCV/Utils/
H A DRISCVMatInt.h21 unsigned Opc; member
24 Inst(unsigned Opc, int64_t Imm) : Opc(Opc), Imm(Imm) {} in Inst()

12345678910