Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DGetElementPtrTypeIterator.h75 return CurTy.get<StructType *>()->getTypeAtIndex(getOperand()); in getIndexedType()
H A DDerivedTypes.h335 Type *getTypeAtIndex(const Value *V) const;
336 Type *getTypeAtIndex(unsigned N) const { return getElementType(N); } in getTypeAtIndex() function
H A DInstructions.h1046 static Type *getTypeAtIndex(Type *Ty, Value *Idx);
1047 static Type *getTypeAtIndex(Type *Ty, uint64_t Idx);
/netbsd-src/external/apache2/llvm/dist/llvm/lib/FuzzMutate/
H A DOperations.cpp228 if (STy->getTypeAtIndex(I) == V->getType()) in matchScalarInAggregate()
239 makeConstantsWithType(STy->getTypeAtIndex(I), Result); in matchScalarInAggregate()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DType.cpp563 Type *StructType::getTypeAtIndex(const Value *V) const { in getTypeAtIndex() function in StructType
H A DInstructions.cpp1709 Type *GetElementPtrInst::getTypeAtIndex(Type *Ty, Value *Idx) { in getTypeAtIndex() function in GetElementPtrInst
1713 return Struct->getTypeAtIndex(Idx); in getTypeAtIndex()
1724 Type *GetElementPtrInst::getTypeAtIndex(Type *Ty, uint64_t Idx) { in getTypeAtIndex() function in GetElementPtrInst
1742 Ty = GetElementPtrInst::getTypeAtIndex(Ty, V); in getIndexedTypeInternal()
H A DVerifier.cpp692 STy->getTypeAtIndex(0u)->isIntegerTy(32) && in visitGlobalVariable()
693 STy->getTypeAtIndex(1) == FuncPtrTy, in visitGlobalVariable()
698 Type *ETy = STy->getTypeAtIndex(2); in visitGlobalVariable()
H A DConstantFold.cpp128 ElTy = GetElementPtrInst::getTypeAtIndex(ElTy, (uint64_t)0); in FoldBitCast()
H A DConstants.cpp1251 assert(V[I]->getType() == ST->getTypeAtIndex(I) && in ConstantAggregate()
H A DCore.cpp746 return wrap(Ty->getTypeAtIndex(i)); in LLVMStructGetTypeAtIndex()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
H A DArgumentPromotion.cpp305 ElTy = GetElementPtrInst::getTypeAtIndex(ElTy, II); in doPromotion()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/
H A DX86FastISel.cpp247 cast<StructType>(Callee->getReturnType())->getTypeAtIndex(0U); in foldX86XALUIntrinsic()
2861 Type *RetTy = Ty->getTypeAtIndex(0U); in fastLowerIntrinsicCall()
2862 assert(Ty->getTypeAtIndex(1)->isIntegerTy() && in fastLowerIntrinsicCall()
2863 Ty->getTypeAtIndex(1)->getScalarSizeInBits() == 1 && in fastLowerIntrinsicCall()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/
H A DAArch64FastISel.cpp3332 cast<StructType>(Callee->getReturnType())->getTypeAtIndex(0U); in foldXALUIntrinsic()
3616 Type *RetTy = Ty->getTypeAtIndex(0U); in fastLowerIntrinsicCall()
4955 Type *RetTy = RetPairTy->getTypeAtIndex(0U); in selectAtomicCmpXchg()
4956 assert(RetPairTy->getTypeAtIndex(1U)->isIntegerTy(1) && in selectAtomicCmpXchg()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DScalarEvolutionExpander.cpp524 ElTy = STy->getTypeAtIndex(ElIdx); in expandAddToGEP()
535 ElTy = STy->getTypeAtIndex(0u); in expandAddToGEP()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp638 LoadInst *NewLoad = IC.combineLoadToNewType(LI, ST->getTypeAtIndex(0U), in unpackLoadToAggregate()
H A DInstCombineCasts.cpp2596 SrcElTy = GetElementPtrInst::getTypeAtIndex(SrcElTy, (uint64_t)0); in visitBitCast()
H A DInstructionCombining.cpp1990 GetElementPtrInst::getTypeAtIndex(CurTy, Op1->getOperand(J)); in visitGetElementPtrInst()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DConstantFolding.cpp968 Type *NextTy = GetElementPtrInst::getTypeAtIndex(Ty, (uint64_t)0); in SymbolicallyEvaluateGEP()
1008 Ty = STy->getTypeAtIndex(ElIdx); in SymbolicallyEvaluateGEP()
H A DScalarEvolution.cpp3466 CurTy = STy->getTypeAtIndex(Index); in getGEPExpr()
3475 CurTy = GetElementPtrInst::getTypeAtIndex(CurTy, (uint64_t)0); in getGEPExpr()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/
H A DHexagonCommonGEP.cpp207 return GetElementPtrInst::getTypeAtIndex(Ty, Idx); in next_type()