/external/llvm-project/mlir/lib/Conversion/GPUToVulkan/ |
D | ConvertLaunchFuncToVulkanCalls.cpp | 136 if (type.isHalfTy()) in stringifyType() 241 if (type.isHalfTy()) { in createBindMemRefCalls() 329 if (type.isHalfTy()) in declareVulkanFunctions()
|
/external/llvm-project/mlir/lib/Conversion/GPUCommon/ |
D | OpToFuncCallLowering.h | 84 if (!type.isHalfTy()) in maybeCast()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/ |
D | AArch64TargetTransformInfo.h | 157 if (Ty->isHalfTy() || Ty->isFloatTy() || Ty->isDoubleTy()) in isLegalMaskedLoadStore()
|
/external/llvm/lib/Analysis/ |
D | ConstantFolding.cpp | 323 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/ |
D | ConstantFolding.cpp | 417 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()
|
D | IVDescriptors.cpp | 1017 !PhiTy->isDoubleTy() && !PhiTy->isHalfTy()) in isInductionPHI()
|
/external/llvm-project/llvm/lib/Target/AArch64/ |
D | AArch64TargetTransformInfo.h | 178 if (Ty->isBFloatTy() || Ty->isHalfTy() || in isLegalMaskedLoadStore()
|
/external/llvm-project/llvm/lib/Analysis/ |
D | ConstantFolding.cpp | 458 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()
|
D | IVDescriptors.cpp | 1111 !PhiTy->isDoubleTy() && !PhiTy->isHalfTy()) in isInductionPHI()
|
/external/llvm/include/llvm/IR/ |
D | Type.h | 140 bool isHalfTy() const { return getTypeID() == HalfTyID; } in isHalfTy() function
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
D | Type.h | 142 bool isHalfTy() const { return getTypeID() == HalfTyID; } in isHalfTy() function
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | Type.h | 144 bool isHalfTy() const { return getTypeID() == HalfTyID; } in isHalfTy() function
|
/external/llvm-project/llvm/lib/Target/AMDGPU/ |
D | AMDGPUInstCombineIntrinsic.cpp | 61 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()
|
D | AMDGPUCodeGenPrepare.cpp | 765 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/ |
D | Type.h | 141 bool isHalfTy() const { return getTypeID() == HalfTyID; } in isHalfTy() function
|
/external/llvm-project/mlir/lib/Target/LLVMIR/ |
D | TypeTranslation.cpp | 217 if (type->isHalfTy()) in translatePrimitiveType()
|
/external/llvm-project/mlir/include/mlir/Dialect/LLVMIR/ |
D | LLVMTypes.h | 91 bool isHalfTy() { return isa<LLVMHalfType>(); } in isHalfTy() function
|
/external/llvm-project/llvm/lib/Target/ARM/ |
D | ARMTargetTransformInfo.cpp | 1309 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/ |
D | Constants.cpp | 1178 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/ |
D | LLVMDialect.cpp | 1076 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/ |
D | Constants.cpp | 608 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()
|
D | Function.cpp | 938 case IITDescriptor::Half: return !Ty->isHalfTy(); in matchIntrinsicType()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | Constants.cpp | 752 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/ |
D | ARMTargetTransformInfo.cpp | 885 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/ |
D | PPCTargetTransformInfo.cpp | 603 else if (Ty && Ty->getScalarType()->isHalfTy()) in getRegisterClassForType()
|