/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSimplifyDemanded.cpp | 42 const APInt &Demanded) { in ShrinkDemandedConstant() argument 53 if (C->isSubsetOf(Demanded)) in ShrinkDemandedConstant() 57 I->setOperand(OpNo, ConstantInt::get(Op->getType(), *C & Demanded)); in ShrinkDemandedConstant() 1198 APInt Demanded, APInt &Undef) { in SimplifyDemandedVectorElts() argument 1201 if (Value *V = SimplifyDemandedVectorElts(Op, Demanded, Undef, Depth + 1)) { in SimplifyDemandedVectorElts()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUISelLowering.cpp | 2807 APInt Demanded = APInt::getLowBitsSet(LHS.getValueSizeInBits(), 24); in simplifyI24() local 2812 SDValue DemandedLHS = DAG.GetDemandedBits(LHS, Demanded); in simplifyI24() 2813 SDValue DemandedRHS = DAG.GetDemandedBits(RHS, Demanded); in simplifyI24() 2822 if (TLI.SimplifyDemandedBits(LHS, Demanded, DCI)) in simplifyI24() 2824 if (TLI.SimplifyDemandedBits(RHS, Demanded, DCI)) in simplifyI24() 4082 APInt Demanded = APInt::getBitsSet(32, in PerformDAGCombine() local 4090 if (TLI.ShrinkDemandedConstant(BitsFrom, Demanded, TLO) || in PerformDAGCombine() 4091 TLI.SimplifyDemandedBits(BitsFrom, Demanded, Known, TLO)) { in PerformDAGCombine()
|
D | SIISelLowering.cpp | 9945 APInt Demanded = APInt::getBitsSet(32, 8 * Offset, 8 * Offset + 8); in performCvtF32UByteNCombine() local 9951 if (TLI.SimplifyDemandedBits(Src, Demanded, Known, TLO)) { in performCvtF32UByteNCombine()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
D | TargetLowering.h | 3105 bool ShrinkDemandedConstant(SDValue Op, const APInt &Demanded, 3111 virtual bool targetShrinkDemandedConstant(SDValue Op, const APInt &Demanded, in targetShrinkDemandedConstant() argument 3119 bool ShrinkDemandedOp(SDValue Op, unsigned BitWidth, const APInt &Demanded,
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
D | ARMISelLowering.h | 417 bool targetShrinkDemandedConstant(SDValue Op, const APInt &Demanded,
|
D | ARMISelLowering.cpp | 15771 unsigned Demanded = DemandedAPInt.getZExtValue(); in targetShrinkDemandedConstant() local 15772 unsigned ShrunkMask = Mask & Demanded; in targetShrinkDemandedConstant() 15773 unsigned ExpandedMask = Mask | ~Demanded; in targetShrinkDemandedConstant()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/ |
D | AArch64ISelLowering.h | 328 bool targetShrinkDemandedConstant(SDValue Op, const APInt &Demanded,
|
D | AArch64ISelLowering.cpp | 965 const APInt &Demanded, in optimizeLogicalImm() argument 978 uint64_t DemandedBits = Demanded.getZExtValue(); in optimizeLogicalImm() 1033 assert(((OldImm ^ NewImm) & Demanded.getZExtValue()) == 0 && in optimizeLogicalImm() 1060 SDValue Op, const APInt &Demanded, TargetLoweringOpt &TLO) const { in targetShrinkDemandedConstant() argument 1077 if (Demanded.countPopulation() == Size) in targetShrinkDemandedConstant() 1098 return optimizeLogicalImm(Op, Size, Imm, Demanded, TLO, NewOpc); in targetShrinkDemandedConstant()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86ISelLowering.h | 937 bool targetShrinkDemandedConstant(SDValue Op, const APInt &Demanded,
|
D | X86ISelLowering.cpp | 32483 const APInt &Demanded, in targetShrinkDemandedConstant() argument 32506 APInt ShrunkMask = Mask & Demanded; in targetShrinkDemandedConstant() 32530 if (!ZeroExtendMask.isSubsetOf(Mask | ~Demanded)) in targetShrinkDemandedConstant()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
D | TargetLowering.cpp | 494 bool TargetLowering::ShrinkDemandedConstant(SDValue Op, const APInt &Demanded, in ShrinkDemandedConstant() argument 500 if (targetShrinkDemandedConstant(Op, Demanded, TLO)) in ShrinkDemandedConstant() 516 if (Opcode == ISD::XOR && Demanded.isSubsetOf(C)) in ShrinkDemandedConstant() 519 if (!C.isSubsetOf(Demanded)) { in ShrinkDemandedConstant() 521 SDValue NewC = TLO.DAG.getConstant(Demanded & C, DL, VT); in ShrinkDemandedConstant() 537 const APInt &Demanded, in ShrinkDemandedOp() argument 559 unsigned DemandedSize = Demanded.getActiveBits(); in ShrinkDemandedOp()
|