Home
last modified time | relevance | path

Searched refs:IsFP (Results 1 – 25 of 34) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DVTEmitter.cpp72 bool IsFP = VT->getValueAsInt("isFP"); in run() local
81 IsFP && IsVector && !IsScalable); in run()
82 UpdateVTRange("FP_SCALABLE_VECTOR_VALUETYPE", Name, IsFP && IsScalable); in run()
87 UpdateVTRange("FP_VALUETYPE", Name, IsFP && !IsVector); in run()
97 << (IsFP ? Name[0] == 'f' ? 3 : 1 : 0) << ", " in run()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DAArch64SVEACLETypes.def15 // SVE_VECTOR_TYPE(Name, Id, SingletonId, ElKind, ElBits, IsSigned, IsFP) -
36 // - IsFP is true for vectors of floating-point elements.
43 IsSigned, IsFP, IsBF) \
H A DRISCVVTypes.def15 // - RVV_VECTOR_TYPE(Name, Id, SingletonId, NumEls, ElBits, IsSigned, IsFP,
40 // - IsFP is true for vectors of floating-point elements.
50 IsFP, IsBF) \
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DUtils.h519 bool IsFP);
523 bool IsFP);
527 int64_t getICmpTrueVal(const TargetLowering &TLI, bool IsVector, bool IsFP);
H A DMachineIRBuilder.h713 unsigned getBoolExtOp(bool IsVec, bool IsFP) const;
718 bool IsFP);
725 bool IsFP);
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/Disassembler/
H A DAMDGPUDisassembler.h237 bool IsFP = false) const;
241 unsigned ImmWidth = 0, bool IsFP = false) const;
H A DAMDGPUDisassembler.cpp1581 unsigned ImmWidth, bool IsFP) const { in decodeSrcOp()
1594 IsFP); in decodeSrcOp()
1601 bool IsFP) const { in decodeNonVGPRSrcOp()
1629 return decodeLiteralConstant(IsFP && ImmWidth == 64); in decodeNonVGPRSrcOp()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelDAGToDAG.cpp6207 bool IsFP = ValueSVT.isFloatingPoint(); in Select() local
6218 Opc = IsFP ? X86::VGATHERDPSZrm : X86::VPGATHERDDZrm; in Select()
6224 Opc = IsFP ? X86::VGATHERDPDZrm : X86::VPGATHERDQZrm; in Select()
6230 Opc = IsFP ? X86::VGATHERQPSZrm : X86::VPGATHERQDZrm; in Select()
6236 Opc = IsFP ? X86::VGATHERQPDZrm : X86::VPGATHERQQZrm; in Select()
6241 Opc = IsFP ? X86::VGATHERDPSrm : X86::VPGATHERDDrm; in Select()
6243 Opc = IsFP ? X86::VGATHERDPSYrm : X86::VPGATHERDDYrm; in Select()
6245 Opc = IsFP ? X86::VGATHERDPDrm : X86::VPGATHERDQrm; in Select()
6249 Opc = IsFP ? X86::VGATHERQPSrm : X86::VPGATHERQDrm; in Select()
6253 Opc = IsFP ? X86::VGATHERQPDrm : X86::VPGATHERQQrm; in Select()
[all …]
H A DX86MCInstLower.cpp1516 bool IsFP = EltTy->isHalfTy() || EltTy->isFloatTy() || EltTy->isDoubleTy(); in printConstant() local
1525 else if (IsFP) in printConstant()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsSEISelLowering.h112 bool IsFP) const;
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DUtils.cpp1464 bool IsFP) { in isConstTrueVal() argument
1465 switch (TLI.getBooleanContents(IsVector, IsFP)) { in isConstTrueVal()
1477 bool IsVector, bool IsFP) { in isConstFalseVal() argument
1478 switch (TLI.getBooleanContents(IsVector, IsFP)) { in isConstFalseVal()
1489 bool IsFP) { in getICmpTrueVal() argument
1490 switch (TLI.getBooleanContents(IsVector, IsFP)) { in getICmpTrueVal()
H A DMachineIRBuilder.cpp490 unsigned MachineIRBuilder::getBoolExtOp(bool IsVec, bool IsFP) const { in getBoolExtOp()
492 switch (TLI->getBooleanContents(IsVec, IsFP)) { in getBoolExtOp()
504 bool IsFP) { in buildBoolExt() argument
505 unsigned ExtOp = getBoolExtOp(getMRI()->getType(Op.getReg()).isVector(), IsFP); in buildBoolExt()
512 bool IsFP) { in buildBoolExtInReg() argument
514 switch (TLI->getBooleanContents(IsVector, IsFP)) { in buildBoolExtInReg()
H A DGISelKnownBits.cpp720 bool IsFP = Opcode == TargetOpcode::G_FCMP; in computeNumSignBits() local
723 auto BC = TL.getBooleanContents(DstTy.isVector(), IsFP); in computeNumSignBits()
H A DCombinerHelper.cpp3243 int64_t Cst, bool IsVector, bool IsFP) { in isConstValidTrue() argument
3246 isConstTrueVal(TLI, Cst, IsVector, IsFP); in isConstValidTrue()
3270 bool IsFP = false; in matchNotCmp() local
3282 if (IsFP) in matchNotCmp()
3290 IsFP = true; in matchNotCmp()
3314 if (!isConstValidTrue(TLI, Ty.getScalarSizeInBits(), *MaybeCst, true, IsFP)) in matchNotCmp()
3319 if (!isConstValidTrue(TLI, Ty.getSizeInBits(), Cst, false, IsFP)) in matchNotCmp()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DIntrinsicInst.cpp776 bool IsFP = true; in getPredicate() local
784 IsFP = ISFP; \ in getPredicate()
790 return IsFP ? getFPPredicateFromMD(getArgOperand(*CCArgIdx)) in getPredicate()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp1220 bool IsFP = Ty->isFPOrFPVectorTy(); in getDecodedUnaryOpcode() local
1222 if (!IsFP && !Ty->isIntOrIntVectorTy()) in getDecodedUnaryOpcode()
1229 return IsFP ? Instruction::FNeg : -1; in getDecodedUnaryOpcode()
1234 bool IsFP = Ty->isFPOrFPVectorTy(); in getDecodedBinaryOpcode() local
1236 if (!IsFP && !Ty->isIntOrIntVectorTy()) in getDecodedBinaryOpcode()
1249 return IsFP ? -1 : Instruction::UDiv; in getDecodedBinaryOpcode()
1257 return IsFP ? -1 : Instruction::Shl; in getDecodedBinaryOpcode()
1263 return IsFP ? -1 : Instruction::And; in getDecodedBinaryOpcode()
1265 return IsFP ? -1 : Instruction::Or; in getDecodedBinaryOpcode()
1267 return IsFP ? -1 : Instruction::Xor; in getDecodedBinaryOpcode()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLowerMatrixIntrinsics.cpp828 bool IsFP = I.getType()->isFPOrFPVectorTy(); in sinkTranspose() local
829 auto *Mul = IsFP ? LocalBuilder.CreateFMul(T0, T1, "mmul") in sinkTranspose()
848 bool IsFP = I.getType()->isFPOrFPVectorTy(); in sinkTranspose() local
849 auto *Add = IsFP ? LocalBuilder.CreateFAdd(T0, T1, "madd") in sinkTranspose()
1488 bool IsFP = Result.getElementType()->isFloatingPointTy(); in emitMatrixMultiply() local
1520 IsFP, Builder, FMF.allowContract(), NumComputeOps); in emitMatrixMultiply()
1547 IsFP, Builder, FMF.allowContract(), NumComputeOps); in emitMatrixMultiply()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DISDOpcodes.h1490 NodeType getExtForLoadExtType(bool IsFP, LoadExtType);
/freebsd/contrib/llvm-project/llvm/include/llvm/AsmParser/
H A DLLParser.h644 bool IsFP);
646 unsigned Opc, bool IsFP);
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/MCTargetDesc/
H A DAMDGPUInstPrinter.h98 raw_ostream &O, bool IsFP);
H A DAMDGPUInstPrinter.cpp585 raw_ostream &O, bool IsFP) { in printImmediate64() argument
613 else if (IsFP) { in printImmediate64()
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp7128 unsigned Opc, bool IsFP) { in parseUnaryOp() argument
7133 bool Valid = IsFP ? LHS->getType()->isFPOrFPVectorTy() in parseUnaryOp()
7255 unsigned Opc, bool IsFP) { in parseArithmetic() argument
7262 bool Valid = IsFP ? LHS->getType()->isFPOrFPVectorTy() in parseArithmetic()
7881 bool IsFP = false; in parseAtomicRMW() local
7910 IsFP = true; in parseAtomicRMW()
7914 IsFP = true; in parseAtomicRMW()
7918 IsFP = true; in parseAtomicRMW()
7922 IsFP = true; in parseAtomicRMW()
7948 } else if (IsFP) { in parseAtomicRMW()
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/
H A DM68kISelLowering.cpp1753 bool IsFP, SDValue &LHS, SDValue &RHS, in TranslateM68kCC() argument
1755 if (!IsFP) { in TranslateM68kCC()
2197 bool IsFP = Op1.getSimpleValueType().isFloatingPoint(); in LowerSETCC() local
2198 unsigned M68kCC = TranslateM68kCC(CC, DL, IsFP, Op0, Op1, DAG); in LowerSETCC()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/Disassembler/
H A DAArch64Disassembler.cpp1393 bool IsFP = fieldFromInstruction(insn, 26, 1); in DecodeSignedLdStInstruction() local
1396 if (IsLoad && IsIndexed && !IsFP && Rn != 31 && Rt == Rn) in DecodeSignedLdStInstruction()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DASTContext.cpp2165 IsSigned, IsFP, IsBF) \ in getTypeInfoImpl() argument
2188 IsFP, IsBF) \ in getTypeInfoImpl() argument
3980 IsSigned, IsFP, IsBF) \ in getScalableVectorType() argument
3985 IsFP && !IsBF) || \ in getScalableVectorType()
3987 IsBF && !IsFP)) && \ in getScalableVectorType()
3999 IsFP, IsBF) \ in getScalableVectorType() argument
4004 IsFP && !IsBF) || \ in getScalableVectorType()
4006 IsBF && !IsFP)) && \ in getScalableVectorType()

12