Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/llvm/unittests/IR/
H A DVectorBuilderTest.cpp66 bool IsFP = (#INSTCLASS)[0] == 'F'; \ in TEST_F()
67 auto *ValueTy = IsFP ? FloatVecTy : IntVecTy; \ in TEST_F()
116 bool IsFP = (#INSTCLASS)[0] == 'F'; \ in TEST_F()
117 Type *ValueTy = IsFP ? FloatVecTy : IntVecTy; \ in TEST_F()
162 bool IsFP = (#INSTCLASS)[0] == 'F'; \ in TEST_F()
163 Type *ValueTy = IsFP ? FloatVecTy : IntVecTy; \ in TEST_F()
197 bool IsFP = (#INSTCLASS)[0] == 'F'; \ in TEST_F()
198 Type *ValueTy = IsFP ? FloatVecTy : IntVecTy; \ in TEST_F()
/llvm-project-15.0.7/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)
39 // - IsFP is true for vectors of floating-point elements.
44 #define RVV_VECTOR_TYPE(Name, Id, SingletonId, NumEls, ElBits, NF, IsSigned, IsFP)\
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86ISelDAGToDAG.cpp5927 bool IsFP = ValueSVT.isFloatingPoint(); in Select() local
5938 Opc = IsFP ? X86::VGATHERDPSZrm : X86::VPGATHERDDZrm; in Select()
5944 Opc = IsFP ? X86::VGATHERDPDZrm : X86::VPGATHERDQZrm; in Select()
5950 Opc = IsFP ? X86::VGATHERQPSZrm : X86::VPGATHERQDZrm; in Select()
5956 Opc = IsFP ? X86::VGATHERQPDZrm : X86::VPGATHERQQZrm; in Select()
5961 Opc = IsFP ? X86::VGATHERDPSrm : X86::VPGATHERDDrm; in Select()
5963 Opc = IsFP ? X86::VGATHERDPSYrm : X86::VPGATHERDDYrm; in Select()
5965 Opc = IsFP ? X86::VGATHERDPDrm : X86::VPGATHERDQrm; in Select()
5969 Opc = IsFP ? X86::VGATHERQPSrm : X86::VPGATHERQDrm; in Select()
5973 Opc = IsFP ? X86::VGATHERQPDrm : X86::VPGATHERQQrm; in Select()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/GlobalISel/
H A DUtils.h490 bool IsFP);
494 int64_t getICmpTrueVal(const TargetLowering &TLI, bool IsVector, bool IsFP);
H A DMachineIRBuilder.h679 unsigned getBoolExtOp(bool IsVec, bool IsFP) const;
684 bool IsFP);
691 bool IsFP);
/llvm-project-15.0.7/llvm/lib/Target/Mips/
H A DMipsSEISelLowering.h112 bool IsFP) const;
H A DMipsSEISelLowering.cpp3318 bool IsFP) const { in emitINSERT_DF_VIDX()
3365 if (IsFP) { in emitINSERT_DF_VIDX()
3391 if (IsFP) { in emitINSERT_DF_VIDX()
/llvm-project-15.0.7/llvm/lib/IR/
H A DIntrinsicInst.cpp640 bool IsFP = true; in getPredicate() local
648 IsFP = ISFP; \ in getPredicate()
654 return IsFP ? getFPPredicateFromMD(getArgOperand(*CCArgIdx)) in getPredicate()
/llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/
H A DMachineIRBuilder.cpp457 unsigned MachineIRBuilder::getBoolExtOp(bool IsVec, bool IsFP) const { in getBoolExtOp()
459 switch (TLI->getBooleanContents(IsVec, IsFP)) { in getBoolExtOp()
471 bool IsFP) { in buildBoolExt() argument
472 unsigned ExtOp = getBoolExtOp(getMRI()->getType(Op.getReg()).isVector(), IsFP); in buildBoolExt()
479 bool IsFP) { in buildBoolExtInReg() argument
481 switch (TLI->getBooleanContents(IsVector, IsFP)) { in buildBoolExtInReg()
H A DUtils.cpp1274 bool IsFP) { in isConstTrueVal() argument
1275 switch (TLI.getBooleanContents(IsVector, IsFP)) { in isConstTrueVal()
1287 bool IsFP) { in getICmpTrueVal() argument
1288 switch (TLI.getBooleanContents(IsVector, IsFP)) { in getICmpTrueVal()
H A DCombinerHelper.cpp2903 int64_t Cst, bool IsVector, bool IsFP) { in isConstValidTrue() argument
2906 isConstTrueVal(TLI, Cst, IsVector, IsFP); in isConstValidTrue()
2930 bool IsFP = false; in matchNotCmp() local
2942 if (IsFP) in matchNotCmp()
2950 IsFP = true; in matchNotCmp()
2974 if (!isConstValidTrue(TLI, Ty.getScalarSizeInBits(), *MaybeCst, true, IsFP)) in matchNotCmp()
2979 if (!isConstValidTrue(TLI, Ty.getSizeInBits(), Cst, false, IsFP)) in matchNotCmp()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DSIFrameLowering.cpp63 bool IsFP) { in getVGPRSpillLaneOrTempRegister() argument
84 dbgs() << "Spilling " << (IsFP ? "FP" : "BP") << " to " in getVGPRSpillLaneOrTempRegister()
105 dbgs() << (IsFP ? "FP" : "BP") << " requires fallback spill to " in getVGPRSpillLaneOrTempRegister()
113 << (IsFP ? "FP" : "BP") << '\n'); in getVGPRSpillLaneOrTempRegister()
116 LLVM_DEBUG(dbgs() << "Saving " << (IsFP ? "FP" : "BP") << " with copy to " in getVGPRSpillLaneOrTempRegister()
/llvm-project-15.0.7/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp1178 bool IsFP = Ty->isFPOrFPVectorTy(); in getDecodedUnaryOpcode() local
1180 if (!IsFP && !Ty->isIntOrIntVectorTy()) in getDecodedUnaryOpcode()
1187 return IsFP ? Instruction::FNeg : -1; in getDecodedUnaryOpcode()
1192 bool IsFP = Ty->isFPOrFPVectorTy(); in getDecodedBinaryOpcode() local
1194 if (!IsFP && !Ty->isIntOrIntVectorTy()) in getDecodedBinaryOpcode()
1207 return IsFP ? -1 : Instruction::UDiv; in getDecodedBinaryOpcode()
1211 return IsFP ? -1 : Instruction::URem; in getDecodedBinaryOpcode()
1215 return IsFP ? -1 : Instruction::Shl; in getDecodedBinaryOpcode()
1221 return IsFP ? -1 : Instruction::And; in getDecodedBinaryOpcode()
1223 return IsFP ? -1 : Instruction::Or; in getDecodedBinaryOpcode()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DISDOpcodes.h1408 NodeType getExtForLoadExtType(bool IsFP, LoadExtType);
/llvm-project-15.0.7/llvm/include/llvm/AsmParser/
H A DLLParser.h583 bool IsFP);
585 unsigned Opc, bool IsFP);
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DLowerMatrixIntrinsics.cpp1209 bool IsFP = Result.getElementType()->isFloatingPointTy(); in emitMatrixMultiply() local
1241 IsFP, Builder, FMF.allowContract(), NumComputeOps); in emitMatrixMultiply()
1268 IsFP, Builder, FMF.allowContract(), NumComputeOps); in emitMatrixMultiply()
/llvm-project-15.0.7/llvm/lib/AsmParser/
H A DLLParser.cpp6656 unsigned Opc, bool IsFP) { in parseUnaryOp() argument
6661 bool Valid = IsFP ? LHS->getType()->isFPOrFPVectorTy() in parseUnaryOp()
6795 unsigned Opc, bool IsFP) { in parseArithmetic() argument
6802 bool Valid = IsFP ? LHS->getType()->isFPOrFPVectorTy() in parseArithmetic()
7449 bool IsFP = false; in parseAtomicRMW() local
7472 IsFP = true; in parseAtomicRMW()
7476 IsFP = true; in parseAtomicRMW()
7480 IsFP = true; in parseAtomicRMW()
7484 IsFP = true; in parseAtomicRMW()
7513 } else if (IsFP) { in parseAtomicRMW()
/llvm-project-15.0.7/llvm/lib/Target/M68k/
H A DM68kISelLowering.cpp1524 bool IsFP, SDValue &LHS, SDValue &RHS, in TranslateM68kCC() argument
1526 if (!IsFP) { in TranslateM68kCC()
1968 bool IsFP = Op1.getSimpleValueType().isFloatingPoint(); in LowerSETCC() local
1969 unsigned M68kCC = TranslateM68kCC(CC, DL, IsFP, Op0, Op1, DAG); in LowerSETCC()
/llvm-project-15.0.7/llvm/lib/Target/AArch64/Disassembler/
H A DAArch64Disassembler.cpp1235 bool IsFP = fieldFromInstruction(insn, 26, 1); in DecodeSignedLdStInstruction() local
1238 if (IsLoad && IsIndexed && !IsFP && Rn != 31 && Rt == Rn) in DecodeSignedLdStInstruction()
/llvm-project-15.0.7/clang/lib/AST/
H A DASTContext.cpp2218 IsSigned, IsFP, IsBF) \ in getTypeInfoImpl() argument
2236 IsFP) \ in getTypeInfoImpl() argument
3975 IsSigned, IsFP, IsBF) \ in getScalableVectorType() argument
3980 IsFP && !IsBF) || \ in getScalableVectorType()
3982 IsBF && !IsFP)) && \ in getScalableVectorType()
3993 IsFP) \ in getScalableVectorType() argument
3997 (EltTy->hasFloatingRepresentation() && IsFP)) && \ in getScalableVectorType()
H A DItaniumMangle.cpp3118 ElBits, IsSigned, IsFP, IsBF) \ in mangleType() argument
/llvm-project-15.0.7/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.cpp3029 bool IsFP = CmpOp0.getValueType().isFloatingPoint(); in lowerVectorSETCC() local
3030 assert (!Chain || IsFP); in lowerVectorSETCC()
3033 Chain ? CmpMode::StrictFP : IsFP ? CmpMode::FP : CmpMode::Int; in lowerVectorSETCC()
3042 assert(IsFP && "Unexpected integer comparison"); in lowerVectorSETCC()
3059 assert(IsFP && "Unexpected integer comparison"); in lowerVectorSETCC()
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp476 ISD::NodeType ISD::getExtForLoadExtType(bool IsFP, ISD::LoadExtType ExtType) { in getExtForLoadExtType() argument
479 return IsFP ? ISD::FP_EXTEND : ISD::ANY_EXTEND; in getExtForLoadExtType()
H A DSelectionDAGBuilder.cpp7561 bool IsFP = VPIntrin.getOperand(0)->getType()->isFPOrFPVectorTy(); in visitVPCmp() local
7562 if (IsFP) { in visitVPCmp()

12