| /llvm-project-15.0.7/clang/test/CodeGenCXX/ |
| H A D | builtins-systemz-zvector.cpp | 14 constexpr vector int CI1 = (vector int)0LL; in testInts() local 16 gb = (VI == CI1)[0]; in testInts() 34 constexpr vector double CI1 = (vector double)0LL; in testFloats() local 36 gb = (VD == CI1)[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 | 1127 if (ConstantInt *CI1 = dyn_cast<ConstantInt>(C1)) { in ConstantFoldBinaryInstruction() local 1129 const APInt &C1V = CI1->getValue(); in ConstantFoldBinaryInstruction() 1135 return ConstantInt::get(CI1->getContext(), C1V + C2V); in ConstantFoldBinaryInstruction() 1137 return ConstantInt::get(CI1->getContext(), C1V - C2V); in ConstantFoldBinaryInstruction() 1139 return ConstantInt::get(CI1->getContext(), C1V * C2V); in ConstantFoldBinaryInstruction() 1142 return ConstantInt::get(CI1->getContext(), C1V.udiv(C2V)); in ConstantFoldBinaryInstruction() 1147 return ConstantInt::get(CI1->getContext(), C1V.sdiv(C2V)); in ConstantFoldBinaryInstruction() 1157 return ConstantInt::get(CI1->getContext(), C1V & C2V); in ConstantFoldBinaryInstruction() 1159 return ConstantInt::get(CI1->getContext(), C1V | C2V); in ConstantFoldBinaryInstruction() 1161 return ConstantInt::get(CI1->getContext(), C1V ^ C2V); in ConstantFoldBinaryInstruction() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | LowerSwitch.cpp | 89 const ConstantInt *CI1 = cast<const ConstantInt>(C1.Low); in operator ()() local 91 return CI1->getValue().slt(CI2->getValue()); in operator ()()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCasts.cpp | 252 InstCombinerImpl::isEliminableCastPair(const CastInst *CI1, in isEliminableCastPair() argument 254 Type *SrcTy = CI1->getSrcTy(); in isEliminableCastPair() 255 Type *MidTy = CI1->getDestTy(); in isEliminableCastPair() 258 Instruction::CastOps firstOp = CI1->getOpcode(); in isEliminableCastPair()
|
| H A D | InstCombineInternal.h | 344 Instruction::CastOps isEliminableCastPair(const CastInst *CI1,
|
| H A D | InstCombineCompares.cpp | 1240 ConstantInt *CI2, ConstantInt *CI1, in processUGT_ADDCST_ADD() argument 1264 if (CI1->getBitWidth() == NewWidth || in processUGT_ADDCST_ADD() 1265 CI1->getValue() != APInt::getLowBitsSet(CI1->getBitWidth(), NewWidth)) in processUGT_ADDCST_ADD()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/ |
| H A D | SLPVectorizer.cpp | 11914 auto *CI1 = cast<CmpInst>(V); in compareCmp() local 11918 if (CI1->getOperand(0)->getType()->getTypeID() < in compareCmp() 11921 if (CI1->getOperand(0)->getType()->getTypeID() > in compareCmp() 11924 CmpInst::Predicate Pred1 = CI1->getPredicate(); in compareCmp() 11937 for (int I = 0, E = CI1->getNumOperands(); I < E; ++I) { in compareCmp() 11938 auto *Op1 = CI1->getOperand(LEPreds ? I : E - I - 1); in compareCmp()
|