Home
last modified time | relevance | path

Searched refs:isFloat (Results 1 – 25 of 31) sorted by relevance

12

/llvm-project-15.0.7/lld/MachO/Arch/
H A DARM64.cpp166 bool isFloat; member
228 ldr.isFloat = false; in parseLdr()
233 ldr.isFloat = false; in parseLdr()
237 ldr.isFloat = true; in parseLdr()
273 if (ldr.isFloat) in writeLiteralLdr()
279 opcode = ldr.isFloat ? 0x5c000000 : 0x58000000; in writeLiteralLdr()
304 if (ldr.isFloat) { in writeImmediateLdr()
549 if (ldr2.p2Size != 3 || ldr2.isFloat) in applyAdrpLdrGotLdr()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DConversionChecker.cpp151 const bool isFloat = DestType->isFloatingType(); in isLossOfPrecision() local
159 if (isFloat) { in isLossOfPrecision()
187 if (isFloat) { in isLossOfPrecision()
/llvm-project-15.0.7/llvm/tools/llvm-stress/
H A Dllvm-stress.cpp384 bool isFloat = Val0->getType()->getScalarType()->isFloatingPointTy(); in Act() local
386 unsigned R = getRandom() % (isFloat ? 7 : 13); in Act()
391 case 0:{Op = (isFloat?Instruction::FAdd : Instruction::Add); break; } in Act()
392 case 1:{Op = (isFloat?Instruction::FSub : Instruction::Sub); break; } in Act()
393 case 2:{Op = (isFloat?Instruction::FMul : Instruction::Mul); break; } in Act()
394 case 3:{Op = (isFloat?Instruction::FDiv : Instruction::SDiv); break; } in Act()
395 case 4:{Op = (isFloat?Instruction::FDiv : Instruction::UDiv); break; } in Act()
396 case 5:{Op = (isFloat?Instruction::FRem : Instruction::SRem); break; } in Act()
397 case 6:{Op = (isFloat?Instruction::FRem : Instruction::URem); break; } in Act()
/llvm-project-15.0.7/clang/include/clang/Support/
H A DRISCVVIntrinsicUtils.h223 bool isFloat() const { return ScalarType == ScalarTypeKind::Float; } in isFloat() function
228 return isVector() && isFloat() && ElementBitwidth == Width; in isFloatVector()
230 bool isFloat(unsigned Width) const { in isFloat() function
231 return isFloat() && ElementBitwidth == Width; in isFloat()
/llvm-project-15.0.7/mlir/lib/Dialect/Linalg/Transforms/
H A DConstantFold.cpp208 bool isFloat = elementType.isa<FloatType>(); in matchAndRewrite() local
209 if (isFloat) { in matchAndRewrite()
254 isFloat ? DenseElementsAttr::get(outputType, fpOutputValues) in matchAndRewrite()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/cppcoreguidelines/
H A DNarrowingConversionsCheck.cpp203 if (!Constant.isFloat()) in getFloatingConstantExprValue()
370 if (Constant.isFloat()) in diagNarrowTypeOrConstant()
486 if (Constant.isFloat()) { in handleFloatingCast()
/llvm-project-15.0.7/clang/utils/TableGen/
H A DSveEmitter.cpp95 bool isFloat() const { return Float && !BFloat; } in isFloat() function in __anon409da13d0111::SVEType
380 else if (isFloat()) in builtin_str()
406 assert(!isFloat() && "fp immediates are not supported"); in builtin_str()
944 if (T.isFloat()) { in encodeTypeFlags()
H A DNeonEmitter.cpp196 bool isFloat() const { return isFloating() && ElementBitwidth == 32; } in isFloat() function in __anonc6b5f5bf0111::Type
/llvm-project-15.0.7/clang/include/clang/AST/
H A DAPValue.h394 bool isFloat() const { return Kind == Float; }
430 assert(isFloat() && "Invalid accessor");
585 assert(isFloat() && "Invalid accessor");
/llvm-project-15.0.7/clang/lib/Edit/
H A DRewriteObjCFoundationAPI.cpp683 bool isFloat, bool isIntZero, in getLiteralInfo() argument
720 } else if (isFloat && Suff::has("f", text)) { in getLiteralInfo()
722 } else if (isFloat && Suff::has("F", text)) { in getLiteralInfo()
743 else if (!isFloat && !isIntZero && text.startswith("0")) in getLiteralInfo()
/llvm-project-15.0.7/clang/include/clang/Lex/
H A DLiteralSupport.h68 bool isFloat : 1; // 1.0f variable
/llvm-project-15.0.7/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonMCChecker.cpp280 if (HexagonMCInstrInfo::isFloat(MCII, ID)) in isNeitherAnorX()
523 if (Branch && HexagonMCInstrInfo::isFloat(MCII, *ProducerInst)) { in checkNewValues()
H A DHexagonMCInstrInfo.h253 bool isFloat(MCInstrInfo const &MCII, MCInst const &MCI);
H A DHexagonMCInstrInfo.cpp632 bool HexagonMCInstrInfo::isFloat(MCInstrInfo const &MCII, MCInst const &MCI) { in isFloat() function in HexagonMCInstrInfo
/llvm-project-15.0.7/llvm/lib/Target/Hexagon/
H A DHexagon.td267 "isFloat"];
276 "isFloat"];
H A DHexagonInstrInfo.h370 bool isFloat(const MachineInstr &MI) const;
H A DHexagonNewValueJump.cpp145 if (QII->isFloat(*II)) in INITIALIZE_PASS_DEPENDENCY()
H A DHexagonInstrFormats.td178 string isFloat = "false"; // Set to "true" for the floating-point load/store.
H A DHexagonInstrInfo.cpp187 if (isFloat(MI) && MI.hasRegisterImplicitUseOperand(Hexagon::USR)) in shouldSink()
2310 bool HexagonInstrInfo::isFloat(const MachineInstr &MI) const { in isFloat() function in HexagonInstrInfo
/llvm-project-15.0.7/clang/lib/Lex/
H A DLiteralSupport.cpp853 isFloat = false; in NumericLiteralParser()
956 isFloat = true; in NumericLiteralParser()
1081 isFloat = false; in NumericLiteralParser()
/llvm-project-15.0.7/clang/lib/Support/
H A DRISCVVIntrinsicUtils.cpp115 if (isFloat() && ElementBitwidth == 8) in verifyType()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DIntrinsicsAMDGPU.td927 int isFloat = 0> {
930 !if (isFloat, AMDGPUDimAtomicFloatProfile<opmod, dim, dataargs>,
936 multiclass AMDGPUImageDimAtomic<string opmod, int isFloat = 0> {
939 isFloat>;
943 defm "" : AMDGPUImageDimAtomic<opmod, 1 /*isFloat*/>;
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DTargetLowering.h856 BooleanContent getBooleanContents(bool isVec, bool isFloat) const { in getBooleanContents() argument
859 return isFloat ? BooleanFloatContents : BooleanContents; in getBooleanContents()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGExprConstant.cpp2129 else if (Elt.isFloat()) in tryEmitPrivate()
H A DCGDebugInfo.cpp1542 if (Value->isFloat()) in CreateRecordStaticField()
5386 else if (Init.isFloat()) in EmitGlobalVariable()

12