/external/spirv-llvm/lib/SPIRV/ |
D | OCL20ToSPIRV.cpp | 832 auto TargetTy = CI->getType(); in visitCallConvert() local 834 if (isa<VectorType>(TargetTy)) in visitCallConvert() 835 TargetTy = TargetTy->getVectorElementType(); in visitCallConvert() 838 auto IsTargetInt = isa<IntegerType>(TargetTy); in visitCallConvert() 1142 auto TargetTy = CI->getType(); in eraseUselessConvert() local 1144 if (isa<VectorType>(TargetTy)) in eraseUselessConvert() 1145 TargetTy = TargetTy->getVectorElementType(); in eraseUselessConvert() 1148 if (TargetTy == SrcTy) { in eraseUselessConvert() 1149 if (isa<IntegerType>(TargetTy) && in eraseUselessConvert()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | SROA.cpp | 1397 Value *BasePtr, Type *Ty, Type *TargetTy, in getNaturalGEPWithType() argument 1400 if (Ty == TargetTy) in getNaturalGEPWithType() 1429 } while (ElementTy != TargetTy); in getNaturalGEPWithType() 1430 if (ElementTy != TargetTy) in getNaturalGEPWithType() 1442 Type *TargetTy, in getNaturalGEPRecursively() argument 1446 return getNaturalGEPWithType(IRB, DL, Ptr, Ty, TargetTy, Indices, in getNaturalGEPRecursively() 1469 Offset, TargetTy, Indices, NamePrefix); in getNaturalGEPRecursively() 1481 return getNaturalGEPRecursively(IRB, DL, Ptr, ElementTy, Offset, TargetTy, in getNaturalGEPRecursively() 1500 return getNaturalGEPRecursively(IRB, DL, Ptr, ElementTy, Offset, TargetTy, in getNaturalGEPRecursively() 1515 Value *Ptr, APInt Offset, Type *TargetTy, in getNaturalGEPWithOffset() argument [all …]
|
/external/llvm/lib/Transforms/Scalar/ |
D | SROA.cpp | 1336 Value *BasePtr, Type *Ty, Type *TargetTy, in getNaturalGEPWithType() argument 1339 if (Ty == TargetTy) in getNaturalGEPWithType() 1368 } while (ElementTy != TargetTy); in getNaturalGEPWithType() 1369 if (ElementTy != TargetTy) in getNaturalGEPWithType() 1381 Type *TargetTy, in getNaturalGEPRecursively() argument 1385 return getNaturalGEPWithType(IRB, DL, Ptr, Ty, TargetTy, Indices, in getNaturalGEPRecursively() 1408 Offset, TargetTy, Indices, NamePrefix); in getNaturalGEPRecursively() 1420 return getNaturalGEPRecursively(IRB, DL, Ptr, ElementTy, Offset, TargetTy, in getNaturalGEPRecursively() 1439 return getNaturalGEPRecursively(IRB, DL, Ptr, ElementTy, Offset, TargetTy, in getNaturalGEPRecursively() 1454 Value *Ptr, APInt Offset, Type *TargetTy, in getNaturalGEPWithOffset() argument [all …]
|
/external/clang/lib/CodeGen/ |
D | CGExpr.cpp | 2354 llvm::Type *TargetTy = IntPtrTy; in EmitCheckValue() local 2360 if (Bits <= TargetTy->getIntegerBitWidth()) in EmitCheckValue() 2367 V->getType()->getIntegerBitWidth() <= TargetTy->getIntegerBitWidth()) in EmitCheckValue() 2368 return Builder.CreateZExt(V, TargetTy); in EmitCheckValue() 2376 return Builder.CreatePtrToInt(V, TargetTy); in EmitCheckValue()
|
/external/llvm/lib/IR/ |
D | Verifier.cpp | 2881 Type *TargetTy = GEP.getPointerOperandType()->getScalarType(); in visitGetElementPtrInst() local 2883 Assert(isa<PointerType>(TargetTy), in visitGetElementPtrInst()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/ |
D | Verifier.cpp | 3100 Type *TargetTy = GEP.getPointerOperandType()->getScalarType(); in visitGetElementPtrInst() local 3102 Assert(isa<PointerType>(TargetTy), in visitGetElementPtrInst()
|