Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_from_tgsi.cpp1765 DataType dstTy; member in __anon569d764f0111::Converter
2178 mkOp1(OP_SAT, dstTy, val, val); in storeDst()
3206 dstTy = tgsi.inferDstType(); in handleInstruction()
3245 geni = mkOp2(op, dstTy, dst0[c], src0, src1); in handleInstruction()
3247 if (op == OP_MUL && dstTy == TYPE_F32) in handleInstruction()
3259 geni = mkOp3(op, dstTy, dst0[c], src0, src1, src2); in handleInstruction()
3260 if (dstTy == TYPE_F32) in handleInstruction()
3279 mkOp1(op, dstTy, dst0[c], fetchSrc(0, c)); in handleInstruction()
3457 mkCmp(op, tgsi.getSetCond(), dstTy, dst0[c], srcTy, src0, src1); in handleInstruction()
3466 mkOp1(op, dstTy, val0, val0) in handleInstruction()
[all …]
Dnv50_ir_build_util.cpp210 DataType dstTy, Value *dst, DataType srcTy, Value *src) in mkCvt() argument
212 Instruction *insn = new_Instruction(func, op, dstTy); in mkCvt()
214 insn->setType(dstTy, srcTy); in mkCvt()
223 BuildUtil::mkCmp(operation op, CondCode cc, DataType dstTy, Value *dst, in mkCmp() argument
229 dst->reg.file == FILE_FLAGS) ? TYPE_U8 : dstTy, srcTy); in mkCmp()
/external/llvm/lib/Transforms/Instrumentation/
DMemorySanitizer.cpp1570 Value *CreateShadowCast(IRBuilder<> &IRB, Value *V, Type *dstTy, in CreateShadowCast()
1573 if (dstTy->isIntegerTy() && srcTy->isIntegerTy()) in CreateShadowCast()
1574 return IRB.CreateIntCast(V, dstTy, Signed); in CreateShadowCast()
1575 if (dstTy->isVectorTy() && srcTy->isVectorTy() && in CreateShadowCast()
1576 dstTy->getVectorNumElements() == srcTy->getVectorNumElements()) in CreateShadowCast()
1577 return IRB.CreateIntCast(V, dstTy, Signed); in CreateShadowCast()
1579 size_t dstSizeInBits = VectorOrPrimitiveTypeSizeInBits(dstTy); in CreateShadowCast()
1583 return IRB.CreateBitCast(V2, dstTy); in CreateShadowCast()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/
DMemorySanitizer.cpp1756 Value *CreateShadowCast(IRBuilder<> &IRB, Value *V, Type *dstTy, in CreateShadowCast()
1760 size_t dstSizeInBits = VectorOrPrimitiveTypeSizeInBits(dstTy); in CreateShadowCast()
1764 if (dstTy->isIntegerTy() && srcTy->isIntegerTy()) in CreateShadowCast()
1765 return IRB.CreateIntCast(V, dstTy, Signed); in CreateShadowCast()
1766 if (dstTy->isVectorTy() && srcTy->isVectorTy() && in CreateShadowCast()
1767 dstTy->getVectorNumElements() == srcTy->getVectorNumElements()) in CreateShadowCast()
1768 return IRB.CreateIntCast(V, dstTy, Signed); in CreateShadowCast()
1772 return IRB.CreateBitCast(V2, dstTy); in CreateShadowCast()
/external/swiftshader/src/Reactor/
DLLVMReactor.cpp145 llvm::Value *y, llvm::Type *dstTy) in lowerPCMP() argument
147 return ::builder->CreateSExt(::builder->CreateICmp(pred, x, y), dstTy, ""); in lowerPCMP()
154 llvm::VectorType *dstTy = llvm::cast<llvm::VectorType>(dstType); in lowerPMOV() local
157 llvm::SmallVector<uint32_t, 16> mask(dstTy->getNumElements()); in lowerPMOV()
161 return sext ? ::builder->CreateSExt(v, dstTy) in lowerPMOV()
162 : ::builder->CreateZExt(v, dstTy); in lowerPMOV()
369 llvm::VectorType *dstTy = llvm::VectorType::getTruncatedElementVectorType(srcTy); in lowerPack() local
372 llvm::cast<llvm::IntegerType>(dstTy->getElementType()); in lowerPack()
393 x = ::builder->CreateTrunc(x, dstTy); in lowerPack()
394 y = ::builder->CreateTrunc(y, dstTy); in lowerPack()