Home
last modified time | relevance | path

Searched refs:getTypeAtIndex (Results 1 – 22 of 22) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLowerGlobalDtors.cpp89 !ETy->getTypeAtIndex(0U)->isIntegerTy() || in runImpl()
90 !ETy->getTypeAtIndex(1U)->isPointerTy() || in runImpl()
91 !ETy->getTypeAtIndex(2U)->isPointerTy()) in runImpl()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DGetElementPtrTypeIterator.h107 return cast<StructType *>(CurTy)->getTypeAtIndex(getOperand());
H A DDerivedTypes.h347 Type *getTypeAtIndex(const Value *V) const;
348 Type *getTypeAtIndex(unsigned N) const { return getElementType(N); } in getTypeAtIndex() function
H A DInstructions.h1001 static Type *getTypeAtIndex(Type *Ty, Value *Idx);
1002 static Type *getTypeAtIndex(Type *Ty, uint64_t Idx);
/freebsd/contrib/llvm-project/llvm/lib/FuzzMutate/
H A DOperations.cpp258 if (STy->getTypeAtIndex(I) == V->getType()) in matchScalarInAggregate()
269 makeConstantsWithType(STy->getTypeAtIndex(I), Result); in matchScalarInAggregate()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DType.cpp612 Type *StructType::getTypeAtIndex(const Value *V) const { in getTypeAtIndex() function in StructType
H A DInstructions.cpp1476 Type *GetElementPtrInst::getTypeAtIndex(Type *Ty, Value *Idx) { in getTypeAtIndex() function in GetElementPtrInst
1480 return Struct->getTypeAtIndex(Idx); in getTypeAtIndex()
1491 Type *GetElementPtrInst::getTypeAtIndex(Type *Ty, uint64_t Idx) { in getTypeAtIndex() function in GetElementPtrInst
1509 Ty = GetElementPtrInst::getTypeAtIndex(Ty, V); in getIndexedTypeInternal()
H A DVerifier.cpp853 STy->getTypeAtIndex(0u)->isIntegerTy(32) && in visitGlobalVariable()
854 STy->getTypeAtIndex(1) == FuncPtrTy, in visitGlobalVariable()
859 Type *ETy = STy->getTypeAtIndex(2); in visitGlobalVariable()
H A DConstants.cpp1281 assert(V[I]->getType() == ST->getTypeAtIndex(I) && in ConstantAggregate()
H A DCore.cpp835 return wrap(Ty->getTypeAtIndex(i)); in LLVMStructGetTypeAtIndex()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86FastISel.cpp238 cast<StructType>(Callee->getReturnType())->getTypeAtIndex(0U); in foldX86XALUIntrinsic()
2854 Type *RetTy = Ty->getTypeAtIndex(0U); in fastLowerIntrinsicCall()
2855 assert(Ty->getTypeAtIndex(1)->isIntegerTy() && in fastLowerIntrinsicCall()
2856 Ty->getTypeAtIndex(1)->getScalarSizeInBits() == 1 && in fastLowerIntrinsicCall()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64RegisterBankInfo.cpp625 EltTy = StructEltTy->getTypeAtIndex(0U); in isLoadFromFPType()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGRecordLayoutBuilder.cpp1182 llvm::Type *ElementTy = ST->getTypeAtIndex(RL->getLLVMFieldNo(FD)); in ComputeRecordLayout()
H A DCGExprConstant.cpp333 llvm::GetElementPtrInst::getTypeAtIndex(CA->getType(), (uint64_t)0); in split()
H A DCGBuiltin.cpp10386 auto *VTy = dyn_cast<ScalableVectorType>(StructTy->getTypeAtIndex(0U)); in FormSVEBuiltinResult()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonCommonGEP.cpp397 PtrTy = GetElementPtrInst::getTypeAtIndex(PtrTy, Op); in processGepInst()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64FastISel.cpp3366 cast<StructType>(Callee->getReturnType())->getTypeAtIndex(0U); in foldXALUIntrinsic()
3656 Type *RetTy = Ty->getTypeAtIndex(0U); in fastLowerIntrinsicCall()
5047 Type *RetTy = RetPairTy->getTypeAtIndex(0U); in selectAtomicCmpXchg()
5048 assert(RetPairTy->getTypeAtIndex(1U)->isIntegerTy(1) && in selectAtomicCmpXchg()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp709 LoadInst *NewLoad = IC.combineLoadToNewType(LI, ST->getTypeAtIndex(0U), in unpackLoadToAggregate()
H A DInstructionCombining.cpp2871 GetElementPtrInst::getTypeAtIndex(CurTy, Op1->getOperand(J)); in visitGetElementPtrInst()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroSplit.cpp413 Shape.FrameTy->getTypeAtIndex(coro::Shape::SwitchFieldIndex::Resume))); in markCoroutineAsDone()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DScalarEvolution.cpp3780 CurTy = STy->getTypeAtIndex(Index); in getGEPExpr()
3789 CurTy = GetElementPtrInst::getTypeAtIndex(CurTy, (uint64_t)0); in getGEPExpr()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp22110 Type *ElemTy = STy->getTypeAtIndex(0U); in constructArgInfos()