/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/ |
D | Constants.cpp | 592 assert(Ty->isIntOrIntVectorTy(1) && "Type not i1 or vector of i1."); in getTrue() 600 assert(Ty->isIntOrIntVectorTy(1) && "Type not i1 or vector of i1."); in getFalse() 1566 assert((Ty->isIntOrIntVectorTy() || Ty->isPtrOrPtrVectorTy()) && in getPointerCast() 1569 if (Ty->isIntOrIntVectorTy()) in getPointerCast() 1591 assert(C->getType()->isIntOrIntVectorTy() && in getIntegerCast() 1592 Ty->isIntOrIntVectorTy() && "Invalid cast"); in getIntegerCast() 1620 assert(C->getType()->isIntOrIntVectorTy() && "Trunc operand must be integer"); in getTrunc() 1621 assert(Ty->isIntOrIntVectorTy() && "Trunc produces only integral"); in getTrunc() 1634 assert(C->getType()->isIntOrIntVectorTy() && "SExt operand must be integral"); in getSExt() 1635 assert(Ty->isIntOrIntVectorTy() && "SExt produces only integer"); in getSExt() [all …]
|
D | Instructions.cpp | 1930 assert(getType()->isIntOrIntVectorTy() && in AssertOK() 1945 assert(getType()->isIntOrIntVectorTy() && in AssertOK() 1958 assert(getType()->isIntOrIntVectorTy() && in AssertOK() 1972 assert(getType()->isIntOrIntVectorTy() && in AssertOK() 1979 assert(getType()->isIntOrIntVectorTy() && in AssertOK() 2430 SrcTy->isIntOrIntVectorTy() && in isEliminableCastPair() 2444 DstTy->isIntOrIntVectorTy() && in isEliminableCastPair() 2557 assert((Ty->isIntOrIntVectorTy() || Ty->isPtrOrPtrVectorTy()) && in CreatePointerCast() 2564 if (Ty->isIntOrIntVectorTy()) in CreatePointerCast() 2575 assert((Ty->isIntOrIntVectorTy() || Ty->isPtrOrPtrVectorTy()) && in CreatePointerCast() [all …]
|
D | Verifier.cpp | 2428 Assert(SrcTy->isIntOrIntVectorTy(), "Trunc only operates on integer", &I); in visitTruncInst() 2429 Assert(DestTy->isIntOrIntVectorTy(), "Trunc only produces integer", &I); in visitTruncInst() 2443 Assert(SrcTy->isIntOrIntVectorTy(), "ZExt only operates on integer", &I); in visitZExtInst() 2444 Assert(DestTy->isIntOrIntVectorTy(), "ZExt only produces an integer", &I); in visitZExtInst() 2464 Assert(SrcTy->isIntOrIntVectorTy(), "SExt only operates on integer", &I); in visitSExtInst() 2465 Assert(DestTy->isIntOrIntVectorTy(), "SExt only produces an integer", &I); in visitSExtInst() 2518 Assert(SrcTy->isIntOrIntVectorTy(), in visitUIToFPInst() 2541 Assert(SrcTy->isIntOrIntVectorTy(), in visitSIToFPInst() 2566 Assert(DestTy->isIntOrIntVectorTy(), in visitFPToUIInst() 2589 Assert(DestTy->isIntOrIntVectorTy(), in visitFPToSIInst() [all …]
|
D | Type.cpp | 541 if (!V->getType()->isIntOrIntVectorTy(32)) in indexValid() 551 return V->getType()->isIntOrIntVectorTy(); in indexValid()
|
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
D | Constants.cpp | 1285 assert(C->getType()->isIntOrIntVectorTy() && in getIntegerCast() 1286 Ty->isIntOrIntVectorTy() && "Invalid cast"); in getIntegerCast() 1314 assert(C->getType()->isIntOrIntVectorTy() && "Trunc operand must be integer"); in getTrunc() 1315 assert(Ty->isIntOrIntVectorTy() && "Trunc produces only integral"); in getTrunc() 1328 assert(C->getType()->isIntOrIntVectorTy() && "SExt operand must be integral"); in getSExt() 1329 assert(Ty->isIntOrIntVectorTy() && "SExt produces only integer"); in getSExt() 1342 assert(C->getType()->isIntOrIntVectorTy() && "ZEXt operand must be integral"); in getZExt() 1343 assert(Ty->isIntOrIntVectorTy() && "ZExt produces only integer"); in getZExt() 1380 assert(C->getType()->isIntOrIntVectorTy() && Ty->isFPOrFPVectorTy() && in getUIToFP() 1391 assert(C->getType()->isIntOrIntVectorTy() && Ty->isFPOrFPVectorTy() && in getSIToFP() [all …]
|
D | Verifier.cpp | 861 Assert1(SrcTy->isIntOrIntVectorTy(), "Trunc only operates on integer", &I); in visitTruncInst() 862 Assert1(DestTy->isIntOrIntVectorTy(), "Trunc only produces integer", &I); in visitTruncInst() 876 Assert1(SrcTy->isIntOrIntVectorTy(), "ZExt only operates on integer", &I); in visitZExtInst() 877 Assert1(DestTy->isIntOrIntVectorTy(), "ZExt only produces an integer", &I); in visitZExtInst() 897 Assert1(SrcTy->isIntOrIntVectorTy(), "SExt only operates on integer", &I); in visitSExtInst() 898 Assert1(DestTy->isIntOrIntVectorTy(), "SExt only produces an integer", &I); in visitSExtInst() 951 Assert1(SrcTy->isIntOrIntVectorTy(), in visitUIToFPInst() 974 Assert1(SrcTy->isIntOrIntVectorTy(), in visitSIToFPInst() 999 Assert1(DestTy->isIntOrIntVectorTy(), in visitFPToUIInst() 1022 Assert1(DestTy->isIntOrIntVectorTy(), in visitFPToSIInst() [all …]
|
D | Instructions.cpp | 1728 assert(getType()->isIntOrIntVectorTy() && in init() 2370 assert(C->getType()->isIntOrIntVectorTy() && Ty->isIntOrIntVectorTy() && in CreateIntegerCast() 2384 assert(C->getType()->isIntOrIntVectorTy() && Ty->isIntOrIntVectorTy() && in CreateIntegerCast() 2625 return SrcTy->isIntOrIntVectorTy() && DstTy->isIntOrIntVectorTy() && in castIsValid() 2628 return SrcTy->isIntOrIntVectorTy() && DstTy->isIntOrIntVectorTy() && in castIsValid() 2631 return SrcTy->isIntOrIntVectorTy() && DstTy->isIntOrIntVectorTy() && in castIsValid() 2641 return SrcTy->isIntOrIntVectorTy() && DstTy->isFPOrFPVectorTy() && in castIsValid() 2645 return SrcTy->isFPOrFPVectorTy() && DstTy->isIntOrIntVectorTy() && in castIsValid()
|
D | ValueTypes.cpp | 50 return LLVMTy->isIntOrIntVectorTy(); in isExtendedInteger()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-stress/ |
D | llvm-stress.cpp | 425 case 0: if (Ty->isIntOrIntVectorTy()) in Act() 428 case 1: if (Ty->isIntOrIntVectorTy()) in Act() 573 if (VTy->isIntOrIntVectorTy() && DestTy->isIntOrIntVectorTy()) { in Act() 587 if (VTy->isFPOrFPVectorTy() && DestTy->isIntOrIntVectorTy()) { in Act() 595 if (VTy->isIntOrIntVectorTy() && DestTy->isFPOrFPVectorTy()) { in Act()
|
/external/llvm/lib/IR/ |
D | Constants.cpp | 1516 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 …]
|
D | Instructions.cpp | 2077 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 …]
|
D | Verifier.cpp | 2233 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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
D | Type.h | 203 bool isIntOrIntVectorTy() const { return getScalarType()->isIntegerTy(); } in isIntOrIntVectorTy() function 207 bool isIntOrIntVectorTy(unsigned BitWidth) const { in isIntOrIntVectorTy() function
|
D | IRBuilder.h | 1568 assert(V->getType()->isIntOrIntVectorTy() && 1569 DestTy->isIntOrIntVectorTy() && 1583 assert(V->getType()->isIntOrIntVectorTy() && 1584 DestTy->isIntOrIntVectorTy() && 1711 if (V->getType()->isPtrOrPtrVectorTy() && DestTy->isIntOrIntVectorTy()) 1713 if (V->getType()->isIntOrIntVectorTy() && DestTy->isPtrOrPtrVectorTy())
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineMulDivRem.cpp | 282 if (I.getType()->isIntOrIntVectorTy(1)) in visitMul() 309 if (match(Op0, m_ZExt(m_Value(X))) && X->getType()->isIntOrIntVectorTy(1)) in visitMul() 311 if (match(Op1, m_ZExt(m_Value(X))) && X->getType()->isIntOrIntVectorTy(1)) in visitMul() 742 assert(!Ty->isIntOrIntVectorTy(1) && "i1 divide not removed?"); in commonIDivTransforms() 968 if (match(Op1, m_SExt(m_Value(X))) && X->getType()->isIntOrIntVectorTy(1)) { in visitUDiv() 1042 (match(Op1, m_SExt(m_Value(X))) && X->getType()->isIntOrIntVectorTy(1))) in visitSDiv() 1341 if (match(Op1, m_SExt(m_Value(X))) && X->getType()->isIntOrIntVectorTy(1)) { in visitURem()
|
D | InstCombineSelect.cpp | 502 if (!TrueVal->getType()->isIntOrIntVectorTy() || in foldSelectICmpAndOr() 1252 if (!SmallType->isIntOrIntVectorTy(1) && in foldSelectExtConst() 1455 if (!LHS->getType()->isIntOrIntVectorTy()) in factorizeMinMaxTree() 1552 if (SelType->isIntOrIntVectorTy(1) && in visitSelectInst() 1594 if (SelType->isIntOrIntVectorTy() && in visitSelectInst() 1758 if (SelType->isIntOrIntVectorTy() || SelType->isFPOrFPVectorTy()) { in visitSelectInst()
|
D | InstCombineAndOrXor.cpp | 1228 if (!SrcTy->isIntOrIntVectorTy()) in foldCastedBitwiseLogic() 1629 A->getType()->isIntOrIntVectorTy(1)) in visitAnd() 1632 A->getType()->isIntOrIntVectorTy(1)) in visitAnd() 1711 if (match(A, m_Not(m_Specific(B))) && Ty->isIntOrIntVectorTy(1)) in getSelectCondition() 1718 Cond->getType()->isIntOrIntVectorTy(1) && in getSelectCondition() 1741 Cond->getType()->isIntOrIntVectorTy(1) && in getSelectCondition() 2243 A->getType()->isIntOrIntVectorTy(1)) in visitOr() 2246 A->getType()->isIntOrIntVectorTy(1)) in visitOr()
|
D | InstCombineAddSub.cpp | 1195 if (Ty->isIntOrIntVectorTy(1)) in visitAdd() 1605 if (I.getType()->isIntOrIntVectorTy(1)) in visitSub() 1628 if (match(Op1, m_ZExt(m_Value(X))) && X->getType()->isIntOrIntVectorTy(1)) { in visitSub() 1635 if (match(Op1, m_SExt(m_Value(X))) && X->getType()->isIntOrIntVectorTy(1)) { in visitSub()
|
/external/llvm/lib/Transforms/Scalar/ |
D | Reassociate.cpp | 219 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()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | Reassociate.cpp | 234 if (S1->getType()->isIntOrIntVectorTy()) in CreateAdd() 246 if (S1->getType()->isIntOrIntVectorTy()) in CreateMul() 258 if (S1->getType()->isIntOrIntVectorTy()) in CreateNeg() 270 Constant *NegOne = Ty->isIntOrIntVectorTy() ? in LowerNegateToMultiply() 1439 Constant *C = Ty->isIntOrIntVectorTy() ? in OptimizeAdd() 1581 I->getType()->isIntOrIntVectorTy() in OptimizeAdd() 1715 if (LHS->getType()->isIntOrIntVectorTy()) in buildMultiplyTree()
|
/external/swiftshader/third_party/LLVM/include/llvm/ |
D | Type.h | 169 bool isIntOrIntVectorTy() const;
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/ |
D | SystemZTargetTransformInfo.cpp | 803 if (Opcode == Instruction::InsertElement && Val->isIntOrIntVectorTy(64)) in getVectorInstrCost() 810 if (Index == 0 && Val->isIntOrIntVectorTy()) in getVectorInstrCost()
|
/external/llvm/include/llvm/IR/ |
D | Type.h | 199 bool isIntOrIntVectorTy() const { return getScalarType()->isIntegerTy(); } in isIntOrIntVectorTy() function
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
D | Type.h | 201 bool isIntOrIntVectorTy() const { return getScalarType()->isIntegerTy(); } in isIntOrIntVectorTy() function
|
/external/swiftshader/third_party/LLVM/lib/AsmParser/ |
D | LLParser.cpp | 2167 if (!Val0->getType()->isIntOrIntVectorTy() && in ParseValID() 2221 if (!Val0->getType()->isIntOrIntVectorTy()) { in ParseValID() 2239 if (!Val0->getType()->isIntOrIntVectorTy()) in ParseValID() 2277 if (!Val0->getType()->isIntOrIntVectorTy()) in ParseValID() 3291 Valid = LHS->getType()->isIntOrIntVectorTy() || in ParseArithmetic() 3294 case 1: Valid = LHS->getType()->isIntOrIntVectorTy(); break; in ParseArithmetic() 3315 if (!LHS->getType()->isIntOrIntVectorTy()) in ParseLogical() 3344 if (!LHS->getType()->isIntOrIntVectorTy() && in ParseCompare()
|