/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPURewriteOutArguments.cpp | 158 Type *SrcEltTy = Arg.getType()->getPointerElementType(); in checkArgumentUses() local 159 if (SrcEltTy->isArrayTy()) in checkArgumentUses() 166 if ((SrcEltTy->isStructTy() && (SrcEltTy->getNumContainedTypes() != 1))) in checkArgumentUses() 172 if (DL->getTypeAllocSize(SrcEltTy) != DL->getTypeAllocSize(DestEltTy)) in checkArgumentUses()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | ConstantFolding.cpp | 63 Constant *C, Type *SrcEltTy, in foldConstVectorToAPInt() argument 68 unsigned BitShift = DL.getTypeSizeInBits(SrcEltTy); in foldConstVectorToAPInt() 107 Type *SrcEltTy = VTy->getElementType(); in FoldBitCast() local 111 if (SrcEltTy->isFloatingPointTy()) { in FoldBitCast() 112 unsigned FPWidth = SrcEltTy->getPrimitiveSizeInBits(); in FoldBitCast() 121 SrcEltTy, NumSrcElts, DL)) in FoldBitCast() 154 Type *SrcEltTy = C->getType()->getVectorElementType(); in FoldBitCast() local 181 if (SrcEltTy->isFloatingPointTy()) { in FoldBitCast() 182 unsigned FPWidth = SrcEltTy->getPrimitiveSizeInBits(); in FoldBitCast() 204 unsigned SrcBitSize = SrcEltTy->getPrimitiveSizeInBits(); in FoldBitCast()
|
/external/llvm/lib/Analysis/ |
D | ConstantFolding.cpp | 70 Type *SrcEltTy = VTy->getElementType(); in FoldBitCast() local 74 if (SrcEltTy->isFloatingPointTy()) { in FoldBitCast() 75 unsigned FPWidth = SrcEltTy->getPrimitiveSizeInBits(); in FoldBitCast() 84 unsigned BitShift = DL.getTypeSizeInBits(SrcEltTy); in FoldBitCast() 126 Type *SrcEltTy = C->getType()->getVectorElementType(); in FoldBitCast() local 153 if (SrcEltTy->isFloatingPointTy()) { in FoldBitCast() 154 unsigned FPWidth = SrcEltTy->getPrimitiveSizeInBits(); in FoldBitCast() 176 unsigned SrcBitSize = SrcEltTy->getPrimitiveSizeInBits(); in FoldBitCast()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstructionCombining.cpp | 1836 Type *SrcEltTy = StrippedPtrTy->getElementType(); in visitGetElementPtrInst() local 1837 if (SrcEltTy->isArrayTy() && in visitGetElementPtrInst() 1838 DL.getTypeAllocSize(SrcEltTy->getArrayElementType()) == in visitGetElementPtrInst() 1856 if (GEPEltType->isSized() && SrcEltTy->isSized()) { in visitGetElementPtrInst() 1860 uint64_t SrcSize = DL.getTypeAllocSize(SrcEltTy); in visitGetElementPtrInst() 1895 if (GEPEltType->isSized() && SrcEltTy->isSized() && in visitGetElementPtrInst() 1896 SrcEltTy->isArrayTy()) { in visitGetElementPtrInst() 1901 DL.getTypeAllocSize(SrcEltTy->getArrayElementType()); in visitGetElementPtrInst() 1923 SrcEltTy, StrippedPtr, Off, GEP.getName()) in visitGetElementPtrInst() 1924 : Builder.CreateGEP(SrcEltTy, StrippedPtr, Off, in visitGetElementPtrInst()
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | ConstantFolding.cpp | 77 Type *SrcEltTy = CV->getType()->getElementType(); in FoldBitCast() local 105 if (SrcEltTy->isFloatingPointTy()) { in FoldBitCast() 106 unsigned FPWidth = SrcEltTy->getPrimitiveSizeInBits(); in FoldBitCast() 127 unsigned SrcBitSize = SrcEltTy->getPrimitiveSizeInBits(); in FoldBitCast()
|
/external/clang/lib/CodeGen/ |
D | CGExprScalar.cpp | 1070 llvm::Type *SrcEltTy = SrcTy->getVectorElementType(), in VisitConvertVectorExpr() local 1074 assert((SrcEltTy->isFloatingPointTy() || in VisitConvertVectorExpr() 1075 isa<llvm::IntegerType>(SrcEltTy)) && "Unknown boolean conversion"); in VisitConvertVectorExpr() 1078 if (SrcEltTy->isFloatingPointTy()) { in VisitConvertVectorExpr() 1088 if (isa<llvm::IntegerType>(SrcEltTy)) { in VisitConvertVectorExpr() 1097 assert(SrcEltTy->isFloatingPointTy() && "Unknown real conversion"); in VisitConvertVectorExpr() 1103 assert(SrcEltTy->isFloatingPointTy() && DstEltTy->isFloatingPointTy() && in VisitConvertVectorExpr() 1105 if (DstEltTy->getTypeID() < SrcEltTy->getTypeID()) in VisitConvertVectorExpr()
|
/external/llvm/lib/IR/ |
D | AutoUpgrade.cpp | 733 Type *SrcEltTy = cast<VectorType>(Arg1->getType())->getElementType(); in UpgradeIntrinsicCall() local 734 PointerType *EltPtrTy = PointerType::getUnqual(SrcEltTy); in UpgradeIntrinsicCall()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64ISelLowering.cpp | 4990 EVT SrcEltTy = Source.Vec.getValueType().getVectorElementType(); in ReconstructShuffle() local 4991 if (SrcEltTy.bitsLT(SmallestEltTy)) { in ReconstructShuffle() 4992 SmallestEltTy = SrcEltTy; in ReconstructShuffle() 5064 EVT SrcEltTy = Src.ShuffleVec.getValueType().getVectorElementType(); in ReconstructShuffle() local 5065 if (SrcEltTy == SmallestEltTy) in ReconstructShuffle() 5069 Src.WindowScale = SrcEltTy.getSizeInBits() / SmallestEltTy.getSizeInBits(); in ReconstructShuffle()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/ |
D | AutoUpgrade.cpp | 1433 Type *SrcEltTy = cast<VectorType>(Arg1->getType())->getElementType(); in UpgradeIntrinsicCall() local 1434 PointerType *EltPtrTy = PointerType::getUnqual(SrcEltTy); in UpgradeIntrinsicCall()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/ |
D | AArch64ISelLowering.cpp | 5768 EVT SrcEltTy = Source.Vec.getValueType().getVectorElementType(); in ReconstructShuffle() local 5769 if (SrcEltTy.bitsLT(SmallestEltTy)) { in ReconstructShuffle() 5770 SmallestEltTy = SrcEltTy; in ReconstructShuffle() 5843 EVT SrcEltTy = Src.ShuffleVec.getValueType().getVectorElementType(); in ReconstructShuffle() local 5844 if (SrcEltTy == SmallestEltTy) in ReconstructShuffle() 5848 Src.WindowScale = SrcEltTy.getSizeInBits() / SmallestEltTy.getSizeInBits(); in ReconstructShuffle()
|
/external/llvm/lib/Target/ARM/ |
D | ARMISelLowering.cpp | 5922 EVT SrcEltTy = Source.Vec.getValueType().getVectorElementType(); in ReconstructShuffle() local 5923 if (SrcEltTy.bitsLT(SmallestEltTy)) in ReconstructShuffle() 5924 SmallestEltTy = SrcEltTy; in ReconstructShuffle() 5996 EVT SrcEltTy = Src.ShuffleVec.getValueType().getVectorElementType(); in ReconstructShuffle() local 5997 if (SrcEltTy == SmallestEltTy) in ReconstructShuffle() 6001 Src.WindowScale = SrcEltTy.getSizeInBits() / SmallestEltTy.getSizeInBits(); in ReconstructShuffle()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/ |
D | ARMISelLowering.cpp | 6750 EVT SrcEltTy = Source.Vec.getValueType().getVectorElementType(); in ReconstructShuffle() local 6751 if (SrcEltTy.bitsLT(SmallestEltTy)) in ReconstructShuffle() 6752 SmallestEltTy = SrcEltTy; in ReconstructShuffle() 6824 EVT SrcEltTy = Src.ShuffleVec.getValueType().getVectorElementType(); in ReconstructShuffle() local 6825 if (SrcEltTy == SmallestEltTy) in ReconstructShuffle() 6829 Src.WindowScale = SrcEltTy.getSizeInBits() / SmallestEltTy.getSizeInBits(); in ReconstructShuffle()
|