/external/swiftshader/third_party/llvm-16.0/configs/common/lib/Target/PowerPC/ |
D | PPCGenSubtargetInfo.inc | 13290 MI->getOpcode() == PPC::FADD 13291 || MI->getOpcode() == PPC::FADDS 13292 || MI->getOpcode() == PPC::FADDS_rec 13293 || MI->getOpcode() == PPC::FADD_rec 13294 || MI->getOpcode() == PPC::FCFID 13295 || MI->getOpcode() == PPC::FCFIDS 13296 || MI->getOpcode() == PPC::FCFIDS_rec 13297 || MI->getOpcode() == PPC::FCFIDU 13298 || MI->getOpcode() == PPC::FCFIDUS 13299 || MI->getOpcode() == PPC::FCFIDUS_rec [all …]
|
/external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/CodeGen/GlobalISel/ |
D | GenericMachineInstrs.h | 35 return isPreISelGenericOpcode(MI->getOpcode()); in classof() 66 switch (MI->getOpcode()) { in classof() 85 switch (MI->getOpcode()) { in classof() 100 return MI->getOpcode() == TargetOpcode::G_LOAD; in classof() 108 return MI->getOpcode() == TargetOpcode::G_SEXTLOAD || in classof() 109 MI->getOpcode() == TargetOpcode::G_ZEXTLOAD; in classof() 117 return MI->getOpcode() == TargetOpcode::G_SEXTLOAD; in classof() 125 return MI->getOpcode() == TargetOpcode::G_ZEXTLOAD; in classof() 136 return MI->getOpcode() == TargetOpcode::G_STORE; in classof() 149 return MI->getOpcode() == TargetOpcode::G_UNMERGE_VALUES; in classof() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/ |
D | AArch64MacroFusion.cpp | 25 if (SecondMI.getOpcode() != AArch64::Bcc) in isArithmeticBccPair() 32 switch (FirstMI->getOpcode()) { in isArithmeticBccPair() 66 if (SecondMI.getOpcode() != AArch64::CBZW && in isArithmeticCbzPair() 67 SecondMI.getOpcode() != AArch64::CBZX && in isArithmeticCbzPair() 68 SecondMI.getOpcode() != AArch64::CBNZW && in isArithmeticCbzPair() 69 SecondMI.getOpcode() != AArch64::CBNZX) in isArithmeticCbzPair() 76 switch (FirstMI->getOpcode()) { in isArithmeticCbzPair() 117 switch (SecondMI.getOpcode()) { in isAESPair() 121 return FirstMI == nullptr || FirstMI->getOpcode() == AArch64::AESErr; in isAESPair() 125 return FirstMI == nullptr || FirstMI->getOpcode() == AArch64::AESDrr; in isAESPair() [all …]
|
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/AArch64/ |
D | AArch64MacroFusion.cpp | 24 if (SecondMI.getOpcode() != AArch64::Bcc) in isArithmeticBccPair() 39 switch (FirstMI->getOpcode()) { in isArithmeticBccPair() 73 if (SecondMI.getOpcode() != AArch64::CBZW && in isArithmeticCbzPair() 74 SecondMI.getOpcode() != AArch64::CBZX && in isArithmeticCbzPair() 75 SecondMI.getOpcode() != AArch64::CBNZW && in isArithmeticCbzPair() 76 SecondMI.getOpcode() != AArch64::CBNZX) in isArithmeticCbzPair() 83 switch (FirstMI->getOpcode()) { in isArithmeticCbzPair() 124 switch (SecondMI.getOpcode()) { in isAESPair() 128 return FirstMI == nullptr || FirstMI->getOpcode() == AArch64::AESErr; in isAESPair() 132 return FirstMI == nullptr || FirstMI->getOpcode() == AArch64::AESDrr; in isAESPair() [all …]
|
/external/ow2-asm/asm/src/test/java/org/objectweb/asm/ |
D | TypeTest.java | 385 assertEquals(BALOAD, Type.BOOLEAN_TYPE.getOpcode(IALOAD)); in testGetOpcode() 386 assertEquals(BALOAD, Type.BYTE_TYPE.getOpcode(IALOAD)); in testGetOpcode() 387 assertEquals(CALOAD, Type.CHAR_TYPE.getOpcode(IALOAD)); in testGetOpcode() 388 assertEquals(SALOAD, Type.SHORT_TYPE.getOpcode(IALOAD)); in testGetOpcode() 389 assertEquals(IALOAD, Type.INT_TYPE.getOpcode(IALOAD)); in testGetOpcode() 390 assertEquals(FALOAD, Type.FLOAT_TYPE.getOpcode(IALOAD)); in testGetOpcode() 391 assertEquals(LALOAD, Type.LONG_TYPE.getOpcode(IALOAD)); in testGetOpcode() 392 assertEquals(DALOAD, Type.DOUBLE_TYPE.getOpcode(IALOAD)); in testGetOpcode() 393 assertEquals(AALOAD, Type.getType("Ljava/lang/Object;").getOpcode(IALOAD)); in testGetOpcode() 394 assertEquals(AALOAD, Type.getObjectType("java/lang/Object").getOpcode(IALOAD)); in testGetOpcode() [all …]
|
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/SPIRV/ |
D | SPIRVInstrInfo.cpp | 29 switch (MI.getOpcode()) { in isConstantInstr() 55 return MI.getOpcode() == SPIRV::OpTypeForwardPointer; in isTypeDeclInstr() 60 switch (MI.getOpcode()) { in isDecorationInstr() 73 switch (MI.getOpcode()) { in isHeaderInstr() 95 switch (MI.getOpcode()) { in canUseFastMathFlags() 114 switch (MI.getOpcode()) { in canUseNSW() 131 switch (MI.getOpcode()) { in canUseNUW() 183 if (MI->getOpcode() == SPIRV::OpBranch) { in analyzeBranch() 186 } else if (MI->getOpcode() == SPIRV::OpBranchConditional) { in analyzeBranch() 248 if (MI.getOpcode() == SPIRV::GET_ID || MI.getOpcode() == SPIRV::GET_fID || in expandPostRAPseudo() [all …]
|
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/VE/ |
D | VEISelDAGToDAG.cpp | 81 if (Addr.getOpcode() == ISD::FrameIndex) in INITIALIZE_PASS() 83 if (Addr.getOpcode() == ISD::TargetExternalSymbol || in INITIALIZE_PASS() 84 Addr.getOpcode() == ISD::TargetGlobalAddress || in INITIALIZE_PASS() 85 Addr.getOpcode() == ISD::TargetGlobalTLSAddress) in INITIALIZE_PASS() 145 if (Addr.getOpcode() == ISD::TargetExternalSymbol || in selectADDRzii() 146 Addr.getOpcode() == ISD::TargetGlobalAddress || in selectADDRzii() 147 Addr.getOpcode() == ISD::TargetGlobalTLSAddress) in selectADDRzii() 176 if (Addr.getOpcode() == ISD::TargetExternalSymbol || in selectADDRzi() 177 Addr.getOpcode() == ISD::TargetGlobalAddress || in selectADDRzi() 178 Addr.getOpcode() == ISD::TargetGlobalTLSAddress) in selectADDRzi() [all …]
|
/external/llvm/include/llvm/CodeGen/ |
D | SelectionDAGNodes.h | 163 inline unsigned getOpcode() const; 461 unsigned getOpcode() const { return (unsigned short)NodeType; } 868 inline unsigned SDValue::getOpcode() const { 869 return Node->getOpcode(); 963 return isBinOpWithFlags(N->getOpcode()); 1006 return N->getOpcode() == ISD::ADDRSPACECAST; 1090 return getOperand(getOpcode() == ISD::STORE ? 2 : 1); 1097 return N->getOpcode() == ISD::LOAD || 1098 N->getOpcode() == ISD::STORE || 1099 N->getOpcode() == ISD::PREFETCH || [all …]
|
/external/llvm/unittests/Transforms/Utils/ |
D | IntegerDivision.cpp | 42 EXPECT_TRUE(BB->front().getOpcode() == Instruction::SDiv); in TEST() 47 EXPECT_TRUE(BB->front().getOpcode() == Instruction::AShr); in TEST() 50 EXPECT_TRUE(Quotient && Quotient->getOpcode() == Instruction::Sub); in TEST() 72 EXPECT_TRUE(BB->front().getOpcode() == Instruction::UDiv); in TEST() 77 EXPECT_TRUE(BB->front().getOpcode() == Instruction::ICmp); in TEST() 80 EXPECT_TRUE(Quotient && Quotient->getOpcode() == Instruction::PHI); in TEST() 102 EXPECT_TRUE(BB->front().getOpcode() == Instruction::SRem); in TEST() 107 EXPECT_TRUE(BB->front().getOpcode() == Instruction::AShr); in TEST() 110 EXPECT_TRUE(Remainder && Remainder->getOpcode() == Instruction::Sub); in TEST() 132 EXPECT_TRUE(BB->front().getOpcode() == Instruction::URem); in TEST() [all …]
|
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/RISCV/ |
D | RISCVMergeBaseOffset.cpp | 91 if (Hi.getOpcode() != RISCV::LUI && Hi.getOpcode() != RISCV::AUIPC) in INITIALIZE_PASS() 96 Hi.getOpcode() == RISCV::AUIPC ? RISCVII::MO_PCREL_HI : RISCVII::MO_HI; in INITIALIZE_PASS() 108 if (Lo->getOpcode() != RISCV::ADDI) in INITIALIZE_PASS() 112 if (Hi.getOpcode() == RISCV::LUI) { in INITIALIZE_PASS() 117 assert(Hi.getOpcode() == RISCV::AUIPC); in INITIALIZE_PASS() 143 if (Hi.getOpcode() != RISCV::AUIPC) in foldOffset() 176 assert((TailAdd.getOpcode() == RISCV::ADD) && "Expected ADD instruction!"); in foldLargeOffset() 186 if (OffsetTail.getOpcode() == RISCV::ADDI || in foldLargeOffset() 187 OffsetTail.getOpcode() == RISCV::ADDIW) { in foldLargeOffset() 197 if (OffsetLui.getOpcode() != RISCV::LUI || in foldLargeOffset() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
D | SelectionDAGNodes.h | 187 inline unsigned getOpcode() const; 663 unsigned getOpcode() const { return (unsigned short)NodeType; } 895 if (TopologicalPrune && M->getOpcode() != ISD::TokenFactor && (NId > 0) && 1149 inline unsigned SDValue::getOpcode() const { 1150 return Node->getOpcode(); 1281 return N->getOpcode() == ISD::ADDRSPACECAST; 1388 return getOperand(getOpcode() == ISD::STORE ? 2 : 1); 1395 return N->getOpcode() == ISD::LOAD || 1396 N->getOpcode() == ISD::STORE || 1397 N->getOpcode() == ISD::PREFETCH || [all …]
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
D | Instruction.h | 111 unsigned getOpcode() const { return getValueID() - InstructionVal; } in getOpcode() function 113 const char *getOpcodeName() const { return getOpcodeName(getOpcode()); } in getOpcodeName() 114 bool isTerminator() const { return isTerminator(getOpcode()); } in isTerminator() 115 bool isBinaryOp() const { return isBinaryOp(getOpcode()); } in isBinaryOp() 116 bool isShift() { return isShift(getOpcode()); } in isShift() 117 bool isCast() const { return isCast(getOpcode()); } in isCast() 118 bool isFuncletPad() const { return isFuncletPad(getOpcode()); } in isFuncletPad() 137 return getOpcode() == Shl || getOpcode() == LShr; in isLogicalShift() 142 return getOpcode() == AShr; in isArithmeticShift() 147 return getOpcode() == And || getOpcode() == Or || getOpcode() == Xor; in isBitwiseLogicOp() [all …]
|
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/BPF/ |
D | BPFMIChecking.cpp | 158 if (MI.getOpcode() != BPF::XADDW && in processAtomicInsts() 159 MI.getOpcode() != BPF::XADDD && in processAtomicInsts() 160 MI.getOpcode() != BPF::XADDW32) in processAtomicInsts() 189 if (MI.getOpcode() != BPF::XFADDW32 && MI.getOpcode() != BPF::XFADDD && in processAtomicInsts() 190 MI.getOpcode() != BPF::XFANDW32 && MI.getOpcode() != BPF::XFANDD && in processAtomicInsts() 191 MI.getOpcode() != BPF::XFXORW32 && MI.getOpcode() != BPF::XFXORD && in processAtomicInsts() 192 MI.getOpcode() != BPF::XFORW32 && MI.getOpcode() != BPF::XFORD) in processAtomicInsts() 200 switch (MI.getOpcode()) { in processAtomicInsts()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCBranchSelector.cpp | 147 if (I->getOpcode() == PPC::BCC && !I->getOperand(2).isImm()) in runOnMachineFunction() 149 else if ((I->getOpcode() == PPC::BC || I->getOpcode() == PPC::BCn) && in runOnMachineFunction() 152 else if ((I->getOpcode() == PPC::BDNZ8 || I->getOpcode() == PPC::BDNZ || in runOnMachineFunction() 153 I->getOpcode() == PPC::BDZ8 || I->getOpcode() == PPC::BDZ) && in runOnMachineFunction() 192 if (I->getOpcode() == PPC::BCC) { in runOnMachineFunction() 203 } else if (I->getOpcode() == PPC::BC) { in runOnMachineFunction() 206 } else if (I->getOpcode() == PPC::BCn) { in runOnMachineFunction() 209 } else if (I->getOpcode() == PPC::BDNZ) { in runOnMachineFunction() 211 } else if (I->getOpcode() == PPC::BDNZ8) { in runOnMachineFunction() 213 } else if (I->getOpcode() == PPC::BDZ) { in runOnMachineFunction() [all …]
|
/external/llvm/include/llvm/IR/ |
D | Operator.h | 48 unsigned getOpcode() const { in getOpcode() function 50 return I->getOpcode(); in getOpcode() 51 return cast<ConstantExpr>(this)->getOpcode(); in getOpcode() 56 static unsigned getOpcode(const Value *V) { in getOpcode() function 58 return I->getOpcode(); in getOpcode() 60 return CE->getOpcode(); in getOpcode() 107 return I->getOpcode() == Instruction::Add || in classof() 108 I->getOpcode() == Instruction::Sub || in classof() 109 I->getOpcode() == Instruction::Mul || in classof() 110 I->getOpcode() == Instruction::Shl; in classof() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | Instruction.h | 125 unsigned getOpcode() const { return getValueID() - InstructionVal; } 127 const char *getOpcodeName() const { return getOpcodeName(getOpcode()); } 128 bool isTerminator() const { return isTerminator(getOpcode()); } 129 bool isUnaryOp() const { return isUnaryOp(getOpcode()); } 130 bool isBinaryOp() const { return isBinaryOp(getOpcode()); } 131 bool isIntDivRem() const { return isIntDivRem(getOpcode()); } 132 bool isShift() const { return isShift(getOpcode()); } 133 bool isCast() const { return isCast(getOpcode()); } 134 bool isFuncletPad() const { return isFuncletPad(getOpcode()); } 136 return isExceptionalTerminator(getOpcode()); [all …]
|
/external/llvm/lib/Target/Lanai/ |
D | LanaiISelDAGToDAG.cpp | 114 if (Addr.getOpcode() == ISD::OR && in selectAddrSls() 115 Addr.getOperand(1).getOpcode() == LanaiISD::SMALL) { in selectAddrSls() 164 if ((Addr.getOpcode() == ISD::TargetExternalSymbol || in selectAddrRiSpls() 165 Addr.getOpcode() == ISD::TargetGlobalAddress)) in selectAddrRiSpls() 169 ISD::NodeType AluOperator = static_cast<ISD::NodeType>(Addr.getOpcode()); in selectAddrRiSpls() 193 Addr.getOperand(1).getOpcode() == LanaiISD::SMALL) in selectAddrRiSpls() 215 if (Addr.getOpcode() == ISD::FrameIndex) in selectAddrRr() 219 if ((Addr.getOpcode() == ISD::TargetExternalSymbol || in selectAddrRr() 220 Addr.getOpcode() == ISD::TargetGlobalAddress)) in selectAddrRr() 224 ISD::NodeType AluOperator = static_cast<ISD::NodeType>(Addr.getOpcode()); in selectAddrRr() [all …]
|
/external/llvm/include/llvm/MC/ |
D | MCInstrAnalysis.h | 35 return Info->get(Inst.getOpcode()).isBranch(); in isBranch() 39 return Info->get(Inst.getOpcode()).isConditionalBranch(); in isConditionalBranch() 43 return Info->get(Inst.getOpcode()).isUnconditionalBranch(); in isUnconditionalBranch() 47 return Info->get(Inst.getOpcode()).isIndirectBranch(); in isIndirectBranch() 51 return Info->get(Inst.getOpcode()).isCall(); in isCall() 55 return Info->get(Inst.getOpcode()).isReturn(); in isReturn() 59 return Info->get(Inst.getOpcode()).isTerminator(); in isTerminator()
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonNewValueJump.cpp | 133 if (II->getOpcode() == TargetOpcode::KILL) in INITIALIZE_PASS_DEPENDENCY() 183 if (MII->getOpcode() == Hexagon::J2_call) in commonChecksToProhibitNewValueJump() 197 if (MII->getOpcode() == TargetOpcode::KILL || in commonChecksToProhibitNewValueJump() 198 MII->getOpcode() == TargetOpcode::PHI || in commonChecksToProhibitNewValueJump() 199 MII->getOpcode() == TargetOpcode::COPY) in commonChecksToProhibitNewValueJump() 206 if (MII->getOpcode() == Hexagon::LDriw_pred || in commonChecksToProhibitNewValueJump() 207 MII->getOpcode() == Hexagon::STriw_pred) in commonChecksToProhibitNewValueJump() 230 if (!(isUInt<5>(v) || ((MI.getOpcode() == Hexagon::C2_cmpeqi || in canCompareBeNewValueJump() 231 MI.getOpcode() == Hexagon::C2_cmpgti) && in canCompareBeNewValueJump() 248 if (def->getOpcode() == TargetOpcode::COPY) in canCompareBeNewValueJump() [all …]
|
/external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/CodeGen/ |
D | SelectionDAGNodes.h | 208 inline unsigned getOpcode() const; 644 unsigned getOpcode() const { return (unsigned)NodeType; } 695 bool isVPOpcode() const { return ISD::isVPOpcode(getOpcode()); } 878 if (TopologicalPrune && M->getOpcode() != ISD::TokenFactor && (NId > 0) && 1137 inline unsigned SDValue::getOpcode() const { 1138 return Node->getOpcode(); 1270 return N->getOpcode() == ISD::ADDRSPACECAST; 1381 switch (getOpcode()) { 1400 switch (N->getOpcode()) { 1459 unsigned Op = getOpcode(); [all …]
|
/external/llvm/lib/Target/AMDGPU/ |
D | R600EmitClauseMarkers.cpp | 42 switch (MI.getOpcode()) { in OccupiedDwords() 56 if (TII->isLDSRetInstr(MI.getOpcode())) in OccupiedDwords() 59 if (TII->isVector(MI) || TII->isCubeOp(MI.getOpcode()) || in OccupiedDwords() 60 TII->isReductionOp(MI.getOpcode())) in OccupiedDwords() 75 if (TII->isALUInstr(MI.getOpcode())) in isALU() 77 if (TII->isVector(MI) || TII->isCubeOp(MI.getOpcode())) in isALU() 79 switch (MI.getOpcode()) { in isALU() 93 switch (MI.getOpcode()) { in IsTrivialInst() 123 if (!TII->isALUInstr(MI.getOpcode()) && MI.getOpcode() != AMDGPU::DOT_4) in SubstituteKCacheBank() 129 (TII->isALUInstr(MI.getOpcode()) || MI.getOpcode() == AMDGPU::DOT_4) && in SubstituteKCacheBank() [all …]
|
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/AMDGPU/ |
D | R600EmitClauseMarkers.cpp | 38 switch (MI.getOpcode()) { in OccupiedDwords() 52 if (TII->isLDSRetInstr(MI.getOpcode())) in OccupiedDwords() 55 if (TII->isVector(MI) || TII->isCubeOp(MI.getOpcode()) || in OccupiedDwords() 56 TII->isReductionOp(MI.getOpcode())) in OccupiedDwords() 71 if (TII->isALUInstr(MI.getOpcode())) in isALU() 73 if (TII->isVector(MI) || TII->isCubeOp(MI.getOpcode())) in isALU() 75 switch (MI.getOpcode()) { in isALU() 89 switch (MI.getOpcode()) { in IsTrivialInst() 119 if (!TII->isALUInstr(MI.getOpcode()) && MI.getOpcode() != R600::DOT_4) in SubstituteKCacheBank() 125 (TII->isALUInstr(MI.getOpcode()) || MI.getOpcode() == R600::DOT_4) && in SubstituteKCacheBank() [all …]
|
/external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/IR/ |
D | Operator.h | 41 unsigned getOpcode() const { in getOpcode() function 43 return I->getOpcode(); in getOpcode() 44 return cast<ConstantExpr>(this)->getOpcode(); in getOpcode() 49 static unsigned getOpcode(const Value *V) { in getOpcode() function 51 return I->getOpcode(); in getOpcode() 53 return CE->getOpcode(); in getOpcode() 110 return I->getOpcode() == Instruction::Add || in classof() 111 I->getOpcode() == Instruction::Sub || in classof() 112 I->getOpcode() == Instruction::Mul || in classof() 113 I->getOpcode() == Instruction::Shl; in classof() [all …]
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineShifts.cpp | 72 bool IsSecondShiftLeft = SecondShift->getOpcode() == Instruction::Shl; in canEvaluateShiftedShift() 153 switch (I->getOpcode()) { in CanEvaluateShifted() 205 switch (I->getOpcode()) { in GetShiftedValue() 324 bool isLeftShift = I.getOpcode() == Instruction::Shl; in FoldShiftByConstant() 339 if (I.getOpcode() != Instruction::AShr && in FoldShiftByConstant() 357 if (BO->getOpcode() == Instruction::Mul && isLeftShift) in FoldShiftByConstant() 383 Value *NSh = Builder->CreateBinOp(I.getOpcode(), TrOp, ShAmt,I.getName()); in FoldShiftByConstant() 397 if (I.getOpcode() == Instruction::Shl) in FoldShiftByConstant() 400 assert(I.getOpcode() == Instruction::LShr && "Unknown logical shift"); in FoldShiftByConstant() 419 switch (Op0BO->getOpcode()) { in FoldShiftByConstant() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/ |
D | PPCMIPeephole.cpp | 164 unsigned Opcode = MI->getOpcode(); in getKnownLeadingZeroCount() 313 switch (MI.getOpcode()) { in simplifyCode() 358 unsigned DefOpc = DefMI->getOpcode(); in simplifyCode() 371 if (LoadMI && LoadMI->getOpcode() == PPC::LXVDSX) in simplifyCode() 457 unsigned MyOpcode = MI.getOpcode(); in simplifyCode() 466 unsigned DefOpcode = DefMI->getOpcode(); in simplifyCode() 474 return Splt && (Splt->getOpcode() == PPC::LXVWSX || in simplifyCode() 475 Splt->getOpcode() == PPC::XXSPLTW); in simplifyCode() 530 if (DefMI && DefMI->getOpcode() == PPC::XXPERMDI) { in simplifyCode() 547 if (RoundInstr->getOpcode() == PPC::FRSP && in simplifyCode() [all …]
|