Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/utils/TableGen/Basic/
H A DVTEmitter.cpp130 bool IsInteger = VT->getValueAsBit("isInteger"); in run() local
142 IsInteger && IsVector && !IsScalable); in run()
144 IsInteger && IsScalable); in run()
152 UpdateVTRange("INTEGER_VALUETYPE", Name, IsInteger && !IsVector); in run()
162 << (IsInteger ? Name[0] == 'i' ? 3 : 1 : 0) << ", " in run()
203 bool IsInteger = VT->getValueAsBit("isInteger"); in run() local
208 if (!IsInteger && !IsVector && !IsFP && !IsRISCVVecTuple) in run()
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DLexHLSLRootSignature.cpp55 bool IsInteger = Result.NumSpelling.find_if_not(isdigit) == StringRef::npos; in lexToken() local
58 IsInteger ? TokenKind::int_literal : TokenKind::float_literal; in lexToken()
/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.h206 inline static VECC::CondCode VEValToCondCode(unsigned Val, bool IsInteger) { in VEValToCondCode() argument
207 if (IsInteger) { in VEValToCondCode()
/freebsd/contrib/llvm-project/lldb/source/ValueObject/
H A DValueObject.cpp1148 if (!GetCompilerType().IsInteger() && in GetValueAsAPSInt()
1186 if (val_type.IsInteger() || val_type.IsUnscopedEnumerationType() || in GetValueAsBool()
1207 if (!val_type.IsInteger() && !val_type.IsUnscopedEnumerationType() && in SetValueFromInteger()
1247 if (!val_type.IsInteger() && !val_type.IsUnscopedEnumerationType() && in SetValueFromInteger()
1265 if (!new_val_type.IsInteger() && !new_val_type.IsFloat() && in SetValueFromInteger()
1272 if (new_val_type.IsInteger()) { in SetValueFromInteger()
3133 bool is_integer = GetCompilerType().IsInteger(); in CastToBasicType()
3156 if (!type.IsInteger() && !type.IsBoolean()) in CastToBasicType()
3185 if (type.IsInteger()) { in CastToBasicType()
3285 bool is_integer = GetCompilerType().IsInteger(); in CastToEnumType()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86FixupVectorConstants.cpp126 bool IsInteger = CDS->getElementType()->isIntegerTy(); in extractConstantBits() local
131 if (IsInteger || IsFloat) { in extractConstantBits()
135 if (IsInteger) in extractConstantBits()
H A DX86MCInstLower.cpp1590 bool IsInteger = EltTy->isIntegerTy(); in printConstant() local
1598 if (IsInteger) in printConstant()
H A DX86ISelLowering.cpp5083 bool IsInteger = EltTy->isIntegerTy(); in getTargetConstantBitsFromNode() local
5086 if (!IsInteger && !IsFP) in getTargetConstantBitsFromNode()
5090 if (IsInteger) in getTargetConstantBitsFromNode()
/freebsd/contrib/llvm-project/lldb/include/lldb/Symbol/
H A DCompilerType.h200 bool IsInteger() const;
/freebsd/contrib/llvm-project/lldb/source/Symbol/
H A DCompilerType.cpp328 bool CompilerType::IsInteger() const { in IsInteger() function in CompilerType
349 return IsInteger() || IsUnscopedEnumerationType(); in IsIntegerOrUnscopedEnumerationType()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUInstCombineIntrinsic.cpp1182 bool IsInteger = IID == Intrinsic::amdgcn_icmp; in instCombineIntrinsic() local
1183 if ((IsInteger && (CCVal < CmpInst::FIRST_ICMP_PREDICATE || in instCombineIntrinsic()
1185 (!IsInteger && (CCVal < CmpInst::FIRST_FCMP_PREDICATE || in instCombineIntrinsic()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGStmtOpenMP.cpp6397 bool IsInteger = X.getAddress().getElementType()->isIntegerTy(); in emitOMPAtomicRMW() local
6401 RMWOp = IsInteger ? llvm::AtomicRMWInst::Add : llvm::AtomicRMWInst::FAdd; in emitOMPAtomicRMW()
6406 RMWOp = IsInteger ? llvm::AtomicRMWInst::Sub : llvm::AtomicRMWInst::FSub; in emitOMPAtomicRMW()
6418 if (IsInteger) in emitOMPAtomicRMW()
6429 if (IsInteger) in emitOMPAtomicRMW()
6472 if (IsInteger) in emitOMPAtomicRMW()
/freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp9248 bool IsInteger = E->getType()->isIntegerTy(); in createAtomicCompare() local
9252 if (!IsInteger) { in createAtomicCompare()
9266 if (!IsInteger) in createAtomicCompare()
9341 if (IsInteger) { in createAtomicCompare()
9353 if (IsInteger) { in createAtomicCompare()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp2160 bool IsInteger = BaseF->isInteger(), IsReciprocal = BaseR.isInteger(); in replacePowWithExp() local
2163 if ((IsInteger || IsReciprocal) && in replacePowWithExp()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp658 bool IsInteger = Type.isInteger(); in getSetCCOrOperation() local
659 if (IsInteger && (isSignedOp(Op1) | isSignedOp(Op2)) == 3) in getSetCCOrOperation()
671 if (IsInteger && Op == ISD::SETUNE) // e.g. SETUGT | SETULT in getSetCCOrOperation()
679 bool IsInteger = Type.isInteger(); in getSetCCAndOperation() local
680 if (IsInteger && (isSignedOp(Op1) | isSignedOp(Op2)) == 3) in getSetCCAndOperation()
688 if (IsInteger) { in getSetCCAndOperation()
H A DDAGCombiner.cpp6345 bool IsInteger = OpVT.isInteger(); in foldLogicOfSetCCs() local
6346 if (LR == RR && CC0 == CC1 && IsInteger) { in foldLogicOfSetCCs()
6392 IsInteger && CC0 == ISD::SETNE && in foldLogicOfSetCCs()
6404 if (IsInteger && TLI.convertSetCCLogicToBitwiseLogic(OpVT) && CC0 == CC1 && in foldLogicOfSetCCs()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp3595 bool IsInteger = Op.getValueType().isInteger(); in isSimpleVIDSequence() local
3612 if (IsInteger) { in isSimpleVIDSequence()