Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/utils/TableGen/Basic/
H A DVTEmitter.cpp131 bool IsFP = VT->getValueAsBit("isFP"); in run() local
146 IsFP && IsVector && !IsScalable); in run()
147 UpdateVTRange("FP_SCALABLE_VECTOR_VALUETYPE", Name, IsFP && IsScalable); in run()
153 UpdateVTRange("FP_VALUETYPE", Name, IsFP && !IsVector); in run()
163 << (IsFP ? Name[0] == 'f' ? 3 : 1 : 0) << ", " in run()
205 bool IsFP = VT->getValueAsBit("isFP"); in run() local
208 if (!IsInteger && !IsVector && !IsFP && !IsRISCVVecTuple) in run()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/GISel/
H A DX86RegisterBankInfo.cpp367 bool IsFP = any_of(MRI.use_nodbg_instructions(cast<GLoad>(MI).getDstReg()), in getInstrMapping() local
375 getInstrPartialMappingIdxs(MI, MRI, IsFP, OpRegBankIdx); in getInstrMapping()
384 bool IsFP = onlyDefinesFP(*DefMI, MRI, TRI); in getInstrMapping() local
385 getInstrPartialMappingIdxs(MI, MRI, IsFP, OpRegBankIdx); in getInstrMapping()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DUtils.h557 bool IsVector, bool IsFP);
561 bool IsVector, bool IsFP);
566 bool IsFP);
H A DMachineIRBuilder.h735 unsigned getBoolExtOp(bool IsVec, bool IsFP) const;
740 bool IsFP);
747 bool IsFP);
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelDAGToDAG.cpp6507 bool IsFP = ValueSVT.isFloatingPoint(); in Select() local
6514 Opc = IsFP ? X86::VGATHERDPSZ128rm : X86::VPGATHERDDZ128rm; in Select()
6516 Opc = IsFP ? X86::VGATHERDPSZ256rm : X86::VPGATHERDDZ256rm; in Select()
6518 Opc = IsFP ? X86::VGATHERDPSZrm : X86::VPGATHERDDZrm; in Select()
6520 Opc = IsFP ? X86::VGATHERDPDZ128rm : X86::VPGATHERDQZ128rm; in Select()
6522 Opc = IsFP ? X86::VGATHERDPDZ256rm : X86::VPGATHERDQZ256rm; in Select()
6524 Opc = IsFP ? X86::VGATHERDPDZrm : X86::VPGATHERDQZrm; in Select()
6526 Opc = IsFP ? X86::VGATHERQPSZ128rm : X86::VPGATHERQDZ128rm; in Select()
6528 Opc = IsFP ? X86::VGATHERQPSZ256rm : X86::VPGATHERQDZ256rm; in Select()
6530 Opc = IsFP ? X86::VGATHERQPSZrm : X86::VPGATHERQDZrm; in Select()
[all …]
H A DX86MCInstLower.cpp1591 bool IsFP = EltTy->isHalfTy() || EltTy->isFloatTy() || EltTy->isDoubleTy(); in printConstant() local
1600 else if (IsFP) in printConstant()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsSEISelLowering.h115 bool IsFP) const;
H A DMipsSEISelLowering.cpp3382 bool IsFP) const { in emitINSERT_DF_VIDX()
3429 if (IsFP) { in emitINSERT_DF_VIDX()
3455 if (IsFP) { in emitINSERT_DF_VIDX()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DAArch64ACLETypes.def61 // - IsFP is true for vectors of floating-point elements.
85 …VECTOR_TYPE_DETAILS(Name, MangledName, Id, SingletonId, NumEls, ElBits, NF, 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/lib/CodeGen/GlobalISel/
H A DMachineIRBuilder.cpp513 unsigned MachineIRBuilder::getBoolExtOp(bool IsVec, bool IsFP) const { in getBoolExtOp()
515 switch (TLI->getBooleanContents(IsVec, IsFP)) { in getBoolExtOp()
527 bool IsFP) { in buildBoolExt() argument
528 unsigned ExtOp = getBoolExtOp(getMRI()->getType(Op.getReg()).isVector(), IsFP); in buildBoolExt()
535 bool IsFP) { in buildBoolExtInReg() argument
537 switch (TLI->getBooleanContents(IsVector, IsFP)) { in buildBoolExtInReg()
H A DUtils.cpp1625 bool IsFP) { in isConstTrueVal() argument
1626 switch (TLI.getBooleanContents(IsVector, IsFP)) { in isConstTrueVal()
1638 bool IsVector, bool IsFP) { in isConstFalseVal() argument
1639 switch (TLI.getBooleanContents(IsVector, IsFP)) { in isConstFalseVal()
1650 bool IsFP) { in getICmpTrueVal() argument
1651 switch (TLI.getBooleanContents(IsVector, IsFP)) { in getICmpTrueVal()
H A DGISelValueTracking.cpp1935 bool IsFP = Opcode == TargetOpcode::G_FCMP; in computeNumSignBits() local
1938 auto BC = TL.getBooleanContents(DstTy.isVector(), IsFP); in computeNumSignBits()
H A DCombinerHelper.cpp3425 int64_t Cst, bool IsVector, bool IsFP) { in isConstValidTrue() argument
3428 isConstTrueVal(TLI, Cst, IsVector, IsFP); in isConstValidTrue()
3565 bool IsFP = false; in matchNotCmp() local
3577 if (IsFP) in matchNotCmp()
3585 IsFP = true; in matchNotCmp()
3609 if (!isConstValidTrue(TLI, Ty.getScalarSizeInBits(), *MaybeCst, true, IsFP)) in matchNotCmp()
3614 if (!isConstValidTrue(TLI, Ty.getSizeInBits(), Cst, false, IsFP)) in matchNotCmp()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/MCTargetDesc/
H A DAMDGPUMCCodeEmitter.cpp223 bool IsFP) { in getLit64Encoding() argument
258 if (IsFP) { in getLit64Encoding()
H A DAMDGPUInstPrinter.h91 raw_ostream &O, bool IsFP);
H A DAMDGPUInstPrinter.cpp591 raw_ostream &O, bool IsFP) { in printImmediate64() argument
621 if (IsFP) { in printImmediate64()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp1286 bool IsFP = Ty->isFPOrFPVectorTy(); in getDecodedUnaryOpcode() local
1288 if (!IsFP && !Ty->isIntOrIntVectorTy()) in getDecodedUnaryOpcode()
1295 return IsFP ? Instruction::FNeg : -1; in getDecodedUnaryOpcode()
1300 bool IsFP = Ty->isFPOrFPVectorTy(); in getDecodedBinaryOpcode() local
1302 if (!IsFP && !Ty->isIntOrIntVectorTy()) in getDecodedBinaryOpcode()
1309 return IsFP ? Instruction::FAdd : Instruction::Add; in getDecodedBinaryOpcode()
1311 return IsFP ? Instruction::FSub : Instruction::Sub; in getDecodedBinaryOpcode()
1313 return IsFP ? Instruction::FMul : Instruction::Mul; in getDecodedBinaryOpcode()
1315 return IsFP ? -1 : Instruction::UDiv; in getDecodedBinaryOpcode()
1317 return IsFP ? Instruction::FDiv : Instruction::SDiv; in getDecodedBinaryOpcode()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLowerMatrixIntrinsics.cpp937 bool IsFP = I.getType()->isFPOrFPVectorTy(); in sinkTranspose() local
938 auto *Mul = IsFP ? LocalBuilder.CreateFMul(T0, T1, "mmul") in sinkTranspose()
958 bool IsFP = I.getType()->isFPOrFPVectorTy(); in sinkTranspose() local
959 auto *Add = IsFP ? LocalBuilder.CreateFAdd(T0, T1, "madd") in sinkTranspose()
1720 bool IsFP = Result.getElementType()->isFloatingPointTy(); in emitMatrixMultiply() local
1752 IsFP, Builder, FMF.allowContract(), NumComputeOps); in emitMatrixMultiply()
1779 IsFP, Builder, FMF.allowContract(), NumComputeOps); in emitMatrixMultiply()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DISDOpcodes.h1669 LLVM_ABI NodeType getExtForLoadExtType(bool IsFP, LoadExtType);
/freebsd/contrib/llvm-project/llvm/include/llvm/AsmParser/
H A DLLParser.h648 bool IsFP);
650 unsigned Opc, bool IsFP);
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp7877 unsigned Opc, bool IsFP) { in parseUnaryOp() argument
7882 bool Valid = IsFP ? LHS->getType()->isFPOrFPVectorTy() in parseUnaryOp()
8005 unsigned Opc, bool IsFP) { in parseArithmetic() argument
8012 bool Valid = IsFP ? LHS->getType()->isFPOrFPVectorTy() in parseArithmetic()
8639 bool IsFP = false; in parseAtomicRMW() local
8674 IsFP = true; in parseAtomicRMW()
8678 IsFP = true; in parseAtomicRMW()
8682 IsFP = true; in parseAtomicRMW()
8686 IsFP = true; in parseAtomicRMW()
8690 IsFP = true; in parseAtomicRMW()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/
H A DM68kISelLowering.cpp1756 bool IsFP, SDValue &LHS, SDValue &RHS, in TranslateM68kCC() argument
1758 if (!IsFP) { in TranslateM68kCC()
2200 bool IsFP = Op1.getSimpleValueType().isFloatingPoint(); in LowerSETCC() local
2201 unsigned M68kCC = TranslateM68kCC(CC, DL, IsFP, Op0, Op1, DAG); in LowerSETCC()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/Disassembler/
H A DAArch64Disassembler.cpp1021 bool IsFP = fieldFromInstruction(insn, 26, 1); in DecodeSignedLdStInstruction() local
1024 if (IsLoad && IsIndexed && !IsFP && Rn != 31 && Rt == Rn) in DecodeSignedLdStInstruction()
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.cpp3724 bool IsFP = CmpOp0.getValueType().isFloatingPoint(); in lowerVectorSETCC() local
3725 assert (!Chain || IsFP); in lowerVectorSETCC()
3728 Chain ? CmpMode::StrictFP : IsFP ? CmpMode::FP : CmpMode::Int; in lowerVectorSETCC()
3737 assert(IsFP && "Unexpected integer comparison"); in lowerVectorSETCC()
3754 assert(IsFP && "Unexpected integer comparison"); in lowerVectorSETCC()

12