Home
last modified time | relevance | path

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

12

/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/lib/Target/SPIRV/
H A DSPIRVLegalizePointerCast.cpp145 else if (SST && SST->getTypeAtIndex(0u) == ToTy) in transformLoad()
214 buildGEPIndexChain(B, Search, ST->getTypeAtIndex(0u), Indices); in buildGEPIndexChain()
240 return isTypeFirstElementAggregate(Search, ST->getTypeAtIndex(0u)); in isTypeFirstElementAggregate()
H A DSPIRVEmitIntrinsics.cpp565 Ty = GetElementPtrInst::getTypeAtIndex(Ty, U.get()); in getGEPType()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DGetElementPtrTypeIterator.h107 return cast<StructType *>(CurTy)->getTypeAtIndex(getOperand());
H A DDerivedTypes.h374 LLVM_ABI Type *getTypeAtIndex(const Value *V) const;
375 Type *getTypeAtIndex(unsigned N) const { return getElementType(N); } in getTypeAtIndex() function
H A DInstructions.h1037 LLVM_ABI static Type *getTypeAtIndex(Type *Ty, Value *Idx);
1038 LLVM_ABI static Type *getTypeAtIndex(Type *Ty, uint64_t Idx);
/freebsd/contrib/llvm-project/llvm/lib/FuzzMutate/
H A DOperations.cpp262 if (STy->getTypeAtIndex(I) == V->getType()) in matchScalarInAggregate()
273 makeConstantsWithType(STy->getTypeAtIndex(I), Result); in matchScalarInAggregate()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanAnalysis.cpp167 return StructTy->getTypeAtIndex(CI->getZExtValue()); in inferScalarTypeForRecipe()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGRecordLayoutBuilder.cpp1174 llvm::Type *ElementTy = ST->getTypeAtIndex(RL->getLLVMFieldNo(FD)); in ComputeRecordLayout()
H A DCGExprConstant.cpp340 llvm::GetElementPtrInst::getTypeAtIndex(CA->getType(), (uint64_t)0); in split()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86FastISel.cpp239 cast<StructType>(Callee->getReturnType())->getTypeAtIndex(0U); in foldX86XALUIntrinsic()
2890 Type *RetTy = Ty->getTypeAtIndex(0U); in fastLowerIntrinsicCall()
2891 assert(Ty->getTypeAtIndex(1)->isIntegerTy() && in fastLowerIntrinsicCall()
2892 Ty->getTypeAtIndex(1)->getScalarSizeInBits() == 1 && in fastLowerIntrinsicCall()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DInstructions.cpp1543 Type *GetElementPtrInst::getTypeAtIndex(Type *Ty, Value *Idx) { in getTypeAtIndex() function in GetElementPtrInst
1547 return Struct->getTypeAtIndex(Idx); in getTypeAtIndex()
1558 Type *GetElementPtrInst::getTypeAtIndex(Type *Ty, uint64_t Idx) { in getTypeAtIndex() function in GetElementPtrInst
1576 Ty = GetElementPtrInst::getTypeAtIndex(Ty, V); in getIndexedTypeInternal()
H A DType.cpp721 Type *StructType::getTypeAtIndex(const Value *V) const { in getTypeAtIndex() function in StructType
H A DVerifier.cpp865 STy->getTypeAtIndex(0u)->isIntegerTy(32) && in visitGlobalVariable()
866 STy->getTypeAtIndex(1) == FuncPtrTy, in visitGlobalVariable()
871 Type *ETy = STy->getTypeAtIndex(2); in visitGlobalVariable()
H A DConstants.cpp1302 assert(V[I]->getType() == ST->getTypeAtIndex(I) && in ConstantAggregate()
H A DCore.cpp833 return wrap(Ty->getTypeAtIndex(i)); in LLVMStructGetTypeAtIndex()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64RegisterBankInfo.cpp636 EltTy = StructEltTy->getTypeAtIndex(0U); in isLoadFromFPType()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonCommonGEP.cpp390 PtrTy = GetElementPtrInst::getTypeAtIndex(PtrTy, Op); in processGepInst()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64FastISel.cpp3364 cast<StructType>(Callee->getReturnType())->getTypeAtIndex(0U); in foldXALUIntrinsic()
3654 Type *RetTy = Ty->getTypeAtIndex(0U); in fastLowerIntrinsicCall()
5049 Type *RetTy = RetPairTy->getTypeAtIndex(0U); in selectAtomicCmpXchg()
5050 assert(RetPairTy->getTypeAtIndex(1U)->isIntegerTy(1) && in selectAtomicCmpXchg()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp724 LoadInst *NewLoad = IC.combineLoadToNewType(LI, ST->getTypeAtIndex(0U), in unpackLoadToAggregate()
H A DInstructionCombining.cpp3036 GetElementPtrInst::getTypeAtIndex(CurTy, Op1->getOperand(J)); in foldGEPOfPhi()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/TargetBuiltins/
H A DRISCV.cpp1056 Value *CPUID = Builder.CreateAlignedLoad(StructTy->getTypeAtIndex(Index), in EmitRISCVCpuIs()
H A DARM.cpp3921 Pred, cast<llvm::ScalableVectorType>(Ty->getTypeAtIndex(I))); in EmitSVEPredicateTupleCast()
4391 Value *Out = Builder.CreateBitCast(In, StructTy->getTypeAtIndex(I)); in EmitSVEReinterpret()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroSplit.cpp322 Shape.FrameTy->getTypeAtIndex(coro::Shape::SwitchFieldIndex::Resume))); in markCoroutineAsDone()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DScalarEvolution.cpp3762 CurTy = STy->getTypeAtIndex(Index); in getGEPExpr()
3771 CurTy = GetElementPtrInst::getTypeAtIndex(CurTy, (uint64_t)0); in getGEPExpr()

12