/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | Instructions.cpp | 2908 unsigned SrcBits = C->getType()->getScalarSizeInBits(); in CreateIntegerCast() local 2911 (SrcBits == DstBits ? Instruction::BitCast : in CreateIntegerCast() 2912 (SrcBits > DstBits ? Instruction::Trunc : in CreateIntegerCast() 2922 unsigned SrcBits = C->getType()->getScalarSizeInBits(); in CreateIntegerCast() local 2925 (SrcBits == DstBits ? Instruction::BitCast : in CreateIntegerCast() 2926 (SrcBits > DstBits ? Instruction::Trunc : in CreateIntegerCast() 2936 unsigned SrcBits = C->getType()->getScalarSizeInBits(); in CreateFPCast() local 2939 (SrcBits == DstBits ? Instruction::BitCast : in CreateFPCast() 2940 (SrcBits > DstBits ? Instruction::FPTrunc : Instruction::FPExt)); in CreateFPCast() 2949 unsigned SrcBits = C->getType()->getScalarSizeInBits(); in CreateFPCast() local [all …]
|
D | Constants.cpp | 1715 unsigned SrcBits = C->getType()->getScalarSizeInBits(); in getIntegerCast() local 1718 (SrcBits == DstBits ? Instruction::BitCast : in getIntegerCast() 1719 (SrcBits > DstBits ? Instruction::Trunc : in getIntegerCast() 1727 unsigned SrcBits = C->getType()->getScalarSizeInBits(); in getFPCast() local 1729 if (SrcBits == DstBits) in getFPCast() 1732 (SrcBits > DstBits ? Instruction::FPTrunc : Instruction::FPExt); in getFPCast()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/ |
D | AArch64FastISel.cpp | 4126 unsigned SrcBits = SrcVT.getSizeInBits(); in emitLSL_ri() local 4173 unsigned ImmS = std::min<unsigned>(SrcBits - 1, DstBits - 1 - Shift); in emitLSL_ri() 4233 unsigned SrcBits = SrcVT.getSizeInBits(); in emitLSR_ri() local 4278 if (Shift >= SrcBits && IsZExt) in emitLSR_ri() 4289 SrcBits = SrcVT.getSizeInBits(); in emitLSR_ri() 4293 unsigned ImmR = std::min<unsigned>(SrcBits - 1, Shift); in emitLSR_ri() 4294 unsigned ImmS = SrcBits - 1; in emitLSR_ri() 4354 unsigned SrcBits = SrcVT.getSizeInBits(); in emitASR_ri() local 4399 if (Shift >= SrcBits && IsZExt) in emitASR_ri() 4402 unsigned ImmR = std::min<unsigned>(SrcBits - 1, Shift); in emitASR_ri() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
D | ARMFastISel.cpp | 2676 unsigned SrcBits = SrcVT.getSizeInBits(); in ARMEmitIntExt() local 2679 assert((SrcBits < DestBits) && "can only extend to larger types"); in ARMEmitIntExt() 2682 assert((SrcBits == 16 || SrcBits == 8 || SrcBits == 1) && in ARMEmitIntExt() 2686 unsigned Bitness = SrcBits / 8; // {1,8,16}=>{0,1,2} in ARMEmitIntExt()
|
D | ARMISelLowering.cpp | 14879 unsigned SrcBits = SrcTy->getPrimitiveSizeInBits(); in isTruncateFree() local 14881 return (SrcBits == 64 && DestBits == 32); in isTruncateFree() 14888 unsigned SrcBits = SrcVT.getSizeInBits(); in isTruncateFree() local 14890 return (SrcBits == 64 && DestBits == 32); in isTruncateFree()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | ScalarEvolutionExpander.cpp | 2253 unsigned SrcBits = SE.getTypeSizeInBits(ExitCount->getType()); in generateOverflowCheck() local 2261 IntegerType *CountTy = IntegerType::get(Loc->getContext(), SrcBits); in generateOverflowCheck() 2321 auto MaxVal = APInt::getMaxValue(DstBits).zext(SrcBits); in generateOverflowCheck()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/ |
D | RISCVISelLowering.cpp | 307 unsigned SrcBits = SrcTy->getPrimitiveSizeInBits(); in isTruncateFree() local 309 return (SrcBits == 64 && DestBits == 32); in isTruncateFree() 316 unsigned SrcBits = SrcVT.getSizeInBits(); in isTruncateFree() local 318 return (SrcBits == 64 && DestBits == 32); in isTruncateFree()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 1545 SrcBits = X->getType()->getScalarSizeInBits(); in foldICmpTruncConstant() local 1549 if ((Known.Zero | Known.One).countLeadingOnes() >= SrcBits - DstBits) { in foldICmpTruncConstant() 1551 APInt NewRHS = C.zext(SrcBits); in foldICmpTruncConstant() 1552 NewRHS |= Known.One & APInt::getHighBitsSet(SrcBits, SrcBits - DstBits); in foldICmpTruncConstant()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAG.cpp | 3590 unsigned SrcBits = SrcVT.getScalarSizeInBits(); in ComputeNumSignBits() local 3597 if (VTBits == SrcBits) in ComputeNumSignBits() 3603 if ((SrcBits % VTBits) == 0) { in ComputeNumSignBits() 3606 unsigned Scale = SrcBits / VTBits; in ComputeNumSignBits() 3614 if (Tmp == SrcBits) in ComputeNumSignBits()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 32752 unsigned SrcBits = Op.getOperand(0).getScalarValueSizeInBits(); in ComputeNumSignBitsForTargetNode() local 32753 unsigned Tmp0 = SrcBits, Tmp1 = SrcBits; in ComputeNumSignBitsForTargetNode() 32759 if (Tmp > (SrcBits - VTBits)) in ComputeNumSignBitsForTargetNode() 32760 return Tmp - (SrcBits - VTBits); in ComputeNumSignBitsForTargetNode() 36070 unsigned SrcBits = SrcVT.getScalarSizeInBits(); in SimplifyDemandedBitsForTargetNode() local 36089 if (SimplifyDemandedBits(Src, APInt::getSignMask(SrcBits), DemandedElts, in SimplifyDemandedBitsForTargetNode() 36093 if (KnownSrc.One[SrcBits - 1]) in SimplifyDemandedBitsForTargetNode() 36095 else if (KnownSrc.Zero[SrcBits - 1]) in SimplifyDemandedBitsForTargetNode()
|