Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyLowerGlobalDtors.cpp74 !ETy->getTypeAtIndex(0U)->isIntegerTy() || in runOnModule()
75 !ETy->getTypeAtIndex(1U)->isPointerTy() || in runOnModule()
76 !ETy->getTypeAtIndex(2U)->isPointerTy()) in runOnModule()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DGetElementPtrTypeIterator.h75 return CurTy.get<StructType *>()->getTypeAtIndex(getOperand()); in getIndexedType()
H A DDerivedTypes.h332 Type *getTypeAtIndex(const Value *V) const;
333 Type *getTypeAtIndex(unsigned N) const { return getElementType(N); } in getTypeAtIndex() function
H A DInstructions.h1053 static Type *getTypeAtIndex(Type *Ty, Value *Idx);
1054 static Type *getTypeAtIndex(Type *Ty, uint64_t Idx);
/freebsd-13.1/contrib/llvm-project/llvm/lib/FuzzMutate/
H A DOperations.cpp228 if (STy->getTypeAtIndex(I) == V->getType()) in matchScalarInAggregate()
239 makeConstantsWithType(STy->getTypeAtIndex(I), Result); in matchScalarInAggregate()
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DType.cpp569 Type *StructType::getTypeAtIndex(const Value *V) const { in getTypeAtIndex() function in StructType
H A DInstructions.cpp1722 Type *GetElementPtrInst::getTypeAtIndex(Type *Ty, Value *Idx) { in getTypeAtIndex() function in GetElementPtrInst
1726 return Struct->getTypeAtIndex(Idx); in getTypeAtIndex()
1737 Type *GetElementPtrInst::getTypeAtIndex(Type *Ty, uint64_t Idx) { in getTypeAtIndex() function in GetElementPtrInst
1755 Ty = GetElementPtrInst::getTypeAtIndex(Ty, V); in getIndexedTypeInternal()
H A DVerifier.cpp694 STy->getTypeAtIndex(0u)->isIntegerTy(32) && in visitGlobalVariable()
695 STy->getTypeAtIndex(1) == FuncPtrTy, in visitGlobalVariable()
700 Type *ETy = STy->getTypeAtIndex(2); in visitGlobalVariable()
H A DConstantFold.cpp129 ElTy = GetElementPtrInst::getTypeAtIndex(ElTy, (uint64_t)0); in FoldBitCast()
H A DConstants.cpp1253 assert(V[I]->getType() == ST->getTypeAtIndex(I) && in ConstantAggregate()
H A DCore.cpp746 return wrap(Ty->getTypeAtIndex(i)); in LLVMStructGetTypeAtIndex()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGRecordLayoutBuilder.cpp973 llvm::Type *ElementTy = ST->getTypeAtIndex(RL->getLLVMFieldNo(FD)); in ComputeRecordLayout()
H A DCGExprConstant.cpp330 llvm::GetElementPtrInst::getTypeAtIndex(CA->getType(), (uint64_t)0); in split()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DArgumentPromotion.cpp304 ElTy = GetElementPtrInst::getTypeAtIndex(ElTy, II); in doPromotion()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86FastISel.cpp247 cast<StructType>(Callee->getReturnType())->getTypeAtIndex(0U); in foldX86XALUIntrinsic()
2862 Type *RetTy = Ty->getTypeAtIndex(0U); in fastLowerIntrinsicCall()
2863 assert(Ty->getTypeAtIndex(1)->isIntegerTy() && in fastLowerIntrinsicCall()
2864 Ty->getTypeAtIndex(1)->getScalarSizeInBits() == 1 && in fastLowerIntrinsicCall()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64FastISel.cpp3332 cast<StructType>(Callee->getReturnType())->getTypeAtIndex(0U); in foldXALUIntrinsic()
3616 Type *RetTy = Ty->getTypeAtIndex(0U); in fastLowerIntrinsicCall()
4960 Type *RetTy = RetPairTy->getTypeAtIndex(0U); in selectAtomicCmpXchg()
4961 assert(RetPairTy->getTypeAtIndex(1U)->isIntegerTy(1) && in selectAtomicCmpXchg()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DScalarEvolutionExpander.cpp531 ElTy = STy->getTypeAtIndex(ElIdx); in expandAddToGEP()
542 ElTy = STy->getTypeAtIndex(0u); in expandAddToGEP()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp650 LoadInst *NewLoad = IC.combineLoadToNewType(LI, ST->getTypeAtIndex(0U), in unpackLoadToAggregate()
H A DInstCombineCasts.cpp2640 SrcElTy = GetElementPtrInst::getTypeAtIndex(SrcElTy, (uint64_t)0); in convertBitCastToGEP()
H A DInstructionCombining.cpp2031 GetElementPtrInst::getTypeAtIndex(CurTy, Op1->getOperand(J)); in visitGetElementPtrInst()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonCommonGEP.cpp401 PtrTy = GetElementPtrInst::getTypeAtIndex(PtrTy, Op); in processGepInst()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DConstantFolding.cpp1005 Type *NextTy = GetElementPtrInst::getTypeAtIndex(Ty, (uint64_t)0); in SymbolicallyEvaluateGEP()
1045 Ty = STy->getTypeAtIndex(ElIdx); in SymbolicallyEvaluateGEP()
H A DScalarEvolution.cpp3617 CurTy = STy->getTypeAtIndex(Index); in getGEPExpr()
3626 CurTy = GetElementPtrInst::getTypeAtIndex(CurTy, (uint64_t)0); in getGEPExpr()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroSplit.cpp372 FrameTy->getTypeAtIndex(coro::Shape::SwitchFieldIndex::Resume))); in createResumeEntryBlock()