Home
last modified time | relevance | path

Searched refs:isFloatTy (Results 1 – 25 of 30) sorted by relevance

12

/external/compiler-rt/lib/ubsan/
Dubsan_value.h136 bool isFloatTy() const { return getKind() == TK_Float; } in isFloatTy() function
138 CHECK(isFloatTy()); in getFloatBitWidth()
168 CHECK(getType().isFloatTy()); in isInlineFloat()
Dubsan_value.cc70 CHECK(getType().isFloatTy()); in getFloatValue()
Dubsan_diag.cc49 else if (V.getType().isFloatTy()) in operator <<()
/external/llvm/lib/ExecutionEngine/Interpreter/
DExecution.cpp317 if(dyn_cast<VectorType>(Ty)->getElementType()->isFloatTy()) { \
338 if (TY->isFloatTy()) { \
364 if (dyn_cast<VectorType>(TY)->getElementType()->isFloatTy()) { \
456 if (TY->isFloatTy()) { \
537 if(dyn_cast<VectorType>(Ty)->getElementType()->isFloatTy()) { in executeFCMP_ORD()
552 } else if (Ty->isFloatTy()) in executeFCMP_ORD()
568 if(dyn_cast<VectorType>(Ty)->getElementType()->isFloatTy()) { in executeFCMP_UNO()
583 } else if (Ty->isFloatTy()) in executeFCMP_UNO()
714 if (dyn_cast<VectorType>(Ty)->getElementType()->isFloatTy()) \ in visitBinaryOperator()
746 if (dyn_cast<VectorType>(Ty)->getElementType()->isFloatTy()) in visitBinaryOperator()
[all …]
/external/llvm/lib/Analysis/
DConstantFolding.cpp291 if (CFP->getType()->isFloatTy()){ in ReadDataFromGlobal()
393 else if (LoadTy->isFloatTy()) in FoldReinterpretLoadFromConstPtr()
1213 if (Ty->isFloatTy()) in ConstantFoldFP()
1235 if (Ty->isFloatTy()) in ConstantFoldBinaryFP()
1291 if (!Ty->isHalfTy() && !Ty->isFloatTy() && !Ty->isDoubleTy()) in ConstantFoldCall()
1305 if (Ty->isFloatTy()) in ConstantFoldCall()
1385 (Ty->isHalfTy() || Ty->isFloatTy() || Ty->isDoubleTy())) { in ConstantFoldCall()
1477 if (!Ty->isHalfTy() && !Ty->isFloatTy() && !Ty->isDoubleTy()) in ConstantFoldCall()
1480 if (Ty->isFloatTy()) in ConstantFoldCall()
1496 if (Ty->isFloatTy()) in ConstantFoldCall()
[all …]
DValueTracking.cpp1481 if (CFP->getType()->isFloatTy()) in isBytewiseValue()
/external/llvm/lib/Target/Mips/
DMips16ISelLowering.cpp294 if (t->isFloatTy()) { in getMips16HelperFunctionStubNumber()
304 if (t->isFloatTy()) { in getMips16HelperFunctionStubNumber()
379 if (RetTy->isFloatTy()) { in getMips16HelperFunction()
388 if ((RetTy->getContainedType(0)->isFloatTy()) && in getMips16HelperFunction()
389 (RetTy->getContainedType(1)->isFloatTy())) { in getMips16HelperFunction()
DMips16HardFloat.cpp71 if ((T->getContainedType(0)->isFloatTy()) && in whichFPReturnVariant()
72 (T->getContainedType(1)->isFloatTy())) in whichFPReturnVariant()
/external/llvm/lib/ExecutionEngine/
DExecutionEngine.cpp620 if (CE->getType()->isFloatTy()) in getConstantValue()
635 if (CE->getType()->isFloatTy()) in getConstantValue()
652 if (Op0->getType()->isFloatTy()) in getConstantValue()
691 if (DestTy->isFloatTy()) in getConstantValue()
870 if(ElemTy->isFloatTy()) { in getConstantValue()
1012 if (cast<VectorType>(Ty)->getElementType()->isFloatTy()) in StoreValueToMemory()
1089 if (ElemT->isFloatTy()) { in LoadValueFromMemory()
/external/llvm/include/llvm/IR/
DType.h146 bool isFloatTy() const { return getTypeID() == FloatTyID; } in isFloatTy() function
/external/llvm/lib/IR/
DConstants.cpp539 if (Ty->isFloatTy()) in TypeToFloatSemantics()
813 if (CFP->getType()->isFloatTy()) { in get()
994 if (CFP->getType()->isFloatTy()) { in get()
2188 if (Ty->isFloatTy() || Ty->isDoubleTy()) return true; in isElementTypeCompatible()
2413 if (CFP->getType()->isFloatTy()) { in getSplat()
2471 assert(getElementType()->isFloatTy() && in getElementAsFloat()
2491 if (getElementType()->isFloatTy() || getElementType()->isDoubleTy()) in getElementAsConstant()
DConstantFold.cpp576 DestTy->isFloatTy() ? APFloat::IEEEsingle : in ConstantFoldCastInstruction()
/external/llvm/lib/Target/ARM/
DARMFastISel.cpp1412 bool isFloat = (Ty->isFloatTy() || Ty->isDoubleTy()); in ARMEmitCmp()
1514 if (Ty->isFloatTy() || Ty->isDoubleTy()) in ARMEmitCmp()
1557 !V->getType()->isFloatTy()) return false; in SelectFPExt()
1575 if (!(I->getType()->isFloatTy() && in SelectFPTrunc()
1622 if (Ty->isFloatTy()) Opc = isSigned ? ARM::VSITOS : ARM::VUITOS; in SelectIToFP()
1648 if (OpTy->isFloatTy()) Opc = isSigned ? ARM::VTOSIZS : ARM::VTOUIZS; in SelectFPToI()
1826 bool isFloat = (Ty->isDoubleTy() || Ty->isFloatTy()); in SelectBinaryFPOp()
DARMCodeEmitter.cpp688 if (CFP->getType()->isFloatTy()) in emitConstantToMemory()
/external/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp1065 if (Cast == 0 || !Cast->getType()->isFloatTy()) in callOptimizer()
1072 if (Cast == 0 || !Cast->getOperand(0)->getType()->isFloatTy()) in callOptimizer()
1207 if (Op->getType()->isFloatTy()) in callOptimizer()
1215 if (!Op->getType()->isFloatTy()) in callOptimizer()
DBuildLibCalls.cpp299 if (Op->getType()->isFloatTy()) in EmitUnaryFloatFnCall()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp1259 CI.getType()->isFloatTy() && in visitFPTrunc()
1262 Arg->getOperand(0)->getType()->isFloatTy()) { in visitFPTrunc()
1731 if ((DestTy->isFloatTy() || DestTy->isDoubleTy()) && isa<IntegerType>(SrcTy)) in visitBitCast()
/external/clang/lib/CodeGen/
DCGExprScalar.cpp1608 if (value->getType()->isFloatTy()) in EmitScalarPrePostIncDec()
2073 if (ValTy->isFloatTy() || in EmitDiv()
2075 cast<llvm::VectorType>(ValTy)->getElementType()->isFloatTy())) in EmitDiv()
3128 if ((srcElemTy->isIntegerTy() && dstElemTy->isFloatTy()) in VisitAsTypeExpr()
3129 || (srcElemTy->isFloatTy() && dstElemTy->isIntegerTy())) { in VisitAsTypeExpr()
DTargetInfo.cpp1819 (EltTy->isFloatTy() || EltTy->isDoubleTy() || in GetByteVectorType()
1921 if (IROffset == 0 && IRType->isFloatTy()) in ContainsFloatAtOffset()
2069 if (Lo->isFloatTy()) in GetX86_64ByValArgumentPair()
/external/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinter.cpp581 if (MI->getOperand(0).getFPImm()->getType()->isFloatTy()) { in emitDebugValueComment()
1675 assert(CDS->getElementType()->isFloatTy()); in emitGlobalConstantDataSequential()
/external/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp981 if (Ty->isHalfTy() || Ty->isFloatTy() || Ty->isDoubleTy()) { in WriteConstants()
1032 } else if (EltTy->isFloatTy()) { in WriteConstants()
/external/llvm/lib/Target/X86/
DX86FastISel.cpp1476 if (V->getType()->isFloatTy()) { in X86SelectFPExt()
1493 if (I->getType()->isFloatTy()) { in X86SelectFPTrunc()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp1216 else if (CurTy->isFloatTy()) in ParseConstants()
1308 } else if (EltTy->isFloatTy()) { in ParseConstants()
/external/llvm/lib/CodeGen/
DMachineInstr.cpp327 if (getFPImm()->getType()->isFloatTy()) in print()
/external/llvm/lib/Transforms/Scalar/
DScalarReplAggregates.cpp411 } else if (In->isFloatTy() || In->isDoubleTy() || in MergeInTypeForLoadOrStore()

12