/third_party/skia/third_party/externals/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 …]
|
/third_party/skia/third_party/externals/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 …]
|
/third_party/skia/third_party/externals/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 …]
|
/third_party/skia/third_party/externals/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 …]
|
D | Operator.h | 40 unsigned getOpcode() const { in getOpcode() function 42 return I->getOpcode(); in getOpcode() 43 return cast<ConstantExpr>(this)->getOpcode(); in getOpcode() 48 static unsigned getOpcode(const Value *V) { in getOpcode() function 50 return I->getOpcode(); in getOpcode() 52 return CE->getOpcode(); in getOpcode() 101 return I->getOpcode() == Instruction::Add || in classof() 102 I->getOpcode() == Instruction::Sub || in classof() 103 I->getOpcode() == Instruction::Mul || in classof() 104 I->getOpcode() == Instruction::Shl; in classof() [all …]
|
/third_party/skia/third_party/externals/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 …]
|
D | PPCBranchSelector.cpp | 303 if (I->getOpcode() == PPC::BCC && !I->getOperand(2).isImm()) in runOnMachineFunction() 305 else if ((I->getOpcode() == PPC::BC || I->getOpcode() == PPC::BCn) && in runOnMachineFunction() 308 else if ((I->getOpcode() == PPC::BDNZ8 || I->getOpcode() == PPC::BDNZ || in runOnMachineFunction() 309 I->getOpcode() == PPC::BDZ8 || I->getOpcode() == PPC::BDZ) && in runOnMachineFunction() 332 if (I->getOpcode() == PPC::BCC) { in runOnMachineFunction() 343 } else if (I->getOpcode() == PPC::BC) { in runOnMachineFunction() 346 } else if (I->getOpcode() == PPC::BCn) { in runOnMachineFunction() 349 } else if (I->getOpcode() == PPC::BDNZ) { in runOnMachineFunction() 351 } else if (I->getOpcode() == PPC::BDNZ8) { in runOnMachineFunction() 353 } else if (I->getOpcode() == PPC::BDZ) { in runOnMachineFunction() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/ |
D | DelaySlotFiller.cpp | 117 (MI->getOpcode() == SP::RESTORErr in runOnMachineBasicBlock() 118 || MI->getOpcode() == SP::RESTOREri)) { in runOnMachineBasicBlock() 126 (MI->getOpcode() == SP::FCMPS || MI->getOpcode() == SP::FCMPD in runOnMachineBasicBlock() 127 || MI->getOpcode() == SP::FCMPQ)) { in runOnMachineBasicBlock() 178 if (slot->getOpcode() == SP::RET || slot->getOpcode() == SP::TLS_CALL) in findDelayInstr() 181 if (slot->getOpcode() == SP::RETL) { in findDelayInstr() 185 if (J->getOpcode() == SP::RESTORErr in findDelayInstr() 186 || J->getOpcode() == SP::RESTOREri) { in findDelayInstr() 270 unsigned Opcode = candidate->getOpcode(); in delayHasHazard() 296 switch(MI->getOpcode()) { in insertCallDefsUses() [all …]
|
D | SparcISelDAGToDAG.cpp | 83 if (Addr.getOpcode() == ISD::TargetExternalSymbol || in SelectADDRri() 84 Addr.getOpcode() == ISD::TargetGlobalAddress || in SelectADDRri() 85 Addr.getOpcode() == ISD::TargetGlobalTLSAddress) in SelectADDRri() 88 if (Addr.getOpcode() == ISD::ADD) { in SelectADDRri() 104 if (Addr.getOperand(0).getOpcode() == SPISD::Lo) { in SelectADDRri() 109 if (Addr.getOperand(1).getOpcode() == SPISD::Lo) { in SelectADDRri() 121 if (Addr.getOpcode() == ISD::FrameIndex) return false; in SelectADDRrr() 122 if (Addr.getOpcode() == ISD::TargetExternalSymbol || in SelectADDRrr() 123 Addr.getOpcode() == ISD::TargetGlobalAddress || in SelectADDRrr() 124 Addr.getOpcode() == ISD::TargetGlobalTLSAddress) in SelectADDRrr() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/ |
D | LanaiISelDAGToDAG.cpp | 113 if (Addr.getOpcode() == ISD::OR && in selectAddrSls() 114 Addr.getOperand(1).getOpcode() == LanaiISD::SMALL) { in selectAddrSls() 163 if ((Addr.getOpcode() == ISD::TargetExternalSymbol || in selectAddrRiSpls() 164 Addr.getOpcode() == ISD::TargetGlobalAddress)) in selectAddrRiSpls() 168 ISD::NodeType AluOperator = static_cast<ISD::NodeType>(Addr.getOpcode()); in selectAddrRiSpls() 192 Addr.getOperand(1).getOpcode() == LanaiISD::SMALL) in selectAddrRiSpls() 214 if (Addr.getOpcode() == ISD::FrameIndex) in selectAddrRr() 218 if ((Addr.getOpcode() == ISD::TargetExternalSymbol || in selectAddrRr() 219 Addr.getOpcode() == ISD::TargetGlobalAddress)) in selectAddrRr() 223 ISD::NodeType AluOperator = static_cast<ISD::NodeType>(Addr.getOpcode()); in selectAddrRr() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | R600EmitClauseMarkers.cpp | 53 switch (MI.getOpcode()) { in OccupiedDwords() 67 if (TII->isLDSRetInstr(MI.getOpcode())) in OccupiedDwords() 70 if (TII->isVector(MI) || TII->isCubeOp(MI.getOpcode()) || in OccupiedDwords() 71 TII->isReductionOp(MI.getOpcode())) in OccupiedDwords() 86 if (TII->isALUInstr(MI.getOpcode())) in isALU() 88 if (TII->isVector(MI) || TII->isCubeOp(MI.getOpcode())) in isALU() 90 switch (MI.getOpcode()) { in isALU() 104 switch (MI.getOpcode()) { in IsTrivialInst() 134 if (!TII->isALUInstr(MI.getOpcode()) && MI.getOpcode() != R600::DOT_4) in SubstituteKCacheBank() 140 (TII->isALUInstr(MI.getOpcode()) || MI.getOpcode() == R600::DOT_4) && in SubstituteKCacheBank() [all …]
|
D | SIShrinkInstructions.cpp | 75 int Src0Idx = AMDGPU::getNamedOperandIdx(MI.getOpcode(), AMDGPU::OpName::src0); in foldImmediates() 192 int SOPKOpc = AMDGPU::getSOPKOp(MI.getOpcode()); in shrinkScalarCompare() 222 const AMDGPU::MIMGInfo *Info = AMDGPU::getMIMGInfo(MI.getOpcode()); in shrinkMIMG() 231 AMDGPU::getNamedOperandIdx(MI.getOpcode(), AMDGPU::OpName::vaddr0); in shrinkMIMG() 272 int TFEIdx = AMDGPU::getNamedOperandIdx(MI.getOpcode(), AMDGPU::OpName::tfe); in shrinkMIMG() 273 int LWEIdx = AMDGPU::getNamedOperandIdx(MI.getOpcode(), AMDGPU::OpName::lwe); in shrinkMIMG() 305 AMDGPU::getNamedOperandIdx(MI.getOpcode(), AMDGPU::OpName::vdata), in shrinkMIMG() 319 unsigned Opc = MI.getOpcode(); in shrinkScalarLogicOp() 457 assert(MovT.getOpcode() == AMDGPU::V_MOV_B32_e32 || in matchSwap() 458 MovT.getOpcode() == AMDGPU::COPY); in matchSwap() [all …]
|
D | SIInsertWaitcnts.cpp | 544 AMDGPU::getNamedOperandIdx(Inst.getOpcode(), AMDGPU::OpName::addr); in updateByEvent() 552 if (AMDGPU::getNamedOperandIdx(Inst.getOpcode(), in updateByEvent() 556 AMDGPU::getNamedOperandIdx(Inst.getOpcode(), AMDGPU::OpName::data0), in updateByEvent() 559 if (AMDGPU::getNamedOperandIdx(Inst.getOpcode(), in updateByEvent() 562 AMDGPU::getNamedOperandIdx(Inst.getOpcode(), in updateByEvent() 566 } else if (AMDGPU::getAtomicNoRetOp(Inst.getOpcode()) != -1 && in updateByEvent() 567 Inst.getOpcode() != AMDGPU::DS_GWS_INIT && in updateByEvent() 568 Inst.getOpcode() != AMDGPU::DS_GWS_SEMA_V && in updateByEvent() 569 Inst.getOpcode() != AMDGPU::DS_GWS_SEMA_BR && in updateByEvent() 570 Inst.getOpcode() != AMDGPU::DS_GWS_SEMA_P && in updateByEvent() [all …]
|
D | R600InstrInfo.cpp | 58 return get(MI.getOpcode()).TSFlags & R600_InstFlag::VECTOR; in isVector() 160 if (isALUInstr(MI.getOpcode())) in canBeConsideredALU() 162 if (isVector(MI) || isCubeOp(MI.getOpcode())) in canBeConsideredALU() 164 switch (MI.getOpcode()) { in canBeConsideredALU() 184 return isTransOnly(MI.getOpcode()); in isTransOnly() 192 return isVectorOnly(MI.getOpcode()); in isVectorOnly() 206 usesVertexCache(MI.getOpcode()); in usesVertexCache() 216 usesVertexCache(MI.getOpcode())) || in usesTextureCache() 217 usesTextureCache(MI.getOpcode()); in usesTextureCache() 239 if (!isALUInstr(MI.getOpcode())) { in readsLDSSrcReg() [all …]
|
D | R600Packetizer.cpp | 72 if (!TII->isALUInstr(I->getOpcode()) && !I->isBundle()) in getPreviousVector() 86 int OperandIdx = TII->getOperandIdx(BI->getOpcode(), R600::OpName::write); in getPreviousVector() 89 int DstIdx = TII->getOperandIdx(BI->getOpcode(), R600::OpName::dst); in getPreviousVector() 98 if (BI->getOpcode() == R600::DOT4_r600 || in getPreviousVector() 99 BI->getOpcode() == R600::DOT4_eg) { in getPreviousVector() 136 int OperandIdx = TII->getOperandIdx(MI.getOpcode(), Ops[i]); in substitutePV() 171 if (!TII->isALUInstr(MI.getOpcode())) in isSoloInstruction() 173 if (MI.getOpcode() == R600::GROUP_BARRIER) in isSoloInstruction() 177 return TII->isLDSInstr(MI.getOpcode()); in isSoloInstruction() 187 int OpI = TII->getOperandIdx(MII->getOpcode(), R600::OpName::pred_sel), in isLegalToPacketizeTogether() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
D | HexagonNewValueJump.cpp | 137 if (II->getOpcode() == TargetOpcode::KILL) in INITIALIZE_PASS_DEPENDENCY() 221 if (MII->getOpcode() == TargetOpcode::KILL || in commonChecksToProhibitNewValueJump() 222 MII->getOpcode() == TargetOpcode::PHI || in commonChecksToProhibitNewValueJump() 223 MII->getOpcode() == TargetOpcode::COPY) in commonChecksToProhibitNewValueJump() 230 if (MII->getOpcode() == Hexagon::LDriw_pred || in commonChecksToProhibitNewValueJump() 231 MII->getOpcode() == Hexagon::STriw_pred) in commonChecksToProhibitNewValueJump() 258 switch (MI.getOpcode()) { in canCompareBeNewValueJump() 296 if (def->getOpcode() == TargetOpcode::COPY) in canCompareBeNewValueJump() 348 switch (MI->getOpcode()) { in getNewValueJumpOpcode() 430 switch (MI.getOpcode()) { in isNewValueJumpCandidate() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARC/ |
D | ARCISelDAGToDAG.cpp | 77 if (Addr.getOpcode() == ARCISD::GAWRAPPER) { in SelectAddrModeImm() 87 if (Addr.getOpcode() == ARCISD::GAWRAPPER) { in SelectAddrModeS9() 91 if (Addr.getOpcode() != ISD::ADD && Addr.getOpcode() != ISD::SUB && in SelectAddrModeS9() 93 if (Addr.getOpcode() == ISD::FrameIndex) { in SelectAddrModeS9() 107 if (Addr.getOpcode() == ISD::SUB) in SelectAddrModeS9() 114 if (Base.getOpcode() == ISD::FrameIndex) { in SelectAddrModeS9() 131 if (Addr.getOpcode() == ARCISD::GAWRAPPER) { in SelectAddrModeFar() 136 if (Addr.getOpcode() == ISD::SUB) in SelectAddrModeFar() 154 if (Addr.getOpcode() == ISD::ADD) { in SelectFrameADDR_ri() 170 switch (N->getOpcode()) { in Select()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
D | DAGCombiner.cpp | 247 assert(N->getOpcode() != ISD::DELETED_NODE && in AddToWorklist() 252 if (N->getOpcode() == ISD::HANDLENODE) in AddToWorklist() 818 if (N.getOpcode() == ISD::SETCC) { in isSetCCEquivalent() 825 if (N.getOpcode() != ISD::SELECT_CC || in isSetCCEquivalent() 866 if (N.getOpcode() != ISD::BUILD_VECTOR) in isConstantOrConstantVector() 883 if (V.getOpcode() != ISD::BUILD_VECTOR) in isAnyConstantBuildVector() 899 if (Opc != ISD::ADD || N0.getOpcode() != ISD::ADD) in reassociationCanBreakAddressingModePattern() 951 if (N0.getOpcode() != Opc) in reassociateOpsCommutative() 1122 unsigned Opc = Op.getOpcode(); in PromoteOperand() 1189 unsigned Opc = Op.getOpcode(); in PromoteIntBinOp() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/ |
D | MCInstrAnalysis.h | 38 return Info->get(Inst.getOpcode()).isBranch(); in isBranch() 42 return Info->get(Inst.getOpcode()).isConditionalBranch(); in isConditionalBranch() 46 return Info->get(Inst.getOpcode()).isUnconditionalBranch(); in isUnconditionalBranch() 50 return Info->get(Inst.getOpcode()).isIndirectBranch(); in isIndirectBranch() 54 return Info->get(Inst.getOpcode()).isCall(); in isCall() 58 return Info->get(Inst.getOpcode()).isReturn(); in isReturn() 62 return Info->get(Inst.getOpcode()).isTerminator(); in isTerminator()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/Disassembler/ |
D | AArch64ExternalSymbolizer.cpp | 92 } else if (MI.getOpcode() == AArch64::ADRP) { in tryAddingSymbolicOperand() 105 } else if (MI.getOpcode() == AArch64::ADDXri || in tryAddingSymbolicOperand() 106 MI.getOpcode() == AArch64::LDRXui || in tryAddingSymbolicOperand() 107 MI.getOpcode() == AArch64::LDRXl || in tryAddingSymbolicOperand() 108 MI.getOpcode() == AArch64::ADR) { in tryAddingSymbolicOperand() 109 if (MI.getOpcode() == AArch64::ADDXri) in tryAddingSymbolicOperand() 111 else if (MI.getOpcode() == AArch64::LDRXui) in tryAddingSymbolicOperand() 113 if (MI.getOpcode() == AArch64::LDRXl) { in tryAddingSymbolicOperand() 117 } else if (MI.getOpcode() == AArch64::ADR) { in tryAddingSymbolicOperand() 126 MI.getOpcode() == AArch64::ADDXri ? 0x91000000: 0xF9400000; in tryAddingSymbolicOperand()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/ |
D | VPlanSLP.cpp | 92 unsigned Opcode = OriginalInstr->getOpcode(); in areVectorizable() 96 return I->getOpcode() == Opcode && in areVectorizable() 126 if (VPI->getOpcode() == Instruction::Load && in areVectorizable() 172 cast<VPInstruction>(Values[0])->getOpcode()); in areCommutative() 180 switch (VPI->getOpcode()) { in getOperands() 196 static Optional<unsigned> getOpcode(ArrayRef<VPValue *> Values) { in getOpcode() function 197 unsigned Opcode = cast<VPInstruction>(Values[0])->getOpcode(); in getOpcode() 199 return cast<VPInstruction>(V)->getOpcode() != Opcode; in getOpcode() 209 if (A->getOpcode() != B->getOpcode()) in areConsecutiveOrMatch() 212 if (A->getOpcode() != Instruction::Load && in areConsecutiveOrMatch() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyCFGStackify.cpp | 229 if (Pred->getFirstTerminator()->getOpcode() == WebAssembly::BR_ON_EXN) { in placeBlockMarker() 270 if (MI.getOpcode() == WebAssembly::LOOP) { in placeBlockMarker() 282 if (MI.getOpcode() == WebAssembly::BLOCK || in placeBlockMarker() 283 MI.getOpcode() == WebAssembly::TRY) in placeBlockMarker() 288 if (MI.getOpcode() == WebAssembly::END_BLOCK || in placeBlockMarker() 289 MI.getOpcode() == WebAssembly::END_LOOP || in placeBlockMarker() 290 MI.getOpcode() == WebAssembly::END_TRY) in placeBlockMarker() 339 if (MI.getOpcode() == WebAssembly::LOOP || in placeBlockMarker() 340 MI.getOpcode() == WebAssembly::TRY) in placeBlockMarker() 348 if (MI.getOpcode() == WebAssembly::END_LOOP || in placeBlockMarker() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86WinAllocaExpander.cpp | 80 assert(MI->getOpcode() == X86::WIN_ALLOCA_32 || in getWinAllocaAmount() 81 MI->getOpcode() == X86::WIN_ALLOCA_64); in getWinAllocaAmount() 88 (Def->getOpcode() != X86::MOV32ri && Def->getOpcode() != X86::MOV64ri) || in getWinAllocaAmount() 111 switch (MI.getOpcode()) { in isPushPop() 155 if (MI.getOpcode() == X86::WIN_ALLOCA_32 || in computeLowerings() 156 MI.getOpcode() == X86::WIN_ALLOCA_64) { in computeLowerings() 175 } else if (MI.getOpcode() == X86::ADJCALLSTACKUP32 || in computeLowerings() 176 MI.getOpcode() == X86::ADJCALLSTACKUP64) { in computeLowerings() 178 } else if (MI.getOpcode() == X86::ADJCALLSTACKDOWN32 || in computeLowerings() 179 MI.getOpcode() == X86::ADJCALLSTACKDOWN64) { in computeLowerings() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/ |
D | NVPTXInstrInfo.cpp | 110 if (LastInst.getOpcode() == NVPTX::GOTO) { in analyzeBranch() 113 } else if (LastInst.getOpcode() == NVPTX::CBranch) { in analyzeBranch() 131 if (SecondLastInst.getOpcode() == NVPTX::CBranch && in analyzeBranch() 132 LastInst.getOpcode() == NVPTX::GOTO) { in analyzeBranch() 141 if (SecondLastInst.getOpcode() == NVPTX::GOTO && in analyzeBranch() 142 LastInst.getOpcode() == NVPTX::GOTO) { in analyzeBranch() 161 if (I->getOpcode() != NVPTX::GOTO && I->getOpcode() != NVPTX::CBranch) in removeBranch() 172 if (I->getOpcode() != NVPTX::CBranch) in removeBranch()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineShifts.cpp | 90 Instruction::BinaryOps ShiftOpcode = Sh0->getOpcode(); in reassociateShiftAmtsOfTwoSameDirectionShifts() 91 bool IdenticalShOpcodes = Sh0->getOpcode() == Sh1->getOpcode(); in reassociateShiftAmtsOfTwoSameDirectionShifts() 181 assert(OuterShift->getOpcode() == Instruction::BinaryOps::Shl && in dropRedundantMaskingOfLeftShiftInput() 310 auto *NewShift = BinaryOperator::Create(OuterShift->getOpcode(), X, in dropRedundantMaskingOfLeftShiftInput() 334 Instruction::BinaryOps ShiftOpcode = I.getOpcode(); in foldShiftOfShiftedLogic() 344 cast<BinaryOperator>(V)->getOpcode() == ShiftOpcode && in foldShiftOfShiftedLogic() 360 return BinaryOperator::Create(LogicInst->getOpcode(), NewShift1, NewShift2); in foldShiftOfShiftedLogic() 371 return BinaryOperator::Create(I.getOpcode(), Op0, NewExt); in commonShiftTransforms() 400 I.getOpcode(), Builder.CreateBinOp(I.getOpcode(), Op0, C), A); in commonShiftTransforms() 436 bool IsInnerShl = InnerShift->getOpcode() == Instruction::Shl; in canEvaluateShiftedShift() [all …]
|