/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | PatternMatch.h | 57 template <typename OpTy> bool match(OpTy *V) { in match() 739 template <typename OpTy> bool match(OpTy *V) { in match() 767 template <typename OpTy> bool match(OpTy *V) { in match() 811 template <typename OpTy> bool match(OpTy *V) { in match() 837 template <typename OpTy> 838 inline FNeg_match<OpTy> 839 m_FNeg(const OpTy &X) { in m_FNeg() 840 return FNeg_match<OpTy>(X); in m_FNeg() 943 template <typename OpTy> bool match(OpTy *V) { in match() 1035 template <typename OpTy> bool match(OpTy *V) { in match() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | CmpInstAnalysis.cpp | 42 Constant *llvm::getPredForICmpCode(unsigned Code, bool Sign, Type *OpTy, in getPredForICmpCode() argument 47 return ConstantInt::get(CmpInst::makeCmpResultType(OpTy), 0); in getPredForICmpCode() 55 return ConstantInt::get(CmpInst::makeCmpResultType(OpTy), 1); in getPredForICmpCode()
|
D | ScalarEvolutionExpander.cpp | 1667 Type *OpTy = S->getOperand(i)->getType(); in visitSMaxExpr() local 1668 if (OpTy->isIntegerTy() != Ty->isIntegerTy()) { in visitSMaxExpr() 1692 Type *OpTy = S->getOperand(i)->getType(); in visitUMaxExpr() local 1693 if (OpTy->isIntegerTy() != Ty->isIntegerTy()) { in visitUMaxExpr() 1717 Type *OpTy = S->getOperand(i)->getType(); in visitSMinExpr() local 1718 if (OpTy->isIntegerTy() != Ty->isIntegerTy()) { in visitSMinExpr() 1742 Type *OpTy = S->getOperand(i)->getType(); in visitUMinExpr() local 1743 if (OpTy->isIntegerTy() != Ty->isIntegerTy()) { in visitUMinExpr()
|
D | TargetTransformInfo.cpp | 150 Type *OpTy) const { in getOperationCost() 151 int Cost = TTIImpl->getOperationCost(Opcode, Ty, OpTy); in getOperationCost()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | LowerMemIntrinsics.cpp | 104 for (auto OpTy : RemainingOps) { in createMemCpyLoopKnownSize() local 106 unsigned OperandSize = getLoopOperandSizeInBytes(OpTy); in createMemCpyLoopKnownSize() 111 PointerType *SrcPtrType = PointerType::get(OpTy, SrcAS); in createMemCpyLoopKnownSize() 116 OpTy, CastedSrc, ConstantInt::get(TypeOfCopyLen, GepIndex)); in createMemCpyLoopKnownSize() 117 Value *Load = RBuilder.CreateLoad(OpTy, SrcGEP, SrcIsVolatile); in createMemCpyLoopKnownSize() 120 PointerType *DstPtrType = PointerType::get(OpTy, DstAS); in createMemCpyLoopKnownSize() 125 OpTy, CastedDst, ConstantInt::get(TypeOfCopyLen, GepIndex)); in createMemCpyLoopKnownSize()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
D | BasicTTIImpl.h | 414 unsigned getOperationCost(unsigned Opcode, Type *Ty, Type *OpTy) { in getOperationCost() argument 419 if (TLI->isTruncateFree(OpTy, Ty)) in getOperationCost() 423 if (TLI->isZExtFree(OpTy, Ty)) in getOperationCost() 428 if (TLI->isFreeAddrSpaceCast(OpTy->getPointerAddressSpace(), in getOperationCost() 434 return BaseT::getOperationCost(Opcode, Ty, OpTy); in getOperationCost() 1083 Type *OpTy = Op->getType(); variable 1084 assert(VF == 1 || !OpTy->isVectorTy()); 1085 Types.push_back(VF == 1 ? OpTy : VectorType::get(OpTy, VF)); 1340 Type *OpTy = StructType::create({RetTy, CondTy}); variable 1349 OverflowOp, OpTy, {RetTy, RetTy}, FMF, ScalarizationCostPassed); [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/ |
D | MIPatternMatch.h | 178 template <typename OpTy> 179 bool match(const MachineRegisterInfo &MRI, OpTy &&Op) { 246 template <typename OpTy> 247 bool match(const MachineRegisterInfo &MRI, OpTy &&Op) {
|
D | LegalizationArtifactCombiner.h | 233 LLT OpTy, LLT DestTy) { in canFoldMergeOpcode() argument 271 const unsigned OpEltSize = OpTy.getElementType().getSizeInBits(); in canFoldMergeOpcode() 294 LLT OpTy = MRI.getType(MI.getOperand(NumDefs).getReg()); in tryCombineMerges() local 307 ConvertOp, OpTy, DestTy)) in tryCombineMerges()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
D | TargetTransformInfoImpl.h | 47 unsigned getOperationCost(unsigned Opcode, Type *Ty, Type *OpTy) { in getOperationCost() argument 57 assert(OpTy && "Cast instructions must provide the operand type"); in getOperationCost() 58 if (Ty == OpTy || (Ty->isPointerTy() && OpTy->isPointerTy())) in getOperationCost() 76 unsigned OpSize = OpTy->getScalarSizeInBits(); in getOperationCost() 89 DestSize >= DL.getPointerTypeSizeInBits(OpTy)) in getOperationCost()
|
D | CmpInstAnalysis.h | 54 Constant *getPredForICmpCode(unsigned Code, bool Sign, Type *OpTy,
|
D | TargetTransformInfo.h | 219 int getOperationCost(unsigned Opcode, Type *Ty, Type *OpTy = nullptr) const; 1178 virtual int getOperationCost(unsigned Opcode, Type *Ty, Type *OpTy) = 0; 1413 int getOperationCost(unsigned Opcode, Type *Ty, Type *OpTy) override { in getOperationCost() argument 1414 return Impl.getOperationCost(Opcode, Ty, OpTy); in getOperationCost()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 2571 Type *OpTy = getTypeByID(Record[1]); in parseConstants() local 2572 if (!OpTy) in parseConstants() 2574 Constant *Op = ValueList.getConstantFwdRef(Record[2], OpTy); in parseConstants() 2649 VectorType *OpTy = in parseConstants() local 2651 if (!OpTy) in parseConstants() 2653 Constant *Op0 = ValueList.getConstantFwdRef(Record[1], OpTy); in parseConstants() 2669 VectorType *OpTy = dyn_cast<VectorType>(CurTy); in parseConstants() local 2670 if (Record.size() < 3 || !OpTy) in parseConstants() 2672 Constant *Op0 = ValueList.getConstantFwdRef(Record[0], OpTy); in parseConstants() 2674 OpTy->getElementType()); in parseConstants() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/ |
D | SystemZTargetTransformInfo.cpp | 628 Type *OpTy = nullptr; in getCmpOpsType() local 630 OpTy = CI->getOperand(0)->getType(); in getCmpOpsType() 635 OpTy = CI0->getOperand(0)->getType(); in getCmpOpsType() 637 if (OpTy != nullptr) { in getCmpOpsType() 639 assert (!OpTy->isVectorTy() && "Expected scalar type"); in getCmpOpsType() 640 return OpTy; in getCmpOpsType() 644 Type *ElTy = OpTy->getScalarType(); in getCmpOpsType()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
D | ARMInstrNEON.td | 2519 string Dt, ValueType ResTy, ValueType OpTy, SDNode OpNode> 2522 [(set DPR:$Vd, (ResTy (OpNode (OpTy DPR:$Vm))))]>; 2525 string Dt, ValueType ResTy, ValueType OpTy, SDNode OpNode> 2528 [(set QPR:$Vd, (ResTy (OpNode (OpTy QPR:$Vm))))]>; 2534 ValueType ResTy, ValueType OpTy, SDPatternOperator IntOp> 2537 [(set DPR:$Vd, (ResTy (IntOp (OpTy DPR:$Vm))))]>; 2541 ValueType ResTy, ValueType OpTy, SDPatternOperator IntOp> 2544 [(set QPR:$Vd, (ResTy (IntOp (OpTy QPR:$Vm))))]>; 2549 ValueType ResTy, ValueType OpTy, SDPatternOperator IntOp> 2552 [(set DPR:$Vd, (ResTy (IntOp (OpTy DPR:$Vm))))]>; [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | SIFoldOperands.cpp | 472 Register UseReg, uint8_t OpTy, in getRegSeqInit() argument 488 if (TII->isInlineConstant(*Op, OpTy)) in getRegSeqInit() 513 uint8_t OpTy = OpInfo[UseOpIdx].OperandType; in tryToFoldACImm() local 514 if (OpTy < AMDGPU::OPERAND_REG_INLINE_AC_FIRST || in tryToFoldACImm() 515 OpTy > AMDGPU::OPERAND_REG_INLINE_AC_LAST) in tryToFoldACImm() 518 if (OpToFold.isImm() && TII->isInlineConstant(OpToFold, OpTy) && in tryToFoldACImm() 537 if (!getRegSeqInit(Defs, UseReg, OpTy, TII, MRI)) in tryToFoldACImm() 549 if (!TII->isInlineConstant(*Op, OpTy) || in tryToFoldACImm()
|
D | AMDGPURegisterBankInfo.cpp | 843 LLT OpTy = MRI.getType(Op.getReg()); in executeInWaterfallLoop() local 844 unsigned OpSize = OpTy.getSizeInBits(); in executeInWaterfallLoop() 851 MRI.setType(CurrentLaneOpReg, OpTy); in executeInWaterfallLoop() 933 if (OpTy.getScalarSizeInBits() == 64) { in executeInWaterfallLoop() 978 if (OpTy.isVector()) { in executeInWaterfallLoop() 979 auto Merge = B.buildBuildVector(OpTy, ReadlanePieces); in executeInWaterfallLoop() 982 auto Merge = B.buildMerge(OpTy, ReadlanePieces); in executeInWaterfallLoop()
|
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/ |
D | PNaClTranslator.cpp | 1614 void reportInvalidBinaryOp(Ice::InstArithmetic::OpKind Op, Ice::Type OpTy); 1618 bool isValidIntegerLogicalOp(Ice::InstArithmetic::OpKind Op, Ice::Type OpTy) { in isValidIntegerLogicalOp() argument 1619 if (Ice::isIntegerType(OpTy)) in isValidIntegerLogicalOp() 1621 reportInvalidBinaryOp(Op, OpTy); in isValidIntegerLogicalOp() 1628 bool isValidIntegerArithOp(Ice::InstArithmetic::OpKind Op, Ice::Type OpTy) { in isValidIntegerArithOp() argument 1629 if (Ice::isIntegerArithmeticType(OpTy)) in isValidIntegerArithOp() 1631 reportInvalidBinaryOp(Op, OpTy); in isValidIntegerArithOp() 1637 bool isValidFloatingArithOp(Ice::InstArithmetic::OpKind Op, Ice::Type OpTy) { in isValidFloatingArithOp() argument 1638 if (Ice::isFloatingType(OpTy)) in isValidFloatingArithOp() 1640 reportInvalidBinaryOp(Op, OpTy); in isValidFloatingArithOp() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/ |
D | AArch64RegisterBankInfo.cpp | 445 LLT OpTy = MRI.getType(MI.getOperand(Idx).getReg()); in getSameKindOfOperandsMapping() local 448 RBIdx, OpTy.getSizeInBits()) == in getSameKindOfOperandsMapping() 451 bool OpIsFPR = OpTy.isVector() || isPreISelGenericFloatingPointOpcode(Opc); in getSameKindOfOperandsMapping()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
D | HexagonISelLowering.cpp | 870 MVT OpTy = ty(LHS); in LowerSETCC() local 872 if (OpTy == MVT::v2i16 || OpTy == MVT::v4i8) { in LowerSETCC() 873 MVT ElemTy = OpTy.getVectorElementType(); in LowerSETCC() 876 OpTy.getVectorNumElements()); in LowerSETCC() 911 if (OpTy == MVT::i8 || OpTy == MVT::i16) { in LowerSETCC() 927 MVT OpTy = ty(Op1); in LowerVSELECT() local 930 if (OpTy == MVT::v2i16 || OpTy == MVT::v4i8) { in LowerVSELECT() 931 MVT ElemTy = OpTy.getVectorElementType(); in LowerVSELECT() 934 OpTy.getVectorNumElements()); in LowerVSELECT() 940 dl, OpTy); in LowerVSELECT() [all …]
|
D | HexagonISelLoweringHVX.cpp | 322 MVT OpTy = ty(Op0); in getByteShuffle() local 323 assert(OpTy == ty(Op1)); in getByteShuffle() 325 MVT ElemTy = OpTy.getVectorElementType(); in getByteShuffle() 327 return DAG.getVectorShuffle(OpTy, dl, Op0, Op1, Mask); in getByteShuffle() 330 MVT ResTy = tyVector(OpTy, MVT::i8); in getByteShuffle()
|
D | HexagonISelDAGToDAG.cpp | 827 MVT OpTy = Op.getValueType().getSimpleVT(); in SelectTypecast() local 829 CurDAG->getVTList(OpTy), {Op}); in SelectTypecast() 853 MVT OpTy = N->getOperand(0).getValueType().getSimpleVT(); (void)OpTy; in SelectV2Q() local 854 assert(HST->getVectorLength() * 8 == OpTy.getSizeInBits()); in SelectV2Q()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | LoopStrengthReduce.cpp | 5145 Type *OpTy = LF.OperandValToReplace->getType(); in Expand() local 5150 Ty = OpTy; in Expand() 5151 else if (SE.getEffectiveSCEVType(Ty) == SE.getEffectiveSCEVType(OpTy)) in Expand() 5153 Ty = OpTy; in Expand() 5275 if (ICmpScaledV->getType() != OpTy) { in Expand() 5278 OpTy, false), in Expand() 5279 ICmpScaledV, OpTy, "tmp", CI); in Expand() 5289 Constant *C = ConstantInt::getSigned(SE.getEffectiveSCEVType(OpTy), in Expand() 5291 if (C->getType() != OpTy) in Expand() 5293 OpTy, false), in Expand() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/ |
D | MachineIRBuilder.cpp | 541 LLT OpTy = getMRI()->getType(Ops[0]); in buildSequence() local 542 unsigned OpSize = OpTy.getSizeInBits(); in buildSequence() 545 if (getMRI()->getType(Ops[i]) != OpTy || Indices[i] != i * OpSize) { in buildSequence()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | MachineVerifier.cpp | 940 LLT OpTy = MRI->getType(MO->getReg()); in verifyPreISelGenericInstruction() local 943 if (OpTy.isValid()) { in verifyPreISelGenericInstruction() 947 Types[TypeIdx] = OpTy; in verifyPreISelGenericInstruction() 948 else if (Types[TypeIdx] != OpTy) in verifyPreISelGenericInstruction() 949 report("Type mismatch in generic instruction", MO, I, OpTy); in verifyPreISelGenericInstruction()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | AutoUpgrade.cpp | 1951 Type *OpTy = CI->getArgOperand(0)->getType(); in UpgradeIntrinsicCall() local 1952 unsigned VecWidth = OpTy->getPrimitiveSizeInBits(); in UpgradeIntrinsicCall() 1965 Type *OpTy = CI->getArgOperand(0)->getType(); in UpgradeIntrinsicCall() local 1966 unsigned VecWidth = OpTy->getPrimitiveSizeInBits(); in UpgradeIntrinsicCall() 1967 unsigned EltWidth = OpTy->getScalarSizeInBits(); in UpgradeIntrinsicCall() 1988 Type *OpTy = CI->getArgOperand(0)->getType(); in UpgradeIntrinsicCall() local 1989 unsigned VecWidth = OpTy->getPrimitiveSizeInBits(); in UpgradeIntrinsicCall() 1990 unsigned EltWidth = OpTy->getScalarSizeInBits(); in UpgradeIntrinsicCall()
|