Home
last modified time | relevance | path

Searched refs:Demanded (Results 1 – 11 of 11) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp42 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/
DAMDGPUISelLowering.cpp2807 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()
DSIISelLowering.cpp9945 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/
DTargetLowering.h3105 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/
DARMISelLowering.h417 bool targetShrinkDemandedConstant(SDValue Op, const APInt &Demanded,
DARMISelLowering.cpp15771 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/
DAArch64ISelLowering.h328 bool targetShrinkDemandedConstant(SDValue Op, const APInt &Demanded,
DAArch64ISelLowering.cpp965 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/
DX86ISelLowering.h937 bool targetShrinkDemandedConstant(SDValue Op, const APInt &Demanded,
DX86ISelLowering.cpp32483 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/
DTargetLowering.cpp494 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()