Home
last modified time | relevance | path

Searched refs:isIntOrIntVectorTy (Results 1 – 25 of 111) sorted by relevance

12345

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DBDCE.cpp41 assert(I->getType()->isIntOrIntVectorTy() && in clearAssumptionsOfUsers()
51 if (J && J->getType()->isIntOrIntVectorTy() && in clearAssumptionsOfUsers()
82 if (K && Visited.insert(K).second && K->getType()->isIntOrIntVectorTy() && in clearAssumptionsOfUsers()
102 (I.getType()->isIntOrIntVectorTy() && in bitTrackingDCE()
114 if (!U->getType()->isIntOrIntVectorTy()) in bitTrackingDCE()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DBDCE.cpp45 assert(I->getType()->isIntOrIntVectorTy() && in clearAssumptionsOfUsers()
55 if (J && J->getType()->isIntOrIntVectorTy() && in clearAssumptionsOfUsers()
86 if (K && Visited.insert(K).second && K->getType()->isIntOrIntVectorTy() && in clearAssumptionsOfUsers()
106 (I.getType()->isIntOrIntVectorTy() && in bitTrackingDCE()
136 if (!U->getType()->isIntOrIntVectorTy()) in bitTrackingDCE()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DDemandedBits.cpp330 if (T->isIntOrIntVectorTy()) { in performAnalysis()
341 if (T->isIntOrIntVectorTy()) in performAnalysis()
361 if (UserI->getType()->isIntOrIntVectorTy()) { in performAnalysis()
385 if (T->isIntOrIntVectorTy()) { in performAnalysis()
441 if (!(*U)->getType()->isIntOrIntVectorTy()) in isUseDead()
455 if (UserI->getType()->isIntOrIntVectorTy()) { in isUseDead()
/external/llvm-project/llvm/lib/Analysis/
DDemandedBits.cpp353 if (T->isIntOrIntVectorTy()) { in performAnalysis()
364 if (T->isIntOrIntVectorTy()) in performAnalysis()
384 if (UserI->getType()->isIntOrIntVectorTy()) { in performAnalysis()
408 if (T->isIntOrIntVectorTy()) { in performAnalysis()
464 if (!(*U)->getType()->isIntOrIntVectorTy()) in isUseDead()
478 if (UserI->getType()->isIntOrIntVectorTy()) { in isUseDead()
/external/llvm-project/llvm/tools/llvm-stress/
Dllvm-stress.cpp425 case 0: if (Ty->isIntOrIntVectorTy()) in Act()
428 case 1: if (Ty->isIntOrIntVectorTy()) in Act()
579 if (VTy->isIntOrIntVectorTy() && DestTy->isIntOrIntVectorTy()) { in Act()
593 if (VTy->isFPOrFPVectorTy() && DestTy->isIntOrIntVectorTy()) { in Act()
601 if (VTy->isIntOrIntVectorTy() && DestTy->isFPOrFPVectorTy()) { in Act()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DConstants.cpp675 assert(Ty->isIntOrIntVectorTy(1) && "Type not i1 or vector of i1."); in getTrue()
683 assert(Ty->isIntOrIntVectorTy(1) && "Type not i1 or vector of i1."); in getFalse()
1688 assert((Ty->isIntOrIntVectorTy() || Ty->isPtrOrPtrVectorTy()) && in getPointerCast()
1691 if (Ty->isIntOrIntVectorTy()) in getPointerCast()
1713 assert(C->getType()->isIntOrIntVectorTy() && in getIntegerCast()
1714 Ty->isIntOrIntVectorTy() && "Invalid cast"); in getIntegerCast()
1742 assert(C->getType()->isIntOrIntVectorTy() && "Trunc operand must be integer"); in getTrunc()
1743 assert(Ty->isIntOrIntVectorTy() && "Trunc produces only integral"); in getTrunc()
1756 assert(C->getType()->isIntOrIntVectorTy() && "SExt operand must be integral"); in getSExt()
1757 assert(Ty->isIntOrIntVectorTy() && "SExt produces only integer"); in getSExt()
[all …]
DInstructions.cpp2273 assert(getType()->isIntOrIntVectorTy() && in AssertOK()
2288 assert(getType()->isIntOrIntVectorTy() && in AssertOK()
2301 assert(getType()->isIntOrIntVectorTy() && in AssertOK()
2315 assert(getType()->isIntOrIntVectorTy() && in AssertOK()
2322 assert(getType()->isIntOrIntVectorTy() && in AssertOK()
2708 SrcTy->isIntOrIntVectorTy() && in isEliminableCastPair()
2722 DstTy->isIntOrIntVectorTy() && in isEliminableCastPair()
2835 assert((Ty->isIntOrIntVectorTy() || Ty->isPtrOrPtrVectorTy()) && in CreatePointerCast()
2842 if (Ty->isIntOrIntVectorTy()) in CreatePointerCast()
2853 assert((Ty->isIntOrIntVectorTy() || Ty->isPtrOrPtrVectorTy()) && in CreatePointerCast()
[all …]
DVerifier.cpp2577 Assert(SrcTy->isIntOrIntVectorTy(), "Trunc only operates on integer", &I); in visitTruncInst()
2578 Assert(DestTy->isIntOrIntVectorTy(), "Trunc only produces integer", &I); in visitTruncInst()
2592 Assert(SrcTy->isIntOrIntVectorTy(), "ZExt only operates on integer", &I); in visitZExtInst()
2593 Assert(DestTy->isIntOrIntVectorTy(), "ZExt only produces an integer", &I); in visitZExtInst()
2613 Assert(SrcTy->isIntOrIntVectorTy(), "SExt only operates on integer", &I); in visitSExtInst()
2614 Assert(DestTy->isIntOrIntVectorTy(), "SExt only produces an integer", &I); in visitSExtInst()
2667 Assert(SrcTy->isIntOrIntVectorTy(), in visitUIToFPInst()
2690 Assert(SrcTy->isIntOrIntVectorTy(), in visitSIToFPInst()
2715 Assert(DestTy->isIntOrIntVectorTy(), in visitFPToUIInst()
2738 Assert(DestTy->isIntOrIntVectorTy(), in visitFPToSIInst()
[all …]
/external/llvm/lib/IR/
DConstants.cpp1516 assert((Ty->isIntOrIntVectorTy() || Ty->isPtrOrPtrVectorTy()) && in getPointerCast()
1519 if (Ty->isIntOrIntVectorTy()) in getPointerCast()
1541 assert(C->getType()->isIntOrIntVectorTy() && in getIntegerCast()
1542 Ty->isIntOrIntVectorTy() && "Invalid cast"); in getIntegerCast()
1570 assert(C->getType()->isIntOrIntVectorTy() && "Trunc operand must be integer"); in getTrunc()
1571 assert(Ty->isIntOrIntVectorTy() && "Trunc produces only integral"); in getTrunc()
1584 assert(C->getType()->isIntOrIntVectorTy() && "SExt operand must be integral"); in getSExt()
1585 assert(Ty->isIntOrIntVectorTy() && "SExt produces only integer"); in getSExt()
1598 assert(C->getType()->isIntOrIntVectorTy() && "ZEXt operand must be integral"); in getZExt()
1599 assert(Ty->isIntOrIntVectorTy() && "ZExt produces only integer"); in getZExt()
[all …]
DInstructions.cpp2077 assert(getType()->isIntOrIntVectorTy() && in init()
2615 SrcTy->isIntOrIntVectorTy() && in isEliminableCastPair()
2629 DstTy->isIntOrIntVectorTy() && in isEliminableCastPair()
2742 assert((Ty->isIntOrIntVectorTy() || Ty->isPtrOrPtrVectorTy()) && in CreatePointerCast()
2749 if (Ty->isIntOrIntVectorTy()) in CreatePointerCast()
2760 assert((Ty->isIntOrIntVectorTy() || Ty->isPtrOrPtrVectorTy()) && in CreatePointerCast()
2767 if (Ty->isIntOrIntVectorTy()) in CreatePointerCast()
2813 assert(C->getType()->isIntOrIntVectorTy() && Ty->isIntOrIntVectorTy() && in CreateIntegerCast()
2827 assert(C->getType()->isIntOrIntVectorTy() && Ty->isIntOrIntVectorTy() && in CreateIntegerCast()
3109 return SrcTy->isIntOrIntVectorTy() && DstTy->isIntOrIntVectorTy() && in castIsValid()
[all …]
DVerifier.cpp2233 Assert(SrcTy->isIntOrIntVectorTy(), "Trunc only operates on integer", &I); in visitTruncInst()
2234 Assert(DestTy->isIntOrIntVectorTy(), "Trunc only produces integer", &I); in visitTruncInst()
2248 Assert(SrcTy->isIntOrIntVectorTy(), "ZExt only operates on integer", &I); in visitZExtInst()
2249 Assert(DestTy->isIntOrIntVectorTy(), "ZExt only produces an integer", &I); in visitZExtInst()
2269 Assert(SrcTy->isIntOrIntVectorTy(), "SExt only operates on integer", &I); in visitSExtInst()
2270 Assert(DestTy->isIntOrIntVectorTy(), "SExt only produces an integer", &I); in visitSExtInst()
2323 Assert(SrcTy->isIntOrIntVectorTy(), in visitUIToFPInst()
2346 Assert(SrcTy->isIntOrIntVectorTy(), in visitSIToFPInst()
2371 Assert(DestTy->isIntOrIntVectorTy(), in visitFPToUIInst()
2394 Assert(DestTy->isIntOrIntVectorTy(), in visitFPToSIInst()
[all …]
/external/llvm-project/llvm/lib/IR/
DConstants.cpp819 assert(Ty->isIntOrIntVectorTy(1) && "Type not i1 or vector of i1."); in getTrue()
827 assert(Ty->isIntOrIntVectorTy(1) && "Type not i1 or vector of i1."); in getFalse()
1965 assert((Ty->isIntOrIntVectorTy() || Ty->isPtrOrPtrVectorTy()) && in getPointerCast()
1968 if (Ty->isIntOrIntVectorTy()) in getPointerCast()
1990 assert(C->getType()->isIntOrIntVectorTy() && in getIntegerCast()
1991 Ty->isIntOrIntVectorTy() && "Invalid cast"); in getIntegerCast()
2019 assert(C->getType()->isIntOrIntVectorTy() && "Trunc operand must be integer"); in getTrunc()
2020 assert(Ty->isIntOrIntVectorTy() && "Trunc produces only integral"); in getTrunc()
2033 assert(C->getType()->isIntOrIntVectorTy() && "SExt operand must be integral"); in getSExt()
2034 assert(Ty->isIntOrIntVectorTy() && "SExt produces only integer"); in getSExt()
[all …]
DInstructions.cpp1703 if (!Idx->getType()->isIntOrIntVectorTy()) in getTypeAtIndex()
2472 assert(getType()->isIntOrIntVectorTy() && in AssertOK()
2487 assert(getType()->isIntOrIntVectorTy() && in AssertOK()
2500 assert(getType()->isIntOrIntVectorTy() && in AssertOK()
2514 assert(getType()->isIntOrIntVectorTy() && in AssertOK()
2521 assert(getType()->isIntOrIntVectorTy() && in AssertOK()
2894 SrcTy->isIntOrIntVectorTy() && in isEliminableCastPair()
2908 DstTy->isIntOrIntVectorTy() && in isEliminableCastPair()
3021 assert((Ty->isIntOrIntVectorTy() || Ty->isPtrOrPtrVectorTy()) && in CreatePointerCast()
3029 if (Ty->isIntOrIntVectorTy()) in CreatePointerCast()
[all …]
DVerifier.cpp2719 Assert(SrcTy->isIntOrIntVectorTy(), "Trunc only operates on integer", &I); in visitTruncInst()
2720 Assert(DestTy->isIntOrIntVectorTy(), "Trunc only produces integer", &I); in visitTruncInst()
2734 Assert(SrcTy->isIntOrIntVectorTy(), "ZExt only operates on integer", &I); in visitZExtInst()
2735 Assert(DestTy->isIntOrIntVectorTy(), "ZExt only produces an integer", &I); in visitZExtInst()
2755 Assert(SrcTy->isIntOrIntVectorTy(), "SExt only operates on integer", &I); in visitSExtInst()
2756 Assert(DestTy->isIntOrIntVectorTy(), "SExt only produces an integer", &I); in visitSExtInst()
2809 Assert(SrcTy->isIntOrIntVectorTy(), in visitUIToFPInst()
2832 Assert(SrcTy->isIntOrIntVectorTy(), in visitSIToFPInst()
2857 Assert(DestTy->isIntOrIntVectorTy(), in visitFPToUIInst()
2880 Assert(DestTy->isIntOrIntVectorTy(), in visitFPToSIInst()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DDerivedTypes.h478 assert(VTy->isIntOrIntVectorTy() && "VTy expected to be a vector of ints."); in getExtendedElementVectorType()
617 isIntOrIntVectorTy() && in getExtendedType()
627 isIntOrIntVectorTy() && in getWithNewBitWidth()
DType.h203 bool isIntOrIntVectorTy() const { return getScalarType()->isIntegerTy(); } in isIntOrIntVectorTy() function
207 bool isIntOrIntVectorTy(unsigned BitWidth) const { in isIntOrIntVectorTy() function
/external/llvm-project/clang/lib/CodeGen/
DPatternInit.cpp36 if (Ty->isIntOrIntVectorTy()) { in initializationPatternFor()
/external/llvm-project/llvm/include/llvm/IR/
DType.h204 bool isIntOrIntVectorTy() const { return getScalarType()->isIntegerTy(); } in isIntOrIntVectorTy() function
208 bool isIntOrIntVectorTy(unsigned BitWidth) const { in isIntOrIntVectorTy() function
DDerivedTypes.h464 assert(VTy->isIntOrIntVectorTy() && "VTy expected to be a vector of ints."); in getExtendedElementVectorType()
699 isIntOrIntVectorTy() && in getExtendedType()
709 isIntOrIntVectorTy() && in getWithNewBitWidth()
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp298 if (I.getType()->isIntOrIntVectorTy(1)) in visitMul()
328 X->getType()->isIntOrIntVectorTy(1) && X->getType() == Y->getType() && in visitMul()
338 X->getType()->isIntOrIntVectorTy(1) && X->getType() == Y->getType() && in visitMul()
346 if (match(Op0, m_ZExt(m_Value(X))) && X->getType()->isIntOrIntVectorTy(1)) in visitMul()
348 if (match(Op1, m_ZExt(m_Value(X))) && X->getType()->isIntOrIntVectorTy(1)) in visitMul()
792 assert(!Ty->isIntOrIntVectorTy(1) && "i1 divide not removed?"); in commonIDivTransforms()
1024 if (match(Op1, m_SExt(m_Value(X))) && X->getType()->isIntOrIntVectorTy(1)) { in visitUDiv()
1099 (match(Op1, m_SExt(m_Value(X))) && X->getType()->isIntOrIntVectorTy(1))) in visitSDiv()
1449 if (match(Op1, m_SExt(m_Value(X))) && X->getType()->isIntOrIntVectorTy(1)) { in visitURem()
DInstCombineNegator.cpp139 if (V->getType()->isIntOrIntVectorTy(1)) in visitImpl()
211 if (I->getOperand(0)->getType()->isIntOrIntVectorTy(1)) in visitImpl()
DInstCombineAndOrXor.cpp1536 if (!SrcTy->isIntOrIntVectorTy()) in foldCastedBitwiseLogic()
1956 A->getType()->isIntOrIntVectorTy(1)) in visitAnd()
1959 A->getType()->isIntOrIntVectorTy(1)) in visitAnd()
2202 if (!Ty->isIntOrIntVectorTy() || !B->getType()->isIntOrIntVectorTy()) in getSelectCondition()
2212 if (Ty->isIntOrIntVectorTy(1)) in getSelectCondition()
2228 Cond->getType()->isIntOrIntVectorTy(1) && in getSelectCondition()
2245 Cond->getType()->isIntOrIntVectorTy(1) && in getSelectCondition()
2378 if (A && B && B->getType()->isIntOrIntVectorTy()) in foldOrOfICmps()
2414 LHS0->getType()->isIntOrIntVectorTy() && in foldOrOfICmps()
2774 A->getType()->isIntOrIntVectorTy(1)) in visitOr()
[all …]
/external/mesa3d/src/gallium/frontends/clover/llvm/
Dmetadata.hpp112 if (type->isIntOrIntVectorTy()) { in get_type_kernel_metadata()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp332 if (I.getType()->isIntOrIntVectorTy(1)) in visitMul()
359 if (match(Op0, m_ZExt(m_Value(X))) && X->getType()->isIntOrIntVectorTy(1)) in visitMul()
361 if (match(Op1, m_ZExt(m_Value(X))) && X->getType()->isIntOrIntVectorTy(1)) in visitMul()
765 assert(!Ty->isIntOrIntVectorTy(1) && "i1 divide not removed?"); in commonIDivTransforms()
991 if (match(Op1, m_SExt(m_Value(X))) && X->getType()->isIntOrIntVectorTy(1)) { in visitUDiv()
1065 (match(Op1, m_SExt(m_Value(X))) && X->getType()->isIntOrIntVectorTy(1))) in visitSDiv()
1396 if (match(Op1, m_SExt(m_Value(X))) && X->getType()->isIntOrIntVectorTy(1)) { in visitURem()
/external/llvm/lib/Transforms/Scalar/
DReassociate.cpp219 if (S1->getType()->isIntOrIntVectorTy()) in CreateAdd()
231 if (S1->getType()->isIntOrIntVectorTy()) in CreateMul()
243 if (S1->getType()->isIntOrIntVectorTy()) in CreateNeg()
255 Constant *NegOne = Ty->isIntOrIntVectorTy() ? in LowerNegateToMultiply()
1416 Constant *C = Ty->isIntOrIntVectorTy() ? in OptimizeAdd()
1557 I->getType()->isIntOrIntVectorTy() in OptimizeAdd()
1691 if (LHS->getType()->isIntOrIntVectorTy()) in buildMultiplyTree()

12345