/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/Utils/ |
D | Local.h | 49 if (Constant *OpC = dyn_cast<Constant>(Op)) { variable 50 if (OpC->isZeroValue()) 55 uint64_t OpValue = OpC->getUniqueInteger().getZExtValue(); 65 if (IntIdxTy->isVectorTy() && !OpC->getType()->isVectorTy()) 66 OpC = ConstantVector::getSplat(IntIdxTy->getVectorNumElements(), OpC); 69 Constant *OC = ConstantExpr::getIntegerCast(OpC, IntIdxTy, true /*SExt*/);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | Operator.cpp | 42 ConstantInt *OpC = dyn_cast<ConstantInt>(GTI.getOperand()); in accumulateConstantOffset() local 43 if (!OpC) in accumulateConstantOffset() 45 if (OpC->isZero()) in accumulateConstantOffset() 50 unsigned ElementIdx = OpC->getZExtValue(); in accumulateConstantOffset() 57 APInt Index = OpC->getValue().sextOrTrunc(Offset.getBitWidth()); in accumulateConstantOffset()
|
D | Constants.cpp | 1466 Constant *OpC = getOperand(I); in getSplatValue() local 1467 if (OpC == Elt) in getSplatValue() 1475 if (isa<UndefValue>(OpC)) in getSplatValue() 1480 Elt = OpC; in getSplatValue() 1482 if (OpC != Elt) in getSplatValue()
|
D | Verifier.cpp | 1931 const auto *OpC = dyn_cast<Constant>(U); in visitConstantExprsRecursively() local 1932 if (!OpC) in visitConstantExprsRecursively() 1934 if (!ConstantExprVisited.insert(OpC).second) in visitConstantExprsRecursively() 1936 Stack.push_back(OpC); in visitConstantExprsRecursively()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/ |
D | PPCRegisterInfo.cpp | 78 static unsigned offsetMinAlignForOpcode(unsigned OpC); 963 static unsigned offsetMinAlignForOpcode(unsigned OpC) { in offsetMinAlignForOpcode() argument 964 switch (OpC) { in offsetMinAlignForOpcode() 993 unsigned OpC = MI.getOpcode(); in offsetMinAlign() local 994 return offsetMinAlignForOpcode(OpC); in offsetMinAlign() 1040 unsigned OpC = MI.getOpcode(); in eliminateFrameIndex() local 1042 if ((OpC == PPC::DYNAREAOFFSET || OpC == PPC::DYNAREAOFFSET8)) { in eliminateFrameIndex() 1049 (OpC == PPC::DYNALLOC || OpC == PPC::DYNALLOC8)) { in eliminateFrameIndex() 1055 if (OpC == PPC::SPILL_CR) { in eliminateFrameIndex() 1058 } else if (OpC == PPC::RESTORE_CR) { in eliminateFrameIndex() [all …]
|
D | PPCInstrInfo.cpp | 1439 unsigned OpC = MI.getOpcode(); in PredicateInstruction() local 1440 if (OpC == PPC::BLR || OpC == PPC::BLR8) { in PredicateInstruction() 1459 } else if (OpC == PPC::B) { in PredicateInstruction() 1492 } else if (OpC == PPC::BCTR || OpC == PPC::BCTR8 || OpC == PPC::BCTRL || in PredicateInstruction() 1493 OpC == PPC::BCTRL8) { in PredicateInstruction() 1497 bool setLR = OpC == PPC::BCTRL || OpC == PPC::BCTRL8; in PredicateInstruction() 1626 int OpC = CmpInstr.getOpcode(); in optimizeCompareInstr() local 1631 if (OpC == PPC::FCMPUS || OpC == PPC::FCMPUD) in optimizeCompareInstr() 1644 bool is32BitSignedCompare = OpC == PPC::CMPWI || OpC == PPC::CMPW; in optimizeCompareInstr() 1645 bool is32BitUnsignedCompare = OpC == PPC::CMPLWI || OpC == PPC::CMPLW; in optimizeCompareInstr() [all …]
|
D | PPCISelDAGToDAG.cpp | 931 unsigned OpC = Hi ? PPC::LIS8 : PPC::LI8; in selectI64ImmDirect() local 932 Result = CurDAG->getMachineNode(OpC, dl, MVT::i64, getI32Imm(Hi)); in selectI64ImmDirect()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUAnnotateKernelFeatures.cpp | 126 const auto *OpC = dyn_cast<Constant>(U); in visitConstantExprsRecursively() local 127 if (!OpC) in visitConstantExprsRecursively() 130 if (!ConstantExprVisited.insert(OpC).second) in visitConstantExprsRecursively() 133 Stack.push_back(OpC); in visitConstantExprsRecursively() 315 const auto *OpC = dyn_cast<Constant>(U); in addFeatureAttributes() local 316 if (!OpC) in addFeatureAttributes() 319 if (visitConstantExprsRecursively(OpC, ConstantExprVisited)) { in addFeatureAttributes()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | Operator.h | 140 static bool isPossiblyExactOpcode(unsigned OpC) { in isPossiblyExactOpcode() argument 141 return OpC == Instruction::SDiv || in isPossiblyExactOpcode() 142 OpC == Instruction::UDiv || in isPossiblyExactOpcode() 143 OpC == Instruction::AShr || in isPossiblyExactOpcode() 144 OpC == Instruction::LShr; in isPossiblyExactOpcode()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | ConstantFolding.cpp | 1277 unsigned OpC = in ConstantFoldCompareInstOperands() local 1279 return ConstantFoldBinaryOpOperands(OpC, LHS, RHS, DL); in ConstantFoldCompareInstOperands() 2504 if (ConstantFP *OpC = dyn_cast<ConstantFP>(Call->getArgOperand(0))) { in isMathLibCallNoop() local 2505 const APFloat &Op = OpC->getValueAPF(); in isMathLibCallNoop() 2522 if (OpC->getType()->isDoubleTy()) in isMathLibCallNoop() 2525 if (OpC->getType()->isFloatTy()) in isMathLibCallNoop() 2534 if (OpC->getType()->isDoubleTy()) in isMathLibCallNoop() 2537 if (OpC->getType()->isFloatTy()) in isMathLibCallNoop() 2555 Type *Ty = OpC->getType(); in isMathLibCallNoop() 2557 double OpV = getValueAsDouble(OpC); in isMathLibCallNoop() [all …]
|
D | InlineCost.cpp | 680 ConstantInt *OpC = dyn_cast<ConstantInt>(GTI.getOperand()); in accumulateGEPOffset() local 681 if (!OpC) in accumulateGEPOffset() 683 OpC = dyn_cast<ConstantInt>(SimpleOp); in accumulateGEPOffset() 684 if (!OpC) in accumulateGEPOffset() 686 if (OpC->isZero()) in accumulateGEPOffset() 691 unsigned ElementIdx = OpC->getZExtValue(); in accumulateGEPOffset() 698 Offset += OpC->getValue().sextOrTrunc(IntPtrWidth) * TypeSize; in accumulateGEPOffset()
|
D | ValueTracking.cpp | 1953 ConstantInt *OpC = cast<ConstantInt>(GTI.getOperand()); in isGEPKnownNonNull() local 1954 unsigned ElementIdx = OpC->getZExtValue(); in isGEPKnownNonNull() 1968 if (ConstantInt *OpC = dyn_cast<ConstantInt>(GTI.getOperand())) { in isGEPKnownNonNull() local 1969 if (!OpC->isZero()) in isGEPKnownNonNull() 5901 ConstantInt *OpC = dyn_cast<ConstantInt>(GEP->getOperand(i)); in getOffsetFromIndex() local 5902 if (!OpC) in getOffsetFromIndex() 5904 if (OpC->isZero()) in getOffsetFromIndex() 5909 Offset += DL.getStructLayout(STy)->getElementOffset(OpC->getZExtValue()); in getOffsetFromIndex() 5916 Offset += Size * OpC->getSExtValue(); in getOffsetFromIndex()
|
D | ScalarEvolution.cpp | 6315 if (auto *OpC = dyn_cast<SCEVConstant>(LHSMul->getOperand(0))) { in createSCEV() local 6317 unsigned MulZeros = OpC->getAPInt().countTrailingZeros(); in createSCEV() 6321 MulOps.push_back(getConstant(OpC->getAPInt().lshr(GCD))); in createSCEV() 7675 Instruction::BinaryOps OpC; in computeShiftCompareExitLimit() local 7687 if (MatchPositiveShift(LHS, V, OpC)) { in computeShiftCompareExitLimit() 7688 PostShiftOpCode = OpC; in computeShiftCompareExitLimit()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
D | HexagonStoreWidening.cpp | 129 unsigned OpC = MI->getOpcode(); in getStoreOffset() local 132 switch (OpC) { in getStoreOffset()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | TargetInstrInfo.cpp | 807 MachineOperand &OpC = Root.getOperand(0); in reassociateOps() local 813 Register RegC = OpC.getReg(); in reassociateOps()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | SimplifyLibCalls.cpp | 2090 auto *OpC = dyn_cast<CallInst>(Op1); in optimizeTan() local 2091 if (!OpC) in optimizeTan() 2095 if (!CI->isFast() || !OpC->isFast()) in optimizeTan() 2102 Function *F = OpC->getCalledFunction(); in optimizeTan() 2107 Ret = OpC->getArgOperand(0); in optimizeTan()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | SROA.cpp | 741 ConstantInt *OpC = dyn_cast<ConstantInt>(GTI.getOperand()); in visitGetElementPtrInst() local 742 if (!OpC) in visitGetElementPtrInst() 747 unsigned ElementIdx = OpC->getZExtValue(); in visitGetElementPtrInst() 754 APInt Index = OpC->getValue().sextOrTrunc(Offset.getBitWidth()); in visitGetElementPtrInst()
|
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/ |
D | IceTargetLoweringMIPS32.cpp | 284 auto *OpC = Func->makeVariable(typeElementType(Cond->getType())); in genTargetHelperCallFor() local 285 Context.insert<InstExtractElement>(OpC, Cond, Index); in genTargetHelperCallFor() 292 Context.insert<InstSelect>(Dst, OpC, OpT, OpF); in genTargetHelperCallFor()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAG.cpp | 451 static void AddNodeIDOpcode(FoldingSetNodeID &ID, unsigned OpC) { in AddNodeIDOpcode() argument 452 ID.AddInteger(OpC); in AddNodeIDOpcode() 479 static void AddNodeIDNode(FoldingSetNodeID &ID, unsigned short OpC, in AddNodeIDNode() argument 481 AddNodeIDOpcode(ID, OpC); in AddNodeIDNode()
|
D | DAGCombiner.cpp | 15431 unsigned OpC = MemVT.isVector() ? ISD::EXTRACT_SUBVECTOR in MergeStoresOfConstantsOrVecElts() local 15435 Val = DAG.getNode(OpC, SDLoc(Val), MemVT, Vec, Idx); in MergeStoresOfConstantsOrVecElts()
|