Home
last modified time | relevance | path

Searched refs:DstBits (Results 1 – 5 of 5) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DInstructions.cpp2909 unsigned DstBits = Ty->getScalarSizeInBits(); in CreateIntegerCast() local
2911 (SrcBits == DstBits ? Instruction::BitCast : in CreateIntegerCast()
2912 (SrcBits > DstBits ? Instruction::Trunc : in CreateIntegerCast()
2923 unsigned DstBits = Ty->getScalarSizeInBits(); in CreateIntegerCast() local
2925 (SrcBits == DstBits ? Instruction::BitCast : in CreateIntegerCast()
2926 (SrcBits > DstBits ? Instruction::Trunc : in CreateIntegerCast()
2937 unsigned DstBits = Ty->getScalarSizeInBits(); in CreateFPCast() local
2939 (SrcBits == DstBits ? Instruction::BitCast : in CreateFPCast()
2940 (SrcBits > DstBits ? Instruction::FPTrunc : Instruction::FPExt)); in CreateFPCast()
2950 unsigned DstBits = Ty->getScalarSizeInBits(); in CreateFPCast() local
[all …]
DConstants.cpp1716 unsigned DstBits = Ty->getScalarSizeInBits(); in getIntegerCast() local
1718 (SrcBits == DstBits ? Instruction::BitCast : in getIntegerCast()
1719 (SrcBits > DstBits ? Instruction::Trunc : in getIntegerCast()
1728 unsigned DstBits = Ty->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/
DAArch64FastISel.cpp4125 unsigned DstBits = RetVT.getSizeInBits(); in emitLSL_ri() local
4143 if (Shift >= DstBits) in emitLSL_ri()
4173 unsigned ImmS = std::min<unsigned>(SrcBits - 1, DstBits - 1 - Shift); in emitLSL_ri()
4232 unsigned DstBits = RetVT.getSizeInBits(); in emitLSR_ri() local
4250 if (Shift >= DstBits) in emitLSR_ri()
4353 unsigned DstBits = RetVT.getSizeInBits(); in emitASR_ri() local
4371 if (Shift >= DstBits) in emitASR_ri()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DScalarEvolutionExpander.cpp2254 unsigned DstBits = SE.getTypeSizeInBits(ARTy); in generateOverflowCheck() local
2274 ConstantInt::get(Loc->getContext(), APInt::getNullValue(DstBits)); 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/Transforms/InstCombine/
DInstCombineCompares.cpp1544 unsigned DstBits = Trunc->getType()->getScalarSizeInBits(), in foldICmpTruncConstant() local
1549 if ((Known.Zero | Known.One).countLeadingOnes() >= SrcBits - DstBits) { in foldICmpTruncConstant()
1552 NewRHS |= Known.One & APInt::getHighBitsSet(SrcBits, SrcBits - DstBits); in foldICmpTruncConstant()