Home
last modified time | relevance | path

Searched refs:DestBits (Results 1 – 13 of 13) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DInstructions.cpp2698 unsigned DestBits = DestTy->getPrimitiveSizeInBits(); // 0 for ptr in isCastable() local
2707 return DestBits == SrcBits; in isCastable()
2717 return DestBits == SrcBits; in isCastable()
2722 return DestBits == SrcBits; in isCastable()
2730 return DestBits == SrcBits; // 64-bit vector to MMX in isCastable()
2760 unsigned DestBits = DestTy->getPrimitiveSizeInBits(); // 0 for ptr in isBitCastable() local
2764 if (SrcBits == 0 || DestBits == 0) in isBitCastable()
2767 if (SrcBits != DestBits) in isBitCastable()
2821 unsigned DestBits = DestTy->getPrimitiveSizeInBits(); // 0 for ptr in getCastOpcode() local
2826 if (DestBits < SrcBits) in getCastOpcode()
[all …]
/external/swiftshader/third_party/LLVM/lib/VMCore/
DInstructions.cpp2440 unsigned DestBits = DestTy->getPrimitiveSizeInBits(); // 0 for ptr in isCastable() local
2449 return DestBits == SrcBits; in isCastable()
2459 return DestBits == SrcBits; in isCastable()
2464 return DestBits == SrcBits; in isCastable()
2475 return DestBits == SrcBits; // 64-bit vector to MMX in isCastable()
2513 unsigned DestBits = DestTy->getPrimitiveSizeInBits(); // 0 for ptr in getCastOpcode() local
2518 if (DestBits < SrcBits) in getCastOpcode()
2520 else if (DestBits > SrcBits) { // its an extension in getCastOpcode()
2534 assert(DestBits == SrcBits && in getCastOpcode()
2549 if (DestBits < SrcBits) { in getCastOpcode()
[all …]
/external/llvm/lib/IR/
DInstructions.cpp2883 unsigned DestBits = DestTy->getPrimitiveSizeInBits(); // 0 for ptr in isCastable() local
2892 return DestBits == SrcBits; in isCastable()
2902 return DestBits == SrcBits; in isCastable()
2907 return DestBits == SrcBits; in isCastable()
2915 return DestBits == SrcBits; // 64-bit vector to MMX in isCastable()
2945 unsigned DestBits = DestTy->getPrimitiveSizeInBits(); // 0 for ptr in isBitCastable() local
2949 if (SrcBits == 0 || DestBits == 0) in isBitCastable()
2952 if (SrcBits != DestBits) in isBitCastable()
3003 unsigned DestBits = DestTy->getPrimitiveSizeInBits(); // 0 for ptr in getCastOpcode() local
3008 if (DestBits < SrcBits) in getCastOpcode()
[all …]
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineShifts.cpp736 uint32_t DestBits = ZI->getType()->getScalarSizeInBits(); in visitAShr() local
737 if (Op1C->getZExtValue() == DestBits-SrcBits) in visitAShr()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/RISCV/
DRISCVISelLowering.cpp204 unsigned DestBits = DstTy->getPrimitiveSizeInBits(); in isTruncateFree() local
205 return (SrcBits == 64 && DestBits == 32); in isTruncateFree()
213 unsigned DestBits = DstVT.getSizeInBits(); in isTruncateFree() local
214 return (SrcBits == 64 && DestBits == 32); in isTruncateFree()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineShifts.cpp809 uint32_t DestBits = ZI->getType()->getScalarSizeInBits(); in visitAShr() local
810 if (Op1C->getZExtValue() == DestBits-SrcBits) in visitAShr()
/external/llvm/lib/Target/ARM/
DARMFastISel.cpp2658 unsigned DestBits = DestVT.getSizeInBits(); in ARMEmitIntExt() local
2659 (void) DestBits; in ARMEmitIntExt()
2660 assert((SrcBits < DestBits) && "can only extend to larger types"); in ARMEmitIntExt()
2661 assert((DestBits == 32 || DestBits == 16 || DestBits == 8) && in ARMEmitIntExt()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/
DARMFastISel.cpp2684 unsigned DestBits = DestVT.getSizeInBits(); in ARMEmitIntExt() local
2685 (void) DestBits; in ARMEmitIntExt()
2686 assert((SrcBits < DestBits) && "can only extend to larger types"); in ARMEmitIntExt()
2687 assert((DestBits == 32 || DestBits == 16 || DestBits == 8) && in ARMEmitIntExt()
DARMISelLowering.cpp12965 unsigned DestBits = DstTy->getPrimitiveSizeInBits(); in isTruncateFree() local
12966 return (SrcBits == 64 && DestBits == 32); in isTruncateFree()
12974 unsigned DestBits = DstVT.getSizeInBits(); in isTruncateFree() local
12975 return (SrcBits == 64 && DestBits == 32); in isTruncateFree()
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp1459 unsigned DestBits = VT.getScalarType().getSizeInBits(); in visitADD() local
1463 if (NumSignBits == DestBits && AndOp1 && AndOp1->isOne()) { in visitADD()
3983 unsigned DestBits = VT.getScalarType().getSizeInBits(); in visitSIGN_EXTEND() local
3986 if (OpBits == DestBits) { in visitSIGN_EXTEND()
3989 if (NumSignBits > DestBits-MidBits) in visitSIGN_EXTEND()
3991 } else if (OpBits < DestBits) { in visitSIGN_EXTEND()
4006 if (OpBits < DestBits) in visitSIGN_EXTEND()
4008 else if (OpBits > DestBits) in visitSIGN_EXTEND()
/external/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp1747 unsigned DestBits = VT.getScalarType().getSizeInBits(); in visitADD() local
1751 if (NumSignBits == DestBits && isOneConstant(N1->getOperand(1))) { in visitADD()
6046 unsigned DestBits = VT.getScalarType().getSizeInBits(); in visitSIGN_EXTEND() local
6049 if (OpBits == DestBits) { in visitSIGN_EXTEND()
6052 if (NumSignBits > DestBits-MidBits) in visitSIGN_EXTEND()
6054 } else if (OpBits < DestBits) { in visitSIGN_EXTEND()
6069 if (OpBits < DestBits) in visitSIGN_EXTEND()
6071 else if (OpBits > DestBits) in visitSIGN_EXTEND()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp2247 unsigned DestBits = VT.getScalarSizeInBits(); in visitADDLike() local
2251 if (NumSignBits == DestBits && in visitADDLike()
8389 unsigned DestBits = VT.getScalarSizeInBits(); in visitSIGN_EXTEND() local
8392 if (OpBits == DestBits) { in visitSIGN_EXTEND()
8395 if (NumSignBits > DestBits-MidBits) in visitSIGN_EXTEND()
8397 } else if (OpBits < DestBits) { in visitSIGN_EXTEND()
8412 if (OpBits < DestBits) in visitSIGN_EXTEND()
8414 else if (OpBits > DestBits) in visitSIGN_EXTEND()
/external/swiftshader/third_party/subzero/src/
DIceTargetLoweringX86BaseImpl.h2877 size_t DestBits = Traits::X86_CHAR_BIT * typeWidthInBytes(DestTy);
2878 Constant *ShiftAmount = Ctx->getConstantInt32(DestBits - 1);