Home
last modified time | relevance | path

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

12

/openbsd-src/gnu/llvm/lld/MachO/Arch/
H A DARM64.cpp196 bool isFloat; member
231 ldr.isFloat = false; in parseLdr()
236 ldr.isFloat = false; in parseLdr()
240 ldr.isFloat = true; in parseLdr()
276 if (ldr.isFloat) in writeLiteralLdr()
282 opcode = ldr.isFloat ? 0x5c000000 : 0x58000000; in writeLiteralLdr()
307 if (ldr.isFloat) { in writeImmediateLdr()
529 if (ldr2.p2Size != 3 || ldr2.isFloat) in applyAdrpLdrGotLdr()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/tools/llvm-stress/
H A Dllvm-stress.cpp390 bool isFloat = Val0->getType()->getScalarType()->isFloatingPointTy(); in Act() local
392 unsigned R = getRandom() % (isFloat ? 7 : 13); in Act()
397 case 0:{Op = (isFloat?Instruction::FAdd : Instruction::Add); break; } in Act()
398 case 1:{Op = (isFloat?Instruction::FSub : Instruction::Sub); break; } in Act()
399 case 2:{Op = (isFloat?Instruction::FMul : Instruction::Mul); break; } in Act()
400 case 3:{Op = (isFloat?Instruction::FDiv : Instruction::SDiv); break; } in Act()
401 case 4:{Op = (isFloat?Instruction::FDiv : Instruction::UDiv); break; } in Act()
402 case 5:{Op = (isFloat?Instruction::FRem : Instruction::SRem); break; } in Act()
403 case 6:{Op = (isFloat?Instruction::FRem : Instruction::URem); break; } in Act()
/openbsd-src/gnu/llvm/clang/include/clang/Support/
H A DRISCVVIntrinsicUtils.h284 bool isFloat() const { return ScalarType == ScalarTypeKind::Float; } in isFloat() function
289 return isVector() && isFloat() && ElementBitwidth == Width; in isFloatVector()
291 bool isFloat(unsigned Width) const { in isFloat() function
292 return isFloat() && ElementBitwidth == Width; in isFloat()
/openbsd-src/gnu/llvm/clang/utils/TableGen/
H A DSveEmitter.cpp95 bool isFloat() const { return Float && !BFloat; } in isFloat() function in __anon5066fa640111::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.cpp195 bool isFloat() const { return isFloating() && ElementBitwidth == 32; } in isFloat() function in __anoncfaa73c60111::Type
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DAPValue.h394 bool isFloat() const { return Kind == Float; }
430 assert(isFloat() && "Invalid accessor");
585 assert(isFloat() && "Invalid accessor");
/openbsd-src/gnu/llvm/clang/lib/Edit/
H A DRewriteObjCFoundationAPI.cpp684 bool isFloat, bool isIntZero, in getLiteralInfo() argument
721 } else if (isFloat && Suff::has("f", text)) { in getLiteralInfo()
723 } else if (isFloat && Suff::has("F", text)) { in getLiteralInfo()
744 else if (!isFloat && !isIntZero && text.startswith("0")) in getLiteralInfo()
/openbsd-src/gnu/llvm/clang/include/clang/Lex/
H A DLiteralSupport.h68 bool isFloat : 1; // 1.0f variable
/openbsd-src/gnu/llvm/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonMCChecker.cpp277 if (HexagonMCInstrInfo::isFloat(MCII, ID)) in isNeitherAnorX()
520 if (Branch && HexagonMCInstrInfo::isFloat(MCII, *ProducerInst)) { in checkNewValues()
H A DHexagonMCInstrInfo.h252 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
/openbsd-src/gnu/llvm/llvm/lib/Target/Hexagon/
H A DHexagon.td279 "isFloat"];
288 "isFloat"];
H A DHexagonInstrInfo.h371 bool isFloat(const MachineInstr &MI) const;
H A DHexagonNewValueJump.cpp145 if (QII->isFloat(*II)) in INITIALIZE_PASS_DEPENDENCY()
H A DHexagonInstrFormats.td187 string isFloat = "false"; // Set to "true" for the floating-point load/store.
H A DHexagonInstrInfo.cpp188 if (isFloat(MI) && MI.hasRegisterImplicitUseOperand(Hexagon::USR)) in shouldSink()
2317 bool HexagonInstrInfo::isFloat(const MachineInstr &MI) const { in isFloat() function in HexagonInstrInfo
/openbsd-src/gnu/llvm/clang/lib/Lex/
H A DLiteralSupport.cpp851 isFloat = false; in NumericLiteralParser()
958 isFloat = true; in NumericLiteralParser()
1083 isFloat = false; in NumericLiteralParser()
/openbsd-src/gnu/llvm/clang/lib/Support/
H A DRISCVVIntrinsicUtils.cpp114 if (isFloat() && ElementBitwidth == 8) in verifyType()
/openbsd-src/gnu/llvm/llvm/include/llvm/IR/
H A DIntrinsicsAMDGPU.td948 int isFloat = 0> {
951 !if (isFloat, AMDGPUDimAtomicFloatProfile<opmod, dim, dataargs>,
957 multiclass AMDGPUImageDimAtomic<string opmod, int isFloat = 0> {
960 isFloat>;
964 defm "" : AMDGPUImageDimAtomic<opmod, 1 /*isFloat*/>;
/openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/
H A DTargetLowering.h847 BooleanContent getBooleanContents(bool isVec, bool isFloat) const { in getBooleanContents() argument
850 return isFloat ? BooleanFloatContents : BooleanContents; in getBooleanContents()
/openbsd-src/gnu/llvm/llvm/lib/Target/WebAssembly/
H A DWebAssemblyInstrSIMD.td489 defvar isFloat = !or(!eq(vec.lane_vt, f32), !eq(vec.lane_vt, f64));
490 defvar immKind = !if(isFloat, fpimm, imm);
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGExprConstant.cpp2128 else if (Elt.isFloat()) in tryEmitPrivate()
H A DCGDebugInfo.cpp1573 if (Value->isFloat()) in CreateRecordStaticField()
5427 } else if (Init.isFloat()) in EmitGlobalVariable()
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DExprConstant.cpp2680 if (SVal.isFloat()) { in EvalAndBitcastToAPInt()
2696 } else if (Elt.isFloat()) { in EvalAndBitcastToAPInt()
4405 } else if (RHS.isFloat()) { in found()
15258 !ExprResult.Val.isFloat() || in EvaluateAsFloat()

12