| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | LowerGlobalDtors.cpp | 88 !ETy->getTypeAtIndex(0U)->isIntegerTy() || in runImpl() 89 !ETy->getTypeAtIndex(1U)->isPointerTy() || in runImpl() 90 !ETy->getTypeAtIndex(2U)->isPointerTy()) in runImpl()
|
| H A D | ScalarEvolutionExpander.cpp | 532 ElTy = STy->getTypeAtIndex(ElIdx); in expandAddToGEP() 543 ElTy = STy->getTypeAtIndex(0u); in expandAddToGEP()
|
| /llvm-project-15.0.7/clang/unittests/CodeGen/ |
| H A D | CodeGenExternalTest.cpp | 229 llvm::Type* xTy = structTy->getTypeAtIndex(x); in test_codegen_fns() 230 llvm::Type* yTy = structTy->getTypeAtIndex(y); in test_codegen_fns() 231 llvm::Type* zTy = structTy->getTypeAtIndex(z); in test_codegen_fns()
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | GetElementPtrTypeIterator.h | 73 return CurTy.get<StructType *>()->getTypeAtIndex(getOperand()); in getIndexedType()
|
| H A D | DerivedTypes.h | 333 Type *getTypeAtIndex(const Value *V) const; 334 Type *getTypeAtIndex(unsigned N) const { return getElementType(N); } in getTypeAtIndex() function
|
| H A D | Instructions.h | 1036 static Type *getTypeAtIndex(Type *Ty, Value *Idx); 1037 static Type *getTypeAtIndex(Type *Ty, uint64_t Idx);
|
| /llvm-project-15.0.7/llvm/lib/FuzzMutate/ |
| H A D | Operations.cpp | 235 if (STy->getTypeAtIndex(I) == V->getType()) in matchScalarInAggregate() 246 makeConstantsWithType(STy->getTypeAtIndex(I), Result); in matchScalarInAggregate()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/IPO/ |
| H A D | ArgumentPromotion.cpp | 117 Type *NextTy = GetElementPtrInst::getTypeAtIndex(TmpTy, (uint64_t)0); in createByteGEP()
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | Type.cpp | 603 Type *StructType::getTypeAtIndex(const Value *V) const { in getTypeAtIndex() function in StructType
|
| H A D | Instructions.cpp | 1753 Type *GetElementPtrInst::getTypeAtIndex(Type *Ty, Value *Idx) { in getTypeAtIndex() function in GetElementPtrInst 1757 return Struct->getTypeAtIndex(Idx); in getTypeAtIndex() 1768 Type *GetElementPtrInst::getTypeAtIndex(Type *Ty, uint64_t Idx) { in getTypeAtIndex() function in GetElementPtrInst 1786 Ty = GetElementPtrInst::getTypeAtIndex(Ty, V); in getIndexedTypeInternal()
|
| H A D | Verifier.cpp | 732 STy->getTypeAtIndex(0u)->isIntegerTy(32) && in visitGlobalVariable() 733 STy->getTypeAtIndex(1) == FuncPtrTy, in visitGlobalVariable() 738 Type *ETy = STy->getTypeAtIndex(2); in visitGlobalVariable()
|
| H A D | ConstantFold.cpp | 127 ElTy = GetElementPtrInst::getTypeAtIndex(ElTy, (uint64_t)0); in FoldBitCast()
|
| H A D | Constants.cpp | 1230 assert(V[I]->getType() == ST->getTypeAtIndex(I) && in ConstantAggregate()
|
| H A D | Core.cpp | 757 return wrap(Ty->getTypeAtIndex(i)); in LLVMStructGetTypeAtIndex()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGRecordLayoutBuilder.cpp | 973 llvm::Type *ElementTy = ST->getTypeAtIndex(RL->getLLVMFieldNo(FD)); in ComputeRecordLayout()
|
| H A D | CGExprConstant.cpp | 330 llvm::GetElementPtrInst::getTypeAtIndex(CA->getType(), (uint64_t)0); in split()
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86FastISel.cpp | 238 cast<StructType>(Callee->getReturnType())->getTypeAtIndex(0U); in foldX86XALUIntrinsic() 2857 Type *RetTy = Ty->getTypeAtIndex(0U); in fastLowerIntrinsicCall() 2858 assert(Ty->getTypeAtIndex(1)->isIntegerTy() && in fastLowerIntrinsicCall() 2859 Ty->getTypeAtIndex(1)->getScalarSizeInBits() == 1 && in fastLowerIntrinsicCall()
|
| /llvm-project-15.0.7/llvm/lib/Target/Hexagon/ |
| H A D | HexagonCommonGEP.cpp | 397 PtrTy = GetElementPtrInst::getTypeAtIndex(PtrTy, Op); in processGepInst()
|
| /llvm-project-15.0.7/llvm/lib/Target/AArch64/ |
| H A D | AArch64FastISel.cpp | 3339 cast<StructType>(Callee->getReturnType())->getTypeAtIndex(0U); in foldXALUIntrinsic() 3623 Type *RetTy = Ty->getTypeAtIndex(0U); in fastLowerIntrinsicCall() 4967 Type *RetTy = RetPairTy->getTypeAtIndex(0U); in selectAtomicCmpXchg() 4968 assert(RetPairTy->getTypeAtIndex(1U)->isIntegerTy(1) && in selectAtomicCmpXchg()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineLoadStoreAlloca.cpp | 638 LoadInst *NewLoad = IC.combineLoadToNewType(LI, ST->getTypeAtIndex(0U), in unpackLoadToAggregate()
|
| H A D | InstCombineCasts.cpp | 2714 SrcElTy = GetElementPtrInst::getTypeAtIndex(SrcElTy, (uint64_t)0); in convertBitCastToGEP()
|
| H A D | InstructionCombining.cpp | 2402 GetElementPtrInst::getTypeAtIndex(CurTy, Op1->getOperand(J)); in visitGetElementPtrInst()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Coroutines/ |
| H A D | CoroSplit.cpp | 300 Shape.FrameTy->getTypeAtIndex(coro::Shape::SwitchFieldIndex::Resume))); in markCoroutineAsDone()
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | ConstantFolding.cpp | 980 Type *NextTy = GetElementPtrInst::getTypeAtIndex(ElemTy, (uint64_t)0); in SymbolicallyEvaluateGEP()
|
| H A D | ScalarEvolution.cpp | 3704 CurTy = STy->getTypeAtIndex(Index); in getGEPExpr() 3713 CurTy = GetElementPtrInst::getTypeAtIndex(CurTy, (uint64_t)0); in getGEPExpr()
|