Home
last modified time | relevance | path

Searched refs:srcTy (Results 1 – 7 of 7) sorted by relevance

/external/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_build_util.cpp210 DataType dstTy, Value *dst, DataType srcTy, Value *src) in mkCvt() argument
214 insn->setType(dstTy, srcTy); in mkCvt()
224 DataType srcTy, Value *src0, Value *src1, Value *src2) in mkCmp() argument
229 dst->reg.file == FILE_FLAGS) ? TYPE_U8 : dstTy, srcTy); in mkCmp()
Dnv50_ir_from_tgsi.cpp1766 DataType srcTy; member in __anon569d764f0111::Converter
3207 srcTy = tgsi.inferSrcType(); in handleInstruction()
3402 mkCmp(OP_SET, CC_GT, srcTy, val0, srcTy, src0, zero); in handleInstruction()
3403 mkCmp(OP_SET, CC_LT, srcTy, val1, srcTy, src0, zero); in handleInstruction()
3404 if (srcTy == TYPE_F32) in handleInstruction()
3411 srcTy = TYPE_U32; in handleInstruction()
3421 mkCmp(OP_SLCT, (srcTy == TYPE_F32) ? CC_LT : CC_NE, in handleInstruction()
3422 srcTy, dst0[c], srcTy, src1, src2, src0); in handleInstruction()
3457 mkCmp(op, tgsi.getSetCond(), dstTy, dst0[c], srcTy, src0, src1); in handleInstruction()
3578 mkCvt(OP_CVT, dstTy, dst0[c], srcTy, fetchSrc(0, c))->rnd = ROUND_Z; in handleInstruction()
[all …]
/external/spirv-llvm/lib/SPIRV/
DSPIRVToOCL20.cpp518 Type const* srcTy = Cast.getSrcTy(); in visitCastInst() local
523 srcTy->getScalarSizeInBits() == 1 || in visitCastInst()
/external/llvm/lib/Transforms/Instrumentation/
DMemorySanitizer.cpp1572 Type *srcTy = V->getType(); in CreateShadowCast() local
1573 if (dstTy->isIntegerTy() && srcTy->isIntegerTy()) in CreateShadowCast()
1575 if (dstTy->isVectorTy() && srcTy->isVectorTy() && in CreateShadowCast()
1576 dstTy->getVectorNumElements() == srcTy->getVectorNumElements()) in CreateShadowCast()
1578 size_t srcSizeInBits = VectorOrPrimitiveTypeSizeInBits(srcTy); in CreateShadowCast()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/
DMemorySanitizer.cpp1758 Type *srcTy = V->getType(); in CreateShadowCast() local
1759 size_t srcSizeInBits = VectorOrPrimitiveTypeSizeInBits(srcTy); in CreateShadowCast()
1764 if (dstTy->isIntegerTy() && srcTy->isIntegerTy()) in CreateShadowCast()
1766 if (dstTy->isVectorTy() && srcTy->isVectorTy() && in CreateShadowCast()
1767 dstTy->getVectorNumElements() == srcTy->getVectorNumElements()) in CreateShadowCast()
/external/swiftshader/src/Reactor/
DLLVMReactor.cpp153 llvm::VectorType *srcTy = llvm::cast<llvm::VectorType>(op->getType()); in lowerPMOV() local
156 llvm::Value *undef = llvm::UndefValue::get(srcTy); in lowerPMOV()
368 llvm::VectorType *srcTy = llvm::cast<llvm::VectorType>(x->getType()); in lowerPack() local
369 llvm::VectorType *dstTy = llvm::VectorType::getTruncatedElementVectorType(srcTy); in lowerPack()
379 max = llvm::ConstantInt::get(srcTy, (1LL << (truncNumBits - 1)) - 1, true); in lowerPack()
380 min = llvm::ConstantInt::get(srcTy, (-1LL << (truncNumBits - 1)), true); in lowerPack()
384 max = llvm::ConstantInt::get(srcTy, (1ULL << truncNumBits) - 1, false); in lowerPack()
385 min = llvm::ConstantInt::get(srcTy, 0, false); in lowerPack()
396 llvm::SmallVector<uint32_t, 16> index(srcTy->getNumElements() * 2); in lowerPack()
/external/clang/lib/Sema/
DSemaExpr.cpp5813 bool Sema::areLaxCompatibleVectorTypes(QualType srcTy, QualType destTy) { in areLaxCompatibleVectorTypes() argument
5814 assert(destTy->isVectorType() || srcTy->isVectorType()); in areLaxCompatibleVectorTypes()
5821 if (srcTy->isScalarType() && destTy->isExtVectorType()) return false; in areLaxCompatibleVectorTypes()
5822 if (destTy->isScalarType() && srcTy->isExtVectorType()) return false; in areLaxCompatibleVectorTypes()
5826 if (!breakDownVectorType(srcTy, srcLen, srcEltTy)) return false; in areLaxCompatibleVectorTypes()
5840 bool Sema::isLaxVectorConversion(QualType srcTy, QualType destTy) { in isLaxVectorConversion() argument
5841 assert(destTy->isVectorType() || srcTy->isVectorType()); in isLaxVectorConversion()
5845 return areLaxCompatibleVectorTypes(srcTy, destTy); in isLaxVectorConversion()