Home
last modified time | relevance | path

Searched refs:isHalfTy (Results 1 – 25 of 58) sorted by relevance

123

/external/llvm-project/mlir/lib/Conversion/GPUToVulkan/
DConvertLaunchFuncToVulkanCalls.cpp136 if (type.isHalfTy()) in stringifyType()
241 if (type.isHalfTy()) { in createBindMemRefCalls()
329 if (type.isHalfTy()) in declareVulkanFunctions()
/external/llvm-project/mlir/lib/Conversion/GPUCommon/
DOpToFuncCallLowering.h84 if (!type.isHalfTy()) in maybeCast()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64TargetTransformInfo.h157 if (Ty->isHalfTy() || Ty->isFloatTy() || Ty->isDoubleTy()) in isLegalMaskedLoadStore()
/external/llvm/lib/Analysis/
DConstantFolding.cpp323 if (CFP->getType()->isHalfTy()){ in ReadDataFromGlobal()
422 if (LoadTy->isHalfTy()) in FoldReinterpretLoadFromConstPtr()
1364 if (Ty->isHalfTy()) { in GetConstantFoldFPValue()
1480 if (!Ty->isHalfTy() && !Ty->isFloatTy() && !Ty->isDoubleTy()) in ConstantFoldScalarCall()
1603 (Ty->isHalfTy() || Ty->isFloatTy() || Ty->isDoubleTy())) { in ConstantFoldScalarCall()
1704 if (!Ty->isHalfTy() && !Ty->isFloatTy() && !Ty->isDoubleTy()) in ConstantFoldScalarCall()
1747 if (IntrinsicID == Intrinsic::powi && Ty->isHalfTy()) in ConstantFoldScalarCall()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DConstantFolding.cpp417 if (CFP->getType()->isHalfTy()){ in ReadDataFromGlobal()
516 if (LoadTy->isHalfTy()) in FoldReinterpretLoadFromConstPtr()
1565 if (Ty->isHalfTy() || Ty->isFloatTy()) { in GetConstantFoldFPValue()
1743 if (!Ty->isHalfTy() && !Ty->isFloatTy() && !Ty->isDoubleTy()) in ConstantFoldScalarCall1()
2034 if (!Ty->isHalfTy() && !Ty->isFloatTy() && !Ty->isDoubleTy()) in ConstantFoldScalarCall2()
2109 if (IntrinsicID == Intrinsic::powi && Ty->isHalfTy()) in ConstantFoldScalarCall2()
2556 if (Ty->isDoubleTy() || Ty->isFloatTy() || Ty->isHalfTy()) { in isMathLibCallNoop()
2616 if (Ty->isDoubleTy() || Ty->isFloatTy() || Ty->isHalfTy()) { in isMathLibCallNoop()
DIVDescriptors.cpp1017 !PhiTy->isDoubleTy() && !PhiTy->isHalfTy()) in isInductionPHI()
/external/llvm-project/llvm/lib/Target/AArch64/
DAArch64TargetTransformInfo.h178 if (Ty->isBFloatTy() || Ty->isHalfTy() || in isLegalMaskedLoadStore()
/external/llvm-project/llvm/lib/Analysis/
DConstantFolding.cpp458 if (CFP->getType()->isHalfTy()){ in ReadDataFromGlobal()
564 if (LoadTy->isHalfTy()) in FoldReinterpretLoadFromConstPtr()
1662 if (Ty->isHalfTy() || Ty->isFloatTy()) { in GetConstantFoldFPValue()
1922 if (!Ty->isHalfTy() && !Ty->isFloatTy() && !Ty->isDoubleTy()) in ConstantFoldScalarCall1()
2344 if (!Ty->isHalfTy() && !Ty->isFloatTy() && !Ty->isDoubleTy()) in ConstantFoldScalarCall2()
2437 if (IntrinsicID == Intrinsic::powi && Ty->isHalfTy()) in ConstantFoldScalarCall2()
3042 if (Ty->isDoubleTy() || Ty->isFloatTy() || Ty->isHalfTy()) { in isMathLibCallNoop()
3098 if (Ty->isDoubleTy() || Ty->isFloatTy() || Ty->isHalfTy()) { in isMathLibCallNoop()
DIVDescriptors.cpp1111 !PhiTy->isDoubleTy() && !PhiTy->isHalfTy()) in isInductionPHI()
/external/llvm/include/llvm/IR/
DType.h140 bool isHalfTy() const { return getTypeID() == HalfTyID; } in isHalfTy() function
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DType.h142 bool isHalfTy() const { return getTypeID() == HalfTyID; } in isHalfTy() function
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DType.h144 bool isHalfTy() const { return getTypeID() == HalfTyID; } in isHalfTy() function
/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPUInstCombineIntrinsic.cpp61 if (VTy->isHalfTy() || VTy->isIntegerTy(16)) { in canSafelyConvertTo16Bit()
78 if (CastSrcTy->isHalfTy() || CastSrcTy->isIntegerTy(16)) in canSafelyConvertTo16Bit()
676 } else if (!Ty->isFloatTy() && !Ty->isDoubleTy() && !Ty->isHalfTy()) in instCombineIntrinsic()
DAMDGPUCodeGenPrepare.cpp765 if (Ty->isHalfTy() && !ST->has16BitInsts()) in visitFDiv()
778 const bool RcpIsAccurate = (Ty->isHalfTy() && ReqdAccuracy >= 1.0f) || in visitFDiv()
/external/llvm-project/llvm/include/llvm/IR/
DType.h141 bool isHalfTy() const { return getTypeID() == HalfTyID; } in isHalfTy() function
/external/llvm-project/mlir/lib/Target/LLVMIR/
DTypeTranslation.cpp217 if (type->isHalfTy()) in translatePrimitiveType()
/external/llvm-project/mlir/include/mlir/Dialect/LLVMIR/
DLLVMTypes.h91 bool isHalfTy() { return isa<LLVMHalfType>(); } in isHalfTy() function
/external/llvm-project/llvm/lib/Target/ARM/
DARMTargetTransformInfo.cpp1309 if (SrcVTy->getNumElements() == 4 && SrcVTy->getScalarType()->isHalfTy() && in getMemoryOpCost()
1534 if (F->getReturnType()->isHalfTy() && !ST->hasFullFP16()) in isLoweredToCall()
1640 if (I.getType()->isHalfTy() && !ST->hasFullFP16()) in maybeLoweredToCall()
1798 !I->getType()->isHalfTy()) { in canTailPredicateLoop()
/external/llvm-project/llvm/lib/IR/
DConstants.cpp1178 if (CFP->getType()->isHalfTy() || CFP->getType()->isBFloatTy()) in getSequenceIfElementsMatch()
2836 if (Ty->isHalfTy() || Ty->isBFloatTy() || Ty->isFloatTy() || Ty->isDoubleTy()) in isElementTypeCompatible()
2964 assert((ElementType->isHalfTy() || ElementType->isBFloatTy()) && in getFP()
3039 assert((ElementType->isHalfTy() || ElementType->isBFloatTy()) && in getFP()
3083 if (CFP->getType()->isHalfTy()) { in getSplat()
3194 if (getElementType()->isHalfTy() || getElementType()->isBFloatTy() || in getElementAsConstant()
/external/llvm-project/mlir/lib/Dialect/LLVMIR/IR/
DLLVMDialect.cpp1076 llvmType.isHalfTy() || llvmType.isFloatTy() || in verify()
1641 !valType.isBFloatTy() && !valType.isHalfTy() && !valType.isFloatTy() && in verify()
1703 !valType.isHalfTy() && !valType.isFloatTy() && !valType.isDoubleTy()) in verify()
/external/llvm/lib/IR/
DConstants.cpp608 if (Ty->isHalfTy()) in TypeToFloatSemantics()
860 if (CFP->getType()->isHalfTy()) in getSequenceIfElementsMatch()
2300 if (Ty->isHalfTy() || Ty->isFloatTy() || Ty->isDoubleTy()) return true; in isElementTypeCompatible()
2565 if (CFP->getType()->isHalfTy()) { in getSplat()
2642 if (getElementType()->isHalfTy() || getElementType()->isFloatTy() || in getElementAsConstant()
DFunction.cpp938 case IITDescriptor::Half: return !Ty->isHalfTy(); in matchIntrinsicType()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DConstants.cpp752 if (Ty->isHalfTy()) in TypeToFloatSemantics()
1033 if (CFP->getType()->isHalfTy()) in getSequenceIfElementsMatch()
2510 if (Ty->isHalfTy() || Ty->isFloatTy() || Ty->isDoubleTy()) return true; in isElementTypeCompatible()
2740 if (CFP->getType()->isHalfTy()) { in getSplat()
2842 if (getElementType()->isHalfTy() || getElementType()->isFloatTy() || in getElementAsConstant()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMTargetTransformInfo.cpp885 if (F->getReturnType()->isHalfTy() && !ST->hasFullFP16()) in isLoweredToCall()
1011 if (I.getType()->isHalfTy() && !ST->hasFullFP16()) in isHardwareLoopProfitable()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCTargetTransformInfo.cpp603 else if (Ty && Ty->getScalarType()->isHalfTy()) in getRegisterClassForType()

123