Home
last modified time | relevance | path

Searched refs:dstTy (Results 1 – 4 of 4) sorted by relevance

/third_party/mesa3d/src/nouveau/codegen/
Dnv50_ir_from_tgsi.cpp1745 DataType dstTy; member in __anon08b2b8790211::Converter
2132 mkOp1(OP_SAT, dstTy, val, val); in storeDst()
3186 dstTy = tgsi.inferDstType(); in handleInstruction()
3225 geni = mkOp2(op, dstTy, dst0[c], src0, src1); in handleInstruction()
3227 if (op == OP_MUL && dstTy == TYPE_F32) in handleInstruction()
3239 geni = mkOp3(op, dstTy, dst0[c], src0, src1, src2); in handleInstruction()
3240 if (dstTy == TYPE_F32) in handleInstruction()
3259 mkOp1(op, dstTy, dst0[c], fetchSrc(0, c)); in handleInstruction()
3437 mkCmp(op, tgsi.getSetCond(), dstTy, dst0[c], srcTy, src0, src1); in handleInstruction()
3446 mkOp1(op, dstTy, val0, val0) in handleInstruction()
[all …]
Dnv50_ir_build_util.cpp212 DataType dstTy, Value *dst, DataType srcTy, Value *src) in mkCvt() argument
214 Instruction *insn = new_Instruction(func, op, dstTy); in mkCvt()
216 insn->setType(dstTy, srcTy); in mkCvt()
225 BuildUtil::mkCmp(operation op, CondCode cc, DataType dstTy, Value *dst, in mkCmp() argument
231 dst->reg.file == FILE_FLAGS) ? TYPE_U8 : dstTy, srcTy); in mkCmp()
/third_party/skia/third_party/externals/swiftshader/src/Reactor/
DLLVMReactor.cpp111 llvm::Value *y, llvm::Type *dstTy) in lowerPCMP() argument
113 return jit->builder->CreateSExt(jit->builder->CreateICmp(pred, x, y), dstTy, ""); in lowerPCMP()
120 llvm::FixedVectorType *dstTy = llvm::cast<llvm::FixedVectorType>(dstType); in lowerPMOV() local
123 llvm::SmallVector<uint32_t, 16> mask(dstTy->getNumElements()); in lowerPMOV()
127 return sext ? jit->builder->CreateSExt(v, dstTy) in lowerPMOV()
128 : jit->builder->CreateZExt(v, dstTy); in lowerPMOV()
272 llvm::VectorType *dstTy = llvm::VectorType::getTruncatedElementVectorType(srcTy); in lowerPack() local
275 llvm::cast<llvm::IntegerType>(dstTy->getElementType()); in lowerPack()
296 x = jit->builder->CreateTrunc(x, dstTy); in lowerPack()
297 y = jit->builder->CreateTrunc(y, dstTy); in lowerPack()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DMemorySanitizer.cpp2080 Value *CreateShadowCast(IRBuilder<> &IRB, Value *V, Type *dstTy, in CreateShadowCast()
2084 size_t dstSizeInBits = VectorOrPrimitiveTypeSizeInBits(dstTy); in CreateShadowCast()
2088 if (dstTy->isIntegerTy() && srcTy->isIntegerTy()) in CreateShadowCast()
2089 return IRB.CreateIntCast(V, dstTy, Signed); in CreateShadowCast()
2090 if (dstTy->isVectorTy() && srcTy->isVectorTy() && in CreateShadowCast()
2091 dstTy->getVectorNumElements() == srcTy->getVectorNumElements()) in CreateShadowCast()
2092 return IRB.CreateIntCast(V, dstTy, Signed); in CreateShadowCast()
2096 return IRB.CreateBitCast(V2, dstTy); in CreateShadowCast()