Searched refs:isFloat (Results 1 - 21 of 21) sorted by relevance

/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DConversionChecker.cpp140 const bool isFloat = DestType->isFloatingType(); local
148 if (isFloat) {
176 if (isFloat) {
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-stress/
H A Dllvm-stress.cpp388 bool isFloat = Val0->getType()->getScalarType()->isFloatingPointTy();
390 unsigned R = getRandom() % (isFloat ? 7 : 13);
395 case 0:{Op = (isFloat?Instruction::FAdd : Instruction::Add); break; }
396 case 1:{Op = (isFloat?Instruction::FSub : Instruction::Sub); break; }
397 case 2:{Op = (isFloat?Instruction::FMul : Instruction::Mul); break; }
398 case 3:{Op = (isFloat?Instruction::FDiv : Instruction::SDiv); break; }
399 case 4:{Op = (isFloat?Instruction::FDiv : Instruction::UDiv); break; }
400 case 5:{Op = (isFloat?Instruction::FRem : Instruction::SRem); break; }
401 case 6:{Op = (isFloat?Instruction::FRem : Instruction::URem); break; }
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/AST/
H A DAPValue.h362 bool isFloat() const { return Kind == Float; } function in class:clang::APValue
395 assert(isFloat() && "Invalid accessor");
548 assert(isFloat() && "Invalid accessor");
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Lex/
H A DLiteralSupport.h65 bool isFloat : 1; // 1.0f
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonMCInstrInfo.h236 bool isFloat(MCInstrInfo const &MCII, MCInst const &MCI);
H A DHexagonMCChecker.cpp273 (Type != HexagonII::TypeALU64 || HexagonMCInstrInfo::isFloat(MCII, ID));
482 if (Branch && HexagonMCInstrInfo::isFloat(MCII, *std::get<0>(Producer))) {
H A DHexagonMCInstrInfo.cpp580 bool HexagonMCInstrInfo::isFloat(MCInstrInfo const &MCII, MCInst const &MCI) { function in class:HexagonMCInstrInfo
/freebsd-11-stable/contrib/llvm-project/clang/lib/Edit/
H A DRewriteObjCFoundationAPI.cpp683 bool isFloat, bool isIntZero,
720 } else if (isFloat && Suff::has("f", text)) {
722 } else if (isFloat && Suff::has("F", text)) {
743 else if (!isFloat && !isIntZero && text.startswith("0"))
682 getLiteralInfo(SourceRange literalRange, bool isFloat, bool isIntZero, ASTContext &Ctx, LiteralInfo &Info) argument
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonInstrInfo.h362 bool isFloat(const MachineInstr &MI) const;
H A DHexagonNewValueJump.cpp146 if (QII->isFloat(*II))
H A DHexagonInstrInfo.cpp2212 bool HexagonInstrInfo::isFloat(const MachineInstr &MI) const { function in class:HexagonInstrInfo
/freebsd-11-stable/contrib/llvm-project/clang/lib/Lex/
H A DLiteralSupport.cpp545 isFloat = false;
610 if (isHalf || isFloat || isLong) break; // HH, FH, LH invalid.
616 if (isHalf || isFloat || isLong || isFloat128)
629 isFloat = true;
634 if (isHalf || isFloat || isLong || isFloat128)
647 if (isHalf || isFloat || isFloat128) break; // LH, LF, LQ invalid.
721 isFloat = false;
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTargetLowering.h683 BooleanContent getBooleanContents(bool isVec, bool isFloat) const {
686 return isFloat ? BooleanFloatContents : BooleanContents;
/freebsd-11-stable/contrib/llvm-project/clang/utils/TableGen/
H A DNeonEmitter.cpp193 bool isFloat() const { return isFloating() && ElementBitwidth == 32; } function in class:__anon964::Type
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprConstant.cpp2070 else if (Elt.isFloat())
H A DCGDebugInfo.cpp1354 if (Value->isFloat())
4594 else if (Init.isFloat())
H A DCGBuiltin.cpp1613 if (Result.Val.isFloat())
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp2418 if (SVal.isFloat()) {
2434 } else if (Elt.isFloat()) {
3855 } else if (RHS.isFloat()) {
13829 !ExprResult.Val.isFloat() ||
/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaChecking.cpp10580 if (value.isFloat())
H A DSemaOverload.cpp395 assert(ConstantValue.isFloat());
H A DSemaExpr.cpp3685 } else if (Literal.isFloat)

Completed in 648 milliseconds