| /llvm-project-15.0.7/clang/test/CodeGenCXX/ |
| H A D | builtins-systemz-zvector.cpp | 19 constexpr vector int CI2 = (vector int)char(0); in testInts() local 21 gb = (VI == CI2)[0]; in testInts() 39 constexpr vector double CI2 = (vector double)char(0); in testFloats() local 41 gb = (VD == CI2)[0]; in testFloats()
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/bugprone/ |
| H A D | easily-swappable-parameters-qualifiermixing.cpp | 69 void qualifiedThroughTypedef2(CInt CI1, const int CI2) {} in qualifiedThroughTypedef2() argument 75 void qualifiedThroughTypedef3(CInt CI1, const MyInt1 CI2, const int CI3) {} in qualifiedThroughTypedef3() argument 83 void qualifiedThroughTypedef4(CInt CI1, const MyInt1 CI2, const MyInt2 CI3) {} in qualifiedThroughTypedef4() argument
|
| H A D | easily-swappable-parameters-len2.cpp | 172 void qualifiedThroughTypedef2(CInt CI1, const int CI2) {} in qualifiedThroughTypedef2() argument 178 void qualifiedThroughTypedef3(CInt CI1, const MyInt1 CI2, const int CI3) {} in qualifiedThroughTypedef3() argument 186 void qualifiedThroughTypedef4(CInt CI1, const MyInt1 CI2, const MyInt2 CI3) {} in qualifiedThroughTypedef4() argument
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | ConstantFold.cpp | 1007 if (ConstantInt *CI2 = dyn_cast<ConstantInt>(C2)) { in ConstantFoldBinaryInstruction() local 1017 if (CI2->isOne()) in ConstantFoldBinaryInstruction() 1022 if (CI2->isOne()) in ConstantFoldBinaryInstruction() 1024 if (CI2->isZero()) in ConstantFoldBinaryInstruction() 1029 if (CI2->isOne()) in ConstantFoldBinaryInstruction() 1031 if (CI2->isZero()) in ConstantFoldBinaryInstruction() 1036 if (CI2->isMinusOne()) in ConstantFoldBinaryInstruction() 1086 if ((CI2->getValue() & BitsNotSet) == CI2->getValue()) in ConstantFoldBinaryInstruction() 1094 if (CI2->isMinusOne()) in ConstantFoldBinaryInstruction() 1106 assert(CI2->isOne()); in ConstantFoldBinaryInstruction() [all …]
|
| /llvm-project-15.0.7/llvm/unittests/Analysis/ |
| H A D | ProfileSummaryInfoTest.cpp | 244 auto *CI2 = BB2->getFirstNonPHI(); in TEST_F() local 245 CallBase &CS2 = cast<CallBase>(*CI2); in TEST_F() 253 CI2->setMetadata(llvm::LLVMContext::MD_prof, MDB.createBranchWeights({400})); in TEST_F() 340 auto *CI2 = BB2->getFirstNonPHI(); in TEST_F() local 345 CI2->setMetadata(LLVMContext::MD_prof, MDB.createBranchWeights(Weights)); in TEST_F() 346 CallBase &CS2 = cast<CallBase>(*CI2); in TEST_F() 353 CI2->setMetadata(llvm::LLVMContext::MD_prof, MDB.createBranchWeights({400})); in TEST_F()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | LowerSwitch.cpp | 90 const ConstantInt *CI2 = cast<const ConstantInt>(C2.High); in operator ()() local 91 return CI1->getValue().slt(CI2->getValue()); in operator ()()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/ |
| H A D | SLPVectorizer.cpp | 5394 CallInst *CI2 = dyn_cast<CallInst>(V); in buildTree_rec() local 5395 if (!CI2 || CI2->getCalledFunction() != F || in buildTree_rec() 5411 Value *A1J = CI2->getArgOperand(j); in buildTree_rec() 5427 CI2->op_begin() + CI2->getBundleOperandsStartIndex())) { in buildTree_rec() 5448 auto *CI2 = cast<CallInst>(V); in buildTree_rec() local 5449 Operands.push_back(CI2->getArgOperand(i)); in buildTree_rec() 11915 auto *CI2 = cast<CmpInst>(V2); in compareCmp() local 11916 if (IsDeleted(CI2) || !isValidElementType(CI2->getType())) in compareCmp() 11919 CI2->getOperand(0)->getType()->getTypeID()) in compareCmp() 11922 CI2->getOperand(0)->getType()->getTypeID()) in compareCmp() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCasts.cpp | 253 const CastInst *CI2) { in isEliminableCastPair() argument 256 Type *DstTy = CI2->getDestTy(); in isEliminableCastPair() 259 Instruction::CastOps secondOp = CI2->getOpcode(); in isEliminableCastPair()
|
| H A D | InstCombineInternal.h | 345 const CastInst *CI2);
|
| H A D | InstCombineCompares.cpp | 1240 ConstantInt *CI2, ConstantInt *CI1, in processUGT_ADDCST_ADD() argument 1254 if (!CI2->getValue().isPowerOf2()) in processUGT_ADDCST_ADD() 1256 unsigned NewWidth = CI2->getValue().countTrailingZeros(); in processUGT_ADDCST_ADD() 1431 ConstantInt *CI, *CI2; // I = icmp ugt (add (add A, B), CI2), CI in foldICmpWithConstant() local 1433 match(Op0, m_Add(m_Add(m_Value(A), m_Value(B)), m_ConstantInt(CI2)))) in foldICmpWithConstant() 1434 if (Instruction *Res = processUGT_ADDCST_ADD(Cmp, A, B, CI2, CI, *this)) in foldICmpWithConstant()
|