Home
last modified time | relevance | path

Searched refs:IsInteger (Results 1 – 16 of 16) sorted by relevance

/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DVTEmitter.cpp118 bool IsInteger = VT->getValueAsBit("isInteger"); in run() local
128 IsInteger && IsVector && !IsScalable); in run()
130 IsInteger && IsScalable); in run()
137 UpdateVTRange("INTEGER_VALUETYPE", Name, IsInteger && !IsVector); in run()
147 << (IsInteger ? Name[0] == 'i' ? 3 : 1 : 0) << ", " in run()
185 bool IsInteger = VT->getValueAsBit("isInteger"); in run() local
189 if (!IsInteger && !IsVector && !IsFP) in run()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DNumberObjectConversionChecker.cpp121 bool IsInteger = in run() local
149 std::string SuggestedApi = IsObjC ? (IsInteger ? "" : "-boolValue") in run()
164 if (IsInteger) in run()
/freebsd/contrib/llvm-project/llvm/lib/Target/VE/
H A DVE.h205 inline static VECC::CondCode VEValToCondCode(unsigned Val, bool IsInteger) { in VEValToCondCode() argument
206 if (IsInteger) { in VEValToCondCode()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86FixupVectorConstants.cpp119 bool IsInteger = CDS->getElementType()->isIntegerTy(); in extractConstantBits() local
124 if (IsInteger || IsFloat) { in extractConstantBits()
128 if (IsInteger) in extractConstantBits()
H A DX86MCInstLower.cpp1582 bool IsInteger = EltTy->isIntegerTy(); in printConstant() local
1590 if (IsInteger) in printConstant()
H A DX86ISelLowering.cpp4823 bool IsInteger = EltTy->isIntegerTy(); in getTargetConstantBitsFromNode() local
4826 if (!IsInteger && !IsFP) in getTargetConstantBitsFromNode()
4830 if (IsInteger) in getTargetConstantBitsFromNode()
/freebsd/contrib/llvm-project/lldb/source/Core/
H A DValueObject.cpp1126 if (!GetCompilerType().IsInteger() && in GetValueAsAPSInt()
1164 if (val_type.IsInteger() || val_type.IsUnscopedEnumerationType() || in GetValueAsBool()
1185 if (!val_type.IsInteger() && !val_type.IsUnscopedEnumerationType() && in SetValueFromInteger()
1222 if (!val_type.IsInteger() && !val_type.IsUnscopedEnumerationType() && in SetValueFromInteger()
1238 if (!new_val_type.IsInteger() && !new_val_type.IsFloat() && in SetValueFromInteger()
1245 if (new_val_type.IsInteger()) { in SetValueFromInteger()
3171 bool is_integer = GetCompilerType().IsInteger(); in CastToBasicType()
3192 if (!type.IsInteger() && !type.IsBoolean()) { in CastToBasicType()
3221 if (type.IsInteger()) { in CastToBasicType()
3318 bool is_integer = GetCompilerType().IsInteger(); in CastToEnumType()
/freebsd/contrib/llvm-project/lldb/include/lldb/Symbol/
H A DCompilerType.h199 bool IsInteger() const;
/freebsd/contrib/llvm-project/lldb/source/Symbol/
H A DCompilerType.cpp326 bool CompilerType::IsInteger() const { in IsInteger() function in CompilerType
347 return IsInteger() || IsUnscopedEnumerationType(); in IsIntegerOrUnscopedEnumerationType()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUInstCombineIntrinsic.cpp845 bool IsInteger = IID == Intrinsic::amdgcn_icmp; in instCombineIntrinsic() local
846 if ((IsInteger && (CCVal < CmpInst::FIRST_ICMP_PREDICATE || in instCombineIntrinsic()
848 (!IsInteger && (CCVal < CmpInst::FIRST_FCMP_PREDICATE || in instCombineIntrinsic()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGStmtOpenMP.cpp6178 bool IsInteger = X.getAddress().getElementType()->isIntegerTy(); in emitOMPAtomicRMW() local
6182 RMWOp = IsInteger ? llvm::AtomicRMWInst::Add : llvm::AtomicRMWInst::FAdd; in emitOMPAtomicRMW()
6187 RMWOp = IsInteger ? llvm::AtomicRMWInst::Sub : llvm::AtomicRMWInst::FSub; in emitOMPAtomicRMW()
6199 if (IsInteger) in emitOMPAtomicRMW()
6210 if (IsInteger) in emitOMPAtomicRMW()
6253 if (IsInteger) in emitOMPAtomicRMW()
/freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp8015 bool IsInteger = E->getType()->isIntegerTy(); in createAtomicCompare() local
8019 if (!IsInteger) { in createAtomicCompare()
8033 if (!IsInteger) in createAtomicCompare()
8108 if (IsInteger) { in createAtomicCompare()
8120 if (IsInteger) { in createAtomicCompare()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp2149 bool IsInteger = BaseF->isInteger(), IsReciprocal = BaseR.isInteger(); in replacePowWithExp() local
2152 if ((IsInteger || IsReciprocal) && in replacePowWithExp()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp633 bool IsInteger = Type.isInteger(); in getSetCCOrOperation() local
634 if (IsInteger && (isSignedOp(Op1) | isSignedOp(Op2)) == 3) in getSetCCOrOperation()
646 if (IsInteger && Op == ISD::SETUNE) // e.g. SETUGT | SETULT in getSetCCOrOperation()
654 bool IsInteger = Type.isInteger(); in getSetCCAndOperation() local
655 if (IsInteger && (isSignedOp(Op1) | isSignedOp(Op2)) == 3) in getSetCCAndOperation()
663 if (IsInteger) { in getSetCCAndOperation()
H A DDAGCombiner.cpp5967 bool IsInteger = OpVT.isInteger(); in foldLogicOfSetCCs() local
5968 if (LR == RR && CC0 == CC1 && IsInteger) { in foldLogicOfSetCCs()
6014 IsInteger && CC0 == ISD::SETNE && in foldLogicOfSetCCs()
6026 if (IsInteger && TLI.convertSetCCLogicToBitwiseLogic(OpVT) && CC0 == CC1 && in foldLogicOfSetCCs()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp3375 bool IsInteger = Op.getValueType().isInteger(); in isSimpleVIDSequence()
3391 if (IsInteger) { in isSimpleVIDSequence()
3374 bool IsInteger = Op.getValueType().isInteger(); isSimpleVIDSequence() local