Home
last modified time | relevance | path

Searched refs:CI2 (Results 1 – 24 of 24) sorted by relevance

/external/clang/test/CodeGenCXX/
Dbuiltins-systemz-zvector.cpp19 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()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/
DProfileSummaryInfoTest.cpp165 auto *CI2 = BB2->getFirstNonPHI(); in TEST_F() local
166 CallSite CS2(CI2); in TEST_F()
174 CI2->setMetadata(llvm::LLVMContext::MD_prof, MDB.createBranchWeights({400})); in TEST_F()
197 auto *CI2 = BB2->getFirstNonPHI(); in TEST_F() local
202 CI2->setMetadata(LLVMContext::MD_prof, MDB.createBranchWeights(Weights)); in TEST_F()
203 CallSite CS2(CI2); in TEST_F()
210 CI2->setMetadata(llvm::LLVMContext::MD_prof, MDB.createBranchWeights({400})); in TEST_F()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DConstantFold.cpp1032 if (ConstantInt *CI2 = dyn_cast<ConstantInt>(C2)) { in ConstantFoldBinaryInstruction() local
1035 if (CI2->isZero()) return C1; // X + 0 == X in ConstantFoldBinaryInstruction()
1038 if (CI2->isZero()) return C1; // X - 0 == X in ConstantFoldBinaryInstruction()
1041 if (CI2->isZero()) return C2; // X * 0 == 0 in ConstantFoldBinaryInstruction()
1042 if (CI2->isOne()) in ConstantFoldBinaryInstruction()
1047 if (CI2->isOne()) in ConstantFoldBinaryInstruction()
1049 if (CI2->isZero()) in ConstantFoldBinaryInstruction()
1050 return UndefValue::get(CI2->getType()); // X / 0 == undef in ConstantFoldBinaryInstruction()
1054 if (CI2->isOne()) in ConstantFoldBinaryInstruction()
1055 return Constant::getNullValue(CI2->getType()); // X % 1 == 0 in ConstantFoldBinaryInstruction()
[all …]
/external/llvm/lib/IR/
DConstantFold.cpp1019 if (ConstantInt *CI2 = dyn_cast<ConstantInt>(C2)) { in ConstantFoldBinaryInstruction() local
1022 if (CI2->equalsInt(0)) return C1; // X + 0 == X in ConstantFoldBinaryInstruction()
1025 if (CI2->equalsInt(0)) return C1; // X - 0 == X in ConstantFoldBinaryInstruction()
1028 if (CI2->equalsInt(0)) return C2; // X * 0 == 0 in ConstantFoldBinaryInstruction()
1029 if (CI2->equalsInt(1)) in ConstantFoldBinaryInstruction()
1034 if (CI2->equalsInt(1)) in ConstantFoldBinaryInstruction()
1036 if (CI2->equalsInt(0)) in ConstantFoldBinaryInstruction()
1037 return UndefValue::get(CI2->getType()); // X / 0 == undef in ConstantFoldBinaryInstruction()
1041 if (CI2->equalsInt(1)) in ConstantFoldBinaryInstruction()
1042 return Constant::getNullValue(CI2->getType()); // X % 1 == 0 in ConstantFoldBinaryInstruction()
[all …]
/external/llvm/lib/Analysis/
DInstructionSimplify.cpp1503 ConstantInt *CI1, *CI2; in SimplifyAndOfICmps() local
1522 m_ConstantInt(CI2)))) in SimplifyAndOfICmps()
1533 const APInt &CI2V = CI2->getValue(); in SimplifyAndOfICmps()
1687 ConstantInt *CI1, *CI2; in SimplifyOrOfICmps() local
1694 m_ConstantInt(CI2)))) in SimplifyOrOfICmps()
1707 const APInt &CI2V = CI2->getValue(); in SimplifyOrOfICmps()
2305 ConstantInt *CI2; in SimplifyICmpInst() local
2306 if (match(LHS, m_URem(m_Value(), m_ConstantInt(CI2)))) { in SimplifyICmpInst()
2308 Upper = CI2->getValue(); in SimplifyICmpInst()
2309 } else if (match(LHS, m_SRem(m_Value(), m_ConstantInt(CI2)))) { in SimplifyICmpInst()
[all …]
DValueTracking.cpp3847 if (auto *CI2 = dyn_cast<CastInst>(V2)) { in lookThroughCast() local
3850 if (CI2->getOpcode() == CI->getOpcode() && in lookThroughCast()
3851 CI2->getSrcTy() == CI->getSrcTy()) in lookThroughCast()
3852 return CI2->getOperand(0); in lookThroughCast()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DConstantFold.cpp1038 if (ConstantInt *CI2 = dyn_cast<ConstantInt>(C2)) in ConstantFoldBinaryInstruction() local
1039 if (CI2->isOne()) in ConstantFoldBinaryInstruction()
1072 if (ConstantInt *CI2 = dyn_cast<ConstantInt>(C2)) { in ConstantFoldBinaryInstruction() local
1075 if (CI2->equalsInt(0)) return C1; // X + 0 == X in ConstantFoldBinaryInstruction()
1078 if (CI2->equalsInt(0)) return C1; // X - 0 == X in ConstantFoldBinaryInstruction()
1081 if (CI2->equalsInt(0)) return C2; // X * 0 == 0 in ConstantFoldBinaryInstruction()
1082 if (CI2->equalsInt(1)) in ConstantFoldBinaryInstruction()
1087 if (CI2->equalsInt(1)) in ConstantFoldBinaryInstruction()
1089 if (CI2->equalsInt(0)) in ConstantFoldBinaryInstruction()
1090 return UndefValue::get(CI2->getType()); // X / 0 == undef in ConstantFoldBinaryInstruction()
[all …]
/external/swiftshader/third_party/LLVM/lib/Analysis/
DInstructionSimplify.cpp1559 ConstantInt *CI2; in SimplifyICmpInst() local
1560 if (match(LHS, m_URem(m_Value(), m_ConstantInt(CI2)))) { in SimplifyICmpInst()
1562 Upper = CI2->getValue(); in SimplifyICmpInst()
1563 } else if (match(LHS, m_SRem(m_Value(), m_ConstantInt(CI2)))) { in SimplifyICmpInst()
1565 Upper = CI2->getValue().abs(); in SimplifyICmpInst()
1567 } else if (match(LHS, m_UDiv(m_Value(), m_ConstantInt(CI2)))) { in SimplifyICmpInst()
1570 if (!CI2->isZero()) in SimplifyICmpInst()
1571 Upper = NegOne.udiv(CI2->getValue()) + 1; in SimplifyICmpInst()
1572 } else if (match(LHS, m_SDiv(m_Value(), m_ConstantInt(CI2)))) { in SimplifyICmpInst()
1576 APInt Val = CI2->getValue().abs(); in SimplifyICmpInst()
[all …]
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp1432 ConstantInt *CI2) { in FoldICmpCstShrCst() argument
1448 const APInt &AP2 = CI2->getValue(); in FoldICmpCstShrCst()
1496 ConstantInt *CI2) { in FoldICmpCstShlCst() argument
1512 const APInt &AP2 = CI2->getValue(); in FoldICmpCstShlCst()
2496 ConstantInt *CI2, ConstantInt *CI1, in ProcessUGT_ADDCST_ADD() argument
2509 if (!CI2->getValue().isPowerOf2()) return nullptr; in ProcessUGT_ADDCST_ADD()
2510 unsigned NewWidth = CI2->getValue().countTrailingZeros(); in ProcessUGT_ADDCST_ADD()
3262 ConstantInt *CI2; // I = icmp ugt (add (add A, B), CI2), CI in visitICmpInst() local
3264 match(Op0, m_Add(m_Add(m_Value(A), m_Value(B)), m_ConstantInt(CI2)))) in visitICmpInst()
3265 if (Instruction *Res = ProcessUGT_ADDCST_ADD(I, A, B, CI2, CI, *this)) in visitICmpInst()
[all …]
DInstCombineInternal.h280 ConstantInt *CI1, ConstantInt *CI2);
282 ConstantInt *CI1, ConstantInt *CI2);
DInstCombineAndOrXor.cpp2076 ConstantInt *CI2 = nullptr; in FoldOrWithConstants() local
2077 if (!match(Op, m_And(m_Value(V1), m_ConstantInt(CI2)))) return nullptr; in FoldOrWithConstants()
2079 APInt Xor = CI1->getValue() ^ CI2->getValue(); in FoldOrWithConstants()
2106 ConstantInt *CI2 = nullptr; in FoldXorWithConstants() local
2107 if (!match(Op, m_And(m_Value(V1), m_ConstantInt(CI2)))) in FoldXorWithConstants()
2110 APInt Xor = CI1->getValue() ^ CI2->getValue(); in FoldXorWithConstants()
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DLowerSwitch.cpp77 const ConstantInt* CI2 = cast<const ConstantInt>(C2.High); in operator ()() local
78 return CI1->getValue().slt(CI2->getValue()); in operator ()()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DLowerSwitch.cpp112 const ConstantInt* CI2 = cast<const ConstantInt>(C2.High); in operator ()() local
113 return CI1->getValue().slt(CI2->getValue()); in operator ()()
/external/llvm/lib/Transforms/Utils/
DLowerSwitch.cpp93 const ConstantInt* CI2 = cast<const ConstantInt>(C2.High); in operator ()() local
94 return CI1->getValue().slt(CI2->getValue()); in operator ()()
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.h189 const ConstantInt* CI2 = cast<const ConstantInt>(C2.High); in operator() local
190 return CI1->getValue().slt(CI2->getValue()); in operator()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineCompares.cpp1635 ConstantInt *CI2, ConstantInt *CI1, in ProcessUGT_ADDCST_ADD() argument
1648 if (!CI2->getValue().isPowerOf2()) return 0; in ProcessUGT_ADDCST_ADD()
1649 unsigned NewWidth = CI2->getValue().countTrailingZeros(); in ProcessUGT_ADDCST_ADD()
1859 ConstantInt *CI2; // I = icmp ugt (add (add A, B), CI2), CI in visitICmpInst() local
1861 match(Op0, m_Add(m_Add(m_Value(A), m_Value(B)), m_ConstantInt(CI2)))) in visitICmpInst()
1862 if (Instruction *Res = ProcessUGT_ADDCST_ADD(I, A, B, CI2, CI, *this)) in visitICmpInst()
2239 if (BitCastInst *CI2 = dyn_cast<BitCastInst>(Op1)) in visitICmpInst() local
2240 Op1 = CI2->getOperand(0); in visitICmpInst()
DInstCombineAndOrXor.cpp1739 ConstantInt *CI2 = 0; in FoldOrWithConstants() local
1740 if (!match(Op, m_And(m_Value(V1), m_ConstantInt(CI2)))) return 0; in FoldOrWithConstants()
1742 APInt Xor = CI1->getValue() ^ CI2->getValue(); in FoldOrWithConstants()
/external/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp1373 CallInst *CI2 = dyn_cast<CallInst>(VL[i]); in buildTree_rec() local
1374 if (!CI2 || CI2->getCalledFunction() != Int || in buildTree_rec()
1375 getVectorIntrinsicIDForCall(CI2, TLI) != ID || in buildTree_rec()
1376 !CI->hasIdenticalOperandBundleSchema(*CI2)) { in buildTree_rec()
1386 Value *A1J = CI2->getArgOperand(1); in buildTree_rec()
1400 CI2->op_begin() + CI2->getBundleOperandsStartIndex())) { in buildTree_rec()
1414 CallInst *CI2 = dyn_cast<CallInst>(j); in buildTree_rec() local
1415 Operands.push_back(CI2->getArgOperand(i)); in buildTree_rec()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp1236 ConstantInt *CI2, ConstantInt *CI1, in processUGT_ADDCST_ADD() argument
1250 if (!CI2->getValue().isPowerOf2()) in processUGT_ADDCST_ADD()
1252 unsigned NewWidth = CI2->getValue().countTrailingZeros(); in processUGT_ADDCST_ADD()
1359 ConstantInt *CI2; // I = icmp ugt (add (add A, B), CI2), CI in foldICmpWithConstant() local
1361 match(X, m_Add(m_Add(m_Value(A), m_Value(B)), m_ConstantInt(CI2)))) in foldICmpWithConstant()
1363 Cmp, A, B, CI2, cast<ConstantInt>(Cmp.getOperand(1)), *this)) in foldICmpWithConstant()
1378 ConstantInt *CI2; in foldICmpWithConstant() local
1379 if (BI && match(BI, m_Br(m_ICmp(Pred2, m_Specific(X), m_ConstantInt(CI2)), in foldICmpWithConstant()
1386 ? ConstantRange::makeExactICmpRegion(Pred2, CI2->getValue()) in foldICmpWithConstant()
1388 CmpInst::getInversePredicate(Pred2), CI2->getValue()); in foldICmpWithConstant()
[all …]
DInstCombineCasts.cpp234 const CastInst *CI2) { in isEliminableCastPair() argument
237 Type *DstTy = CI2->getDestTy(); in isEliminableCastPair()
240 Instruction::CastOps secondOp = CI2->getOpcode(); in isEliminableCastPair()
DInstCombineInternal.h543 const CastInst *CI2);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp1867 CallInst *CI2 = dyn_cast<CallInst>(VL[i]); in buildTree_rec() local
1868 if (!CI2 || CI2->getCalledFunction() != Int || in buildTree_rec()
1869 getVectorIntrinsicIDForCall(CI2, TLI) != ID || in buildTree_rec()
1870 !CI->hasIdenticalOperandBundleSchema(*CI2)) { in buildTree_rec()
1880 Value *A1J = CI2->getArgOperand(1); in buildTree_rec()
1893 CI2->op_begin() + CI2->getBundleOperandsStartIndex())) { in buildTree_rec()
1907 CallInst *CI2 = dyn_cast<CallInst>(j); in buildTree_rec() local
1908 Operands.push_back(CI2->getArgOperand(i)); in buildTree_rec()
/external/cldr/tools/java/org/unicode/cldr/util/data/external/
D2013-1_UNLOCODE_CodeListPart2.csv11906 "+","IT","CI2","Cingoli","Cingoli","MC","--3-----","RL","1301",,"4322N 01313E",
D2013-1_UNLOCODE_CodeListPart3.csv12588 ,"US","CI2","Cincinnati","Cincinnati","KY","--3-----","RQ","0607",,,