| /llvm-project-15.0.7/clang/test/Sema/ |
| H A D | cast.c | 24 typedef _Complex int CInt; typedef 37 (void) (CInt) v; in testBool() 51 (void) (CInt) v; in testInt() 73 (void) (CInt) v; in testLong() 87 (void) (CInt) v; in testFloat() 99 (void) (CInt) v; in testDouble() 105 void testCI(CInt v) { in testCI() 111 (void) (CInt) v; in testCI() 123 (void) (CInt) v; in testCLong() 135 (void) (CInt) v; in testCFloat() [all …]
|
| H A D | dllexport-2.cpp | 14 typedef const int CInt; typedef 21 __declspec(dllexport) CInt j2; //expected-error {{default initialization of an object of const type… 26 __declspec(dllexport) CInt j3 = 3;
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/bugprone/ |
| H A D | easily-swappable-parameters-qualifiermixing.cpp | 14 using CInt = const int; typedef 62 void qualifiedThroughTypedef1(int I, CInt CI) {} in qualifiedThroughTypedef1() 69 void qualifiedThroughTypedef2(CInt CI1, const int CI2) {} in qualifiedThroughTypedef2() 75 void qualifiedThroughTypedef3(CInt CI1, const MyInt1 CI2, const int CI3) {} in qualifiedThroughTypedef3() 83 void qualifiedThroughTypedef4(CInt CI1, const MyInt1 CI2, const MyInt2 CI3) {} in qualifiedThroughTypedef4() 104 void referenceToTypedef1(CInt &CIR, int I) {} in referenceToTypedef1()
|
| H A D | easily-swappable-parameters-len2.cpp | 113 using CInt = const int; typedef 170 void qualifiedThroughTypedef1(int I, CInt CI) {} // NO-WARN: Different qualifiers. in qualifiedThroughTypedef1() 172 void qualifiedThroughTypedef2(CInt CI1, const int CI2) {} in qualifiedThroughTypedef2() 178 void qualifiedThroughTypedef3(CInt CI1, const MyInt1 CI2, const int CI3) {} in qualifiedThroughTypedef3() 186 void qualifiedThroughTypedef4(CInt CI1, const MyInt1 CI2, const MyInt2 CI3) {} in qualifiedThroughTypedef4() 232 void referenceToTypedef1(CInt &CIR, int I) {} in referenceToTypedef1()
|
| /llvm-project-15.0.7/clang/test/Analysis/ |
| H A D | initialization.cpp | 226 typedef Int const CInt; typedef 227 typedef CInt Arr[2];
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | LowerExpectIntrinsic.cpp | 156 ConstantInt *CInt = dyn_cast<ConstantInt>(BinOp->getOperand(1)); in handlePhiDef() local 157 if (!CInt) in handlePhiDef()
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86InstCombineIntrinsic.cpp | 561 auto *CInt = dyn_cast<ConstantInt>(II.getArgOperand(2)); in simplifyX86insertps() local 562 if (!CInt) in simplifyX86insertps() 573 uint8_t Imm = CInt->getZExtValue(); in simplifyX86insertps()
|
| H A D | X86ISelLowering.cpp | 7265 if (auto *CInt = dyn_cast<ConstantInt>(Cst)) { in getTargetConstantBitsFromNode() local 7266 Mask = CInt->getValue(); in getTargetConstantBitsFromNode()
|
| /llvm-project-15.0.7/llvm/lib/Target/Hexagon/ |
| H A D | HexagonISelDAGToDAG.cpp | 1814 const APInt &CInt = C->getAPIntValue(); in getPowerOf2Factor() local 1815 if (CInt.getBoolValue()) in getPowerOf2Factor() 1816 MaxFactor = CInt.countTrailingZeros(); in getPowerOf2Factor()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/ |
| H A D | InstructionCombining.cpp | 721 const APInt *CInt; in tryFactorization() local 722 if (match(V, m_APInt(CInt))) { in tryFactorization() 723 if (!CInt->isMinSignedValue()) in tryFactorization()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAG.cpp | 3424 if (auto *CInt = dyn_cast<ConstantInt>(Elt)) { in computeKnownBits() local 3425 const APInt &Value = CInt->getValue(); in computeKnownBits() 3442 if (auto *CInt = dyn_cast<ConstantInt>(Cst)) { in computeKnownBits() local 3443 Known = KnownBits::makeConstant(CInt->getValue()); in computeKnownBits() 4464 if (auto *CInt = dyn_cast<ConstantInt>(Elt)) { in ComputeNumSignBits() local 4465 const APInt &Value = CInt->getValue(); in ComputeNumSignBits() 11617 auto *CInt = dyn_cast<ConstantSDNode>(Op); in getConstantRawBits() local 11619 assert((CInt || CFP) && "Unknown constant"); in getConstantRawBits() 11620 SrcBitElements[I] = CInt ? CInt->getAPIntValue().trunc(SrcEltSizeInBits) in getConstantRawBits()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | SimplifyLibCalls.cpp | 2635 if (ConstantInt *CInt = dyn_cast<ConstantInt>(CI->getArgOperand(2))) { in optimizeStrToInt() local 2636 return convertStrToInt(CI, Str, EndPtr, CInt->getSExtValue(), AsSigned, B); in optimizeStrToInt()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/ |
| H A D | SLPVectorizer.cpp | 6394 ConstantInt *CInt = dyn_cast<ConstantInt>(I->getOperand(OpIdx)); in getEntryCost() local 6395 if (!CInt) { in getEntryCost() 6401 !CInt->getValue().isPowerOf2()) in getEntryCost() 6404 CInt0 = CInt; in getEntryCost() 6407 if (CInt0 != CInt) in getEntryCost()
|
| /llvm-project-15.0.7/llvm/lib/Target/AArch64/ |
| H A D | AArch64ISelLowering.cpp | 4230 const APInt &CInt = C->getAPIntValue(); in skipExtensionForVectorMULL() local 4233 Ops.push_back(DAG.getConstant(CInt.zextOrTrunc(32), dl, MVT::i32)); in skipExtensionForVectorMULL()
|
| /llvm-project-15.0.7/llvm/lib/Target/ARM/ |
| H A D | ARMISelLowering.cpp | 9437 const APInt &CInt = C->getAPIntValue(); in SkipExtensionForVMULL() local 9440 Ops.push_back(DAG.getConstant(CInt.zextOrTrunc(32), dl, MVT::i32)); in SkipExtensionForVMULL()
|