Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLowerGlobalDtors.cpp88 !ETy->getTypeAtIndex(0U)->isIntegerTy() || in runImpl()
89 !ETy->getTypeAtIndex(1U)->isPointerTy() || in runImpl()
90 !ETy->getTypeAtIndex(2U)->isPointerTy()) in runImpl()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DGetElementPtrTypeIterator.h107 return cast<StructType *>(CurTy)->getTypeAtIndex(getOperand()); in getIndexedType()
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.h1049 static Type *getTypeAtIndex(Type *Ty, Value *Idx);
1050 static Type *getTypeAtIndex(Type *Ty, uint64_t Idx);
/freebsd-14.2/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-14.2/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.cpp1725 Type *GetElementPtrInst::getTypeAtIndex(Type *Ty, Value *Idx) { in getTypeAtIndex() function in GetElementPtrInst
1729 return Struct->getTypeAtIndex(Idx); in getTypeAtIndex()
1740 Type *GetElementPtrInst::getTypeAtIndex(Type *Ty, uint64_t Idx) { in getTypeAtIndex() function in GetElementPtrInst
1758 Ty = GetElementPtrInst::getTypeAtIndex(Ty, V); in getIndexedTypeInternal()
H A DVerifier.cpp803 STy->getTypeAtIndex(0u)->isIntegerTy(32) && in visitGlobalVariable()
804 STy->getTypeAtIndex(1) == FuncPtrTy, in visitGlobalVariable()
809 Type *ETy = STy->getTypeAtIndex(2); in visitGlobalVariable()
H A DConstants.cpp1224 assert(V[I]->getType() == ST->getTypeAtIndex(I) && in ConstantAggregate()
H A DCore.cpp807 return wrap(Ty->getTypeAtIndex(i)); in LLVMStructGetTypeAtIndex()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGRecordLayoutBuilder.cpp985 llvm::Type *ElementTy = ST->getTypeAtIndex(RL->getLLVMFieldNo(FD)); in ComputeRecordLayout()
H A DCGExprConstant.cpp332 llvm::GetElementPtrInst::getTypeAtIndex(CA->getType(), (uint64_t)0); in split()
H A DCGBuiltin.cpp10119 auto *VTy = dyn_cast<ScalableVectorType>(StructTy->getTypeAtIndex(0U)); in FormSVEBuiltinResult()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64RegisterBankInfo.cpp629 EltTy = StructEltTy->getTypeAtIndex(0U); in isLoadFromFPType()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86FastISel.cpp238 cast<StructType>(Callee->getReturnType())->getTypeAtIndex(0U); in foldX86XALUIntrinsic()
2852 Type *RetTy = Ty->getTypeAtIndex(0U); in fastLowerIntrinsicCall()
2853 assert(Ty->getTypeAtIndex(1)->isIntegerTy() && in fastLowerIntrinsicCall()
2854 Ty->getTypeAtIndex(1)->getScalarSizeInBits() == 1 && in fastLowerIntrinsicCall()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonCommonGEP.cpp397 PtrTy = GetElementPtrInst::getTypeAtIndex(PtrTy, Op); in processGepInst()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64FastISel.cpp3356 cast<StructType>(Callee->getReturnType())->getTypeAtIndex(0U); in foldXALUIntrinsic()
3642 Type *RetTy = Ty->getTypeAtIndex(0U); in fastLowerIntrinsicCall()
5033 Type *RetTy = RetPairTy->getTypeAtIndex(0U); in selectAtomicCmpXchg()
5034 assert(RetPairTy->getTypeAtIndex(1U)->isIntegerTy(1) && in selectAtomicCmpXchg()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp710 LoadInst *NewLoad = IC.combineLoadToNewType(LI, ST->getTypeAtIndex(0U), in unpackLoadToAggregate()
H A DInstructionCombining.cpp2520 GetElementPtrInst::getTypeAtIndex(CurTy, Op1->getOperand(J)); in visitGetElementPtrInst()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroSplit.cpp334 Shape.FrameTy->getTypeAtIndex(coro::Shape::SwitchFieldIndex::Resume))); in markCoroutineAsDone()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DConstantFolding.cpp956 Type *NextTy = GetElementPtrInst::getTypeAtIndex(ElemTy, (uint64_t)0); in SymbolicallyEvaluateGEP()
H A DScalarEvolution.cpp3776 CurTy = STy->getTypeAtIndex(Index); in getGEPExpr()
3785 CurTy = GetElementPtrInst::getTypeAtIndex(CurTy, (uint64_t)0); in getGEPExpr()