Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/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()
H A DScalarEvolutionExpander.cpp533 ElTy = STy->getTypeAtIndex(ElIdx); in expandAddToGEP()
544 ElTy = STy->getTypeAtIndex(0u); in expandAddToGEP()
/openbsd-src/gnu/llvm/llvm/include/llvm/IR/
H A DGetElementPtrTypeIterator.h73 return CurTy.get<StructType *>()->getTypeAtIndex(getOperand()); in getIndexedType()
H A DDerivedTypes.h333 Type *getTypeAtIndex(const Value *V) const;
334 Type *getTypeAtIndex(unsigned N) const { return getElementType(N); } in getTypeAtIndex() function
H A DInstructions.h1047 static Type *getTypeAtIndex(Type *Ty, Value *Idx);
1048 static Type *getTypeAtIndex(Type *Ty, uint64_t Idx);
/openbsd-src/gnu/llvm/llvm/lib/FuzzMutate/
H A DOperations.cpp235 if (STy->getTypeAtIndex(I) == V->getType()) in matchScalarInAggregate()
246 makeConstantsWithType(STy->getTypeAtIndex(I), Result); in matchScalarInAggregate()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/IPO/
H A DArgumentPromotion.cpp117 Type *NextTy = GetElementPtrInst::getTypeAtIndex(TmpTy, (uint64_t)0); in createByteGEP()
/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DType.cpp605 Type *StructType::getTypeAtIndex(const Value *V) const { in getTypeAtIndex() function in StructType
H A DInstructions.cpp1860 Type *GetElementPtrInst::getTypeAtIndex(Type *Ty, Value *Idx) { in getTypeAtIndex() function in GetElementPtrInst
1864 return Struct->getTypeAtIndex(Idx); in getTypeAtIndex()
1875 Type *GetElementPtrInst::getTypeAtIndex(Type *Ty, uint64_t Idx) { in getTypeAtIndex() function in GetElementPtrInst
1893 Ty = GetElementPtrInst::getTypeAtIndex(Ty, V); in getIndexedTypeInternal()
H A DVerifier.cpp741 STy->getTypeAtIndex(0u)->isIntegerTy(32) && in visitGlobalVariable()
742 STy->getTypeAtIndex(1) == FuncPtrTy, in visitGlobalVariable()
747 Type *ETy = STy->getTypeAtIndex(2); in visitGlobalVariable()
H A DConstantFold.cpp127 ElTy = GetElementPtrInst::getTypeAtIndex(ElTy, (uint64_t)0); in FoldBitCast()
H A DConstants.cpp1238 assert(V[I]->getType() == ST->getTypeAtIndex(I) && in ConstantAggregate()
H A DCore.cpp758 return wrap(Ty->getTypeAtIndex(i)); in LLVMStructGetTypeAtIndex()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGRecordLayoutBuilder.cpp973 llvm::Type *ElementTy = ST->getTypeAtIndex(RL->getLLVMFieldNo(FD)); in ComputeRecordLayout()
H A DCGExprConstant.cpp331 llvm::GetElementPtrInst::getTypeAtIndex(CA->getType(), (uint64_t)0); in split()
/openbsd-src/gnu/llvm/llvm/lib/Target/X86/
H A DX86FastISel.cpp238 cast<StructType>(Callee->getReturnType())->getTypeAtIndex(0U); in foldX86XALUIntrinsic()
2855 Type *RetTy = Ty->getTypeAtIndex(0U); in fastLowerIntrinsicCall()
2856 assert(Ty->getTypeAtIndex(1)->isIntegerTy() && in fastLowerIntrinsicCall()
2857 Ty->getTypeAtIndex(1)->getScalarSizeInBits() == 1 && in fastLowerIntrinsicCall()
/openbsd-src/gnu/llvm/llvm/lib/Target/Hexagon/
H A DHexagonCommonGEP.cpp397 PtrTy = GetElementPtrInst::getTypeAtIndex(PtrTy, Op); in processGepInst()
/openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/
H A DAArch64FastISel.cpp3369 cast<StructType>(Callee->getReturnType())->getTypeAtIndex(0U); in foldXALUIntrinsic()
3655 Type *RetTy = Ty->getTypeAtIndex(0U); in fastLowerIntrinsicCall()
4999 Type *RetTy = RetPairTy->getTypeAtIndex(0U); in selectAtomicCmpXchg()
5000 assert(RetPairTy->getTypeAtIndex(1U)->isIntegerTy(1) && in selectAtomicCmpXchg()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp731 LoadInst *NewLoad = IC.combineLoadToNewType(LI, ST->getTypeAtIndex(0U), in unpackLoadToAggregate()
H A DInstCombineCasts.cpp2713 SrcElTy = GetElementPtrInst::getTypeAtIndex(SrcElTy, (uint64_t)0); in convertBitCastToGEP()
H A DInstructionCombining.cpp2417 GetElementPtrInst::getTypeAtIndex(CurTy, Op1->getOperand(J)); in visitGetElementPtrInst()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Coroutines/
H A DCoroSplit.cpp300 Shape.FrameTy->getTypeAtIndex(coro::Shape::SwitchFieldIndex::Resume))); in markCoroutineAsDone()
/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DConstantFolding.cpp979 Type *NextTy = GetElementPtrInst::getTypeAtIndex(ElemTy, (uint64_t)0); in SymbolicallyEvaluateGEP()
H A DScalarEvolution.cpp3783 CurTy = STy->getTypeAtIndex(Index); in getGEPExpr()
3792 CurTy = GetElementPtrInst::getTypeAtIndex(CurTy, (uint64_t)0); in getGEPExpr()