Home
last modified time | relevance | path

Searched refs:Idx0 (Results 1 – 3 of 3) sorted by relevance

/external/llvm/include/llvm/IR/
DIRBuilder.h995 Value *CreateConstGEP1_32(Value *Ptr, unsigned Idx0, const Twine &Name = "") {
996 Value *Idx = ConstantInt::get(Type::getInt32Ty(Context), Idx0);
1003 Value *CreateConstInBoundsGEP1_32(Value *Ptr, unsigned Idx0,
1005 Value *Idx = ConstantInt::get(Type::getInt32Ty(Context), Idx0);
1012 Value *CreateConstGEP2_32(Value *Ptr, unsigned Idx0, unsigned Idx1,
1015 ConstantInt::get(Type::getInt32Ty(Context), Idx0),
1024 Value *CreateConstInBoundsGEP2_32(Value *Ptr, unsigned Idx0, unsigned Idx1,
1027 ConstantInt::get(Type::getInt32Ty(Context), Idx0),
1036 Value *CreateConstGEP1_64(Value *Ptr, uint64_t Idx0, const Twine &Name = "") {
1037 Value *Idx = ConstantInt::get(Type::getInt64Ty(Context), Idx0);
[all …]
/external/llvm/lib/IR/
DConstantFold.cpp1965 Constant *Idx0 = cast<Constant>(Idxs[0]); in ConstantFoldGetElementPtrImpl() local
1966 if ((Idxs.size() == 1 && Idx0->isNullValue())) in ConstantFoldGetElementPtrImpl()
2022 if (Idx0->isNullValue()) in ConstantFoldGetElementPtrImpl()
2025 if (ConstantInt *CI = dyn_cast<ConstantInt>(Idx0)) in ConstantFoldGetElementPtrImpl()
2038 if (!Idx0->isNullValue()) { in ConstantFoldGetElementPtrImpl()
2040 if (IdxTy != Idx0->getType()) { in ConstantFoldGetElementPtrImpl()
2042 Constant *C1 = ConstantExpr::getSExtOrBitCast(Idx0, Int64Ty); in ConstantFoldGetElementPtrImpl()
2047 ConstantExpr::get(Instruction::Add, Idx0, Combined); in ConstantFoldGetElementPtrImpl()
2069 if (CE->isCast() && Idxs.size() > 1 && Idx0->isNullValue()) { in ConstantFoldGetElementPtrImpl()
/external/clang/lib/CodeGen/
DCGBuiltin.cpp4031 llvm::Value *Idx0 = llvm::ConstantInt::get(SizeTy, 0); in EmitAArch64BuiltinExpr() local
4033 Value *Op0 = Builder.CreateExtractElement(Vec, Idx0, "lane0"); in EmitAArch64BuiltinExpr()
4044 llvm::Value *Idx0 = llvm::ConstantInt::get(SizeTy, 0); in EmitAArch64BuiltinExpr() local
4046 Value *Op0 = Builder.CreateExtractElement(Vec, Idx0, "lane0"); in EmitAArch64BuiltinExpr()
4057 llvm::Value *Idx0 = llvm::ConstantInt::get(SizeTy, 0); in EmitAArch64BuiltinExpr() local
4059 Value *Op0 = Builder.CreateExtractElement(Vec, Idx0, "lane0"); in EmitAArch64BuiltinExpr()