/external/swiftshader/third_party/subzero/crosstest/ |
D | test_vector_ops.cpp | 660 template <typename Ty, uint8_t Idx0, uint8_t Idx1, uint8_t Idx2, uint8_t Idx3, 667 V1, V2, Idx0 % (NumElements * 2), Idx1 % (NumElements * 2), in shufflevector() 676 template <typename Ty, uint8_t Idx0, uint8_t Idx1, uint8_t Idx2, uint8_t Idx3, 683 V1, V2, Idx0 % (NumElements * 2), Idx1 % (NumElements * 2), in shufflevector() 694 template <typename Ty, uint8_t Idx0, uint8_t Idx1, uint8_t Idx2, uint8_t Idx3, 702 V1, V2, Idx0, Idx1 % (NumElements * 2), Idx2 % (NumElements * 2), in shufflevector()
|
/external/llvm-project/llvm/include/llvm/IR/ |
D | IRBuilder.h | 1840 Value *CreateConstGEP1_32(Value *Ptr, unsigned Idx0, const Twine &Name = "") { 1841 return CreateConstGEP1_32(nullptr, Ptr, Idx0, Name); 1844 Value *CreateConstGEP1_32(Type *Ty, Value *Ptr, unsigned Idx0, 1846 Value *Idx = ConstantInt::get(Type::getInt32Ty(Context), Idx0); 1854 Value *CreateConstInBoundsGEP1_32(Type *Ty, Value *Ptr, unsigned Idx0, 1856 Value *Idx = ConstantInt::get(Type::getInt32Ty(Context), Idx0); 1864 Value *CreateConstGEP2_32(Type *Ty, Value *Ptr, unsigned Idx0, unsigned Idx1, 1867 ConstantInt::get(Type::getInt32Ty(Context), Idx0), 1877 Value *CreateConstInBoundsGEP2_32(Type *Ty, Value *Ptr, unsigned Idx0, 1880 ConstantInt::get(Type::getInt32Ty(Context), Idx0), [all …]
|
/external/llvm/include/llvm/IR/ |
D | IRBuilder.h | 1157 Value *CreateConstGEP1_32(Value *Ptr, unsigned Idx0, const Twine &Name = "") { 1158 return CreateConstGEP1_32(nullptr, Ptr, Idx0, Name); 1160 Value *CreateConstGEP1_32(Type *Ty, Value *Ptr, unsigned Idx0, 1162 Value *Idx = ConstantInt::get(Type::getInt32Ty(Context), Idx0); 1169 Value *CreateConstInBoundsGEP1_32(Type *Ty, Value *Ptr, unsigned Idx0, 1171 Value *Idx = ConstantInt::get(Type::getInt32Ty(Context), Idx0); 1178 Value *CreateConstGEP2_32(Type *Ty, Value *Ptr, unsigned Idx0, unsigned Idx1, 1181 ConstantInt::get(Type::getInt32Ty(Context), Idx0), 1190 Value *CreateConstInBoundsGEP2_32(Type *Ty, Value *Ptr, unsigned Idx0, 1193 ConstantInt::get(Type::getInt32Ty(Context), Idx0), [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | IRBuilder.h | 1866 Value *CreateConstGEP1_32(Value *Ptr, unsigned Idx0, const Twine &Name = "") { 1867 return CreateConstGEP1_32(nullptr, Ptr, Idx0, Name); 1870 Value *CreateConstGEP1_32(Type *Ty, Value *Ptr, unsigned Idx0, 1872 Value *Idx = ConstantInt::get(Type::getInt32Ty(Context), Idx0); 1880 Value *CreateConstInBoundsGEP1_32(Type *Ty, Value *Ptr, unsigned Idx0, 1882 Value *Idx = ConstantInt::get(Type::getInt32Ty(Context), Idx0); 1890 Value *CreateConstGEP2_32(Type *Ty, Value *Ptr, unsigned Idx0, unsigned Idx1, 1893 ConstantInt::get(Type::getInt32Ty(Context), Idx0), 1903 Value *CreateConstInBoundsGEP2_32(Type *Ty, Value *Ptr, unsigned Idx0, 1906 ConstantInt::get(Type::getInt32Ty(Context), Idx0), [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | ConstantFold.cpp | 2201 Constant *Idx0 = cast<Constant>(Idxs[0]); in ConstantFoldGetElementPtr() local 2202 if (Idxs.size() == 1 && (Idx0->isNullValue() || isa<UndefValue>(Idx0))) in ConstantFoldGetElementPtr() 2270 if (Idx0->isNullValue()) in ConstantFoldGetElementPtr() 2273 if (ConstantInt *CI = dyn_cast<ConstantInt>(Idx0)) in ConstantFoldGetElementPtr() 2290 if (!Idx0->isNullValue()) { in ConstantFoldGetElementPtr() 2292 if (IdxTy != Idx0->getType()) { in ConstantFoldGetElementPtr() 2295 Idx0->getType()->getIntegerBitWidth()); in ConstantFoldGetElementPtr() 2300 Constant *C1 = ConstantExpr::getSExtOrBitCast(Idx0, CommonTy); in ConstantFoldGetElementPtr() 2305 ConstantExpr::get(Instruction::Add, Idx0, Combined); in ConstantFoldGetElementPtr() 2316 if (IRIndex && *IRIndex == CE->getNumOperands() - 2 && !Idx0->isNullValue()) in ConstantFoldGetElementPtr() [all …]
|
/external/llvm-project/llvm/lib/IR/ |
D | ConstantFold.cpp | 2349 Constant *Idx0 = cast<Constant>(Idxs[0]); in ConstantFoldGetElementPtr() local 2350 if (Idxs.size() == 1 && (Idx0->isNullValue() || isa<UndefValue>(Idx0))) in ConstantFoldGetElementPtr() 2421 if (Idx0->isNullValue()) in ConstantFoldGetElementPtr() 2424 if (ConstantInt *CI = dyn_cast<ConstantInt>(Idx0)) in ConstantFoldGetElementPtr() 2441 if (!Idx0->isNullValue()) { in ConstantFoldGetElementPtr() 2443 if (IdxTy != Idx0->getType()) { in ConstantFoldGetElementPtr() 2446 Idx0->getType()->getIntegerBitWidth()); in ConstantFoldGetElementPtr() 2451 Constant *C1 = ConstantExpr::getSExtOrBitCast(Idx0, CommonTy); in ConstantFoldGetElementPtr() 2456 ConstantExpr::get(Instruction::Add, Idx0, Combined); in ConstantFoldGetElementPtr() 2467 if (IRIndex && *IRIndex == CE->getNumOperands() - 2 && !Idx0->isNullValue()) in ConstantFoldGetElementPtr() [all …]
|
/external/llvm/lib/IR/ |
D | ConstantFold.cpp | 2054 Constant *Idx0 = cast<Constant>(Idxs[0]); in ConstantFoldGetElementPtrImpl() local 2055 if ((Idxs.size() == 1 && Idx0->isNullValue())) in ConstantFoldGetElementPtrImpl() 2117 if (Idx0->isNullValue()) in ConstantFoldGetElementPtrImpl() 2120 if (ConstantInt *CI = dyn_cast<ConstantInt>(Idx0)) in ConstantFoldGetElementPtrImpl() 2132 if (!Idx0->isNullValue()) { in ConstantFoldGetElementPtrImpl() 2134 if (IdxTy != Idx0->getType()) { in ConstantFoldGetElementPtrImpl() 2137 Idx0->getType()->getIntegerBitWidth()); in ConstantFoldGetElementPtrImpl() 2142 Constant *C1 = ConstantExpr::getSExtOrBitCast(Idx0, CommonTy); in ConstantFoldGetElementPtrImpl() 2147 ConstantExpr::get(Instruction::Add, Idx0, Combined); in ConstantFoldGetElementPtrImpl() 2168 if (CE->isCast() && Idxs.size() > 1 && Idx0->isNullValue()) { in ConstantFoldGetElementPtrImpl()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CGBuilder.h | 253 Address CreateConstInBoundsGEP2_32(Address Addr, unsigned Idx0, unsigned Idx1, 258 Addr.getElementType(), Addr.getPointer(), Idx0, Idx1, Name));
|
D | CGBuiltin.cpp | 9477 llvm::Value *Idx0 = llvm::ConstantInt::get(SizeTy, 0); in EmitAArch64BuiltinExpr() local 9479 Value *Op0 = Builder.CreateExtractElement(Vec, Idx0, "lane0"); in EmitAArch64BuiltinExpr() 9489 llvm::Value *Idx0 = llvm::ConstantInt::get(SizeTy, 0); in EmitAArch64BuiltinExpr() local 9491 Value *Op0 = Builder.CreateExtractElement(Vec, Idx0, "lane0"); in EmitAArch64BuiltinExpr() 9501 llvm::Value *Idx0 = llvm::ConstantInt::get(SizeTy, 0); in EmitAArch64BuiltinExpr() local 9503 Value *Op0 = Builder.CreateExtractElement(Vec, Idx0, "lane0"); in EmitAArch64BuiltinExpr()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | SILoadStoreOptimizer.cpp | 1465 unsigned Idx0; in getSubRegIdxs() local 1473 Idx0 = Idxs[Paired.Width][CI.Width - 1]; in getSubRegIdxs() 1475 Idx0 = Idxs[0][CI.Width - 1]; in getSubRegIdxs() 1479 return std::make_pair(Idx0, Idx1); in getSubRegIdxs()
|
D | SIISelLowering.cpp | 4957 const int Idx0 = SVN->getMaskElt(I); in lowerVECTOR_SHUFFLE() local 4959 int VecIdx0 = Idx0 < SrcNumElts ? 0 : 1; in lowerVECTOR_SHUFFLE() 4961 int EltIdx0 = Idx0 < SrcNumElts ? Idx0 : Idx0 - SrcNumElts; in lowerVECTOR_SHUFFLE()
|
/external/llvm-project/llvm/lib/Target/AMDGPU/ |
D | SILoadStoreOptimizer.cpp | 1528 unsigned Idx0; in getSubRegIdxs() local 1536 Idx0 = Idxs[Paired.Width][CI.Width - 1]; in getSubRegIdxs() 1538 Idx0 = Idxs[0][CI.Width - 1]; in getSubRegIdxs() 1542 return std::make_pair(Idx0, Idx1); in getSubRegIdxs()
|
D | SIISelLowering.cpp | 5544 const int Idx0 = SVN->getMaskElt(I); in lowerVECTOR_SHUFFLE() local 5546 int VecIdx0 = Idx0 < SrcNumElts ? 0 : 1; in lowerVECTOR_SHUFFLE() 5548 int EltIdx0 = Idx0 < SrcNumElts ? Idx0 : Idx0 - SrcNumElts; in lowerVECTOR_SHUFFLE()
|
/external/swiftshader/third_party/subzero/src/ |
D | IceTargetLoweringX86Base.h | 1194 int8_t Idx0, int8_t Idx1, int8_t Idx2, int8_t Idx3, int8_t Idx4, 1199 Operand *Src1, int8_t Idx0, int8_t Idx1,
|
D | IceTargetLoweringX86BaseImpl.h | 6225 int8_t Idx0, int8_t Idx1, int8_t Idx2, int8_t Idx3, int8_t Idx4, 6231 Idx0, Idx1, Idx2, Idx3, Idx4, Idx5, Idx6, Idx7, 6253 Variable *Dest, Operand *Src0, Operand *Src1, int8_t Idx0, int8_t Idx1, 6271 IDX_IN_SRC(Idx0, 0), IDX_IN_SRC(Idx1, 0), IDX_IN_SRC(Idx2, 0), 6285 if (Idx0 >= 16 || Idx1 >= 16 || Idx2 >= 16 || Idx3 >= 16 || Idx4 >= 16 || 6292 IDX_IN_SRC(Idx0, 1), IDX_IN_SRC(Idx1, 1), IDX_IN_SRC(Idx2, 1),
|
/external/clang/lib/CodeGen/ |
D | CGBuiltin.cpp | 5111 llvm::Value *Idx0 = llvm::ConstantInt::get(SizeTy, 0); in EmitAArch64BuiltinExpr() local 5113 Value *Op0 = Builder.CreateExtractElement(Vec, Idx0, "lane0"); in EmitAArch64BuiltinExpr() 5124 llvm::Value *Idx0 = llvm::ConstantInt::get(SizeTy, 0); in EmitAArch64BuiltinExpr() local 5126 Value *Op0 = Builder.CreateExtractElement(Vec, Idx0, "lane0"); in EmitAArch64BuiltinExpr() 5137 llvm::Value *Idx0 = llvm::ConstantInt::get(SizeTy, 0); in EmitAArch64BuiltinExpr() local 5139 Value *Op0 = Builder.CreateExtractElement(Vec, Idx0, "lane0"); in EmitAArch64BuiltinExpr()
|