Home
last modified time | relevance | path

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

/llvm-project-15.0.7/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()
/llvm-project-15.0.7/flang/include/flang/Runtime/
H A Dtype-code.h32 constexpr bool IsInteger() const { in IsInteger() function
/llvm-project-15.0.7/llvm/lib/Target/VE/
H A DVE.h199 inline static VECC::CondCode VEValToCondCode(unsigned Val, bool IsInteger) { in VEValToCondCode() argument
200 if (IsInteger) { in VEValToCondCode()
/llvm-project-15.0.7/flang/unittests/Evaluate/
H A Dreshape.cpp75 TEST(result->type().IsInteger()); in main()
/llvm-project-15.0.7/flang/runtime/
H A Dcommand.cpp60 length->type().IsInteger() && typeCode && typeCode->second != 1; in IsValidIntDescriptor()
H A Dtransformational.cpp395 RUNTIME_CHECK(terminator, shape.type().IsInteger()); in RTNAME()
441 RUNTIME_CHECK(terminator, order->type().IsInteger()); in RTNAME()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DAMDGPUInstCombineIntrinsic.cpp720 bool IsInteger = IID == Intrinsic::amdgcn_icmp; in instCombineIntrinsic() local
721 if ((IsInteger && (CCVal < CmpInst::FIRST_ICMP_PREDICATE || in instCombineIntrinsic()
723 (!IsInteger && (CCVal < CmpInst::FIRST_FCMP_PREDICATE || in instCombineIntrinsic()
/llvm-project-15.0.7/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp4204 bool IsInteger = E->getType()->isIntegerTy(); in createAtomicCompare() local
4209 if (!IsInteger) { in createAtomicCompare()
4227 if (!IsInteger) in createAtomicCompare()
4302 if (IsInteger) { in createAtomicCompare()
4314 if (IsInteger) { in createAtomicCompare()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGStmtOpenMP.cpp6011 bool IsInteger = X.getAddress(CGF).getElementType()->isIntegerTy(); in emitOMPAtomicRMW() local
6015 RMWOp = IsInteger ? llvm::AtomicRMWInst::Add : llvm::AtomicRMWInst::FAdd; in emitOMPAtomicRMW()
6020 RMWOp = IsInteger ? llvm::AtomicRMWInst::Sub : llvm::AtomicRMWInst::FSub; in emitOMPAtomicRMW()
6032 if (IsInteger) in emitOMPAtomicRMW()
6043 if (IsInteger) in emitOMPAtomicRMW()
6086 if (IsInteger) in emitOMPAtomicRMW()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp1840 bool IsInteger = BaseF->isInteger(), IsReciprocal = BaseR.isInteger(); in replacePowWithExp() local
1843 if ((IsInteger || IsReciprocal) && in replacePowWithExp()
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp544 bool IsInteger = Type.isInteger(); in getSetCCOrOperation() local
545 if (IsInteger && (isSignedOp(Op1) | isSignedOp(Op2)) == 3) in getSetCCOrOperation()
557 if (IsInteger && Op == ISD::SETUNE) // e.g. SETUGT | SETULT in getSetCCOrOperation()
565 bool IsInteger = Type.isInteger(); in getSetCCAndOperation() local
566 if (IsInteger && (isSignedOp(Op1) | isSignedOp(Op2)) == 3) in getSetCCAndOperation()
574 if (IsInteger) { in getSetCCAndOperation()
H A DDAGCombiner.cpp5432 bool IsInteger = OpVT.isInteger(); in foldLogicOfSetCCs() local
5433 if (LR == RR && CC0 == CC1 && IsInteger) { in foldLogicOfSetCCs()
5479 IsInteger && CC0 == ISD::SETNE && in foldLogicOfSetCCs()
5491 if (IsInteger && TLI.convertSetCCLogicToBitwiseLogic(OpVT) && CC0 == CC1 && in foldLogicOfSetCCs()