Home
last modified time | relevance | path

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

12

/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()
/llvm-project/clang/unittests/CodeGen/
H A DCodeGenExternalTest.cpp229 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/mlir/lib/Dialect/MemRef/IR/
H A DMemRefMemorySlot.cpp138 Type elemType = memrefType.getTypeAtIndex(usedIndex); in destructure()
324 Type getTypeAtIndex(Type type, Attribute index) const { in getTypeAtIndex() function
/llvm-project/llvm/include/llvm/IR/
H A DGetElementPtrTypeIterator.h107 return cast<StructType *>(CurTy)->getTypeAtIndex(getOperand()); in getIndexedType()
H A DDerivedTypes.h371 Type *getTypeAtIndex(const Value *V) const;
372 Type *getTypeAtIndex(unsigned N) const { return getElementType(N); }
348 Type *getTypeAtIndex(unsigned N) const { return getElementType(N); } getTypeAtIndex() function
H A DInstructions.h1020 static Type *getTypeAtIndex(Type *Ty, Value *Idx);
1021 static Type *getTypeAtIndex(Type *Ty, uint64_t Idx);
/llvm-project/mlir/lib/Dialect/LLVMIR/IR/
H A DLLVMMemorySlot.cpp90 Type elemType = destructurableType.getTypeAtIndex(index); in destructure()
425 static Type getTypeAtIndex(const DestructurableMemorySlot &slot, in getTypeAtIndex() function
446 Type subslotType = getTypeAtIndex(slot, index); in canRewire()
483 Type subslotType = getTypeAtIndex(slot, index); in canRewire()
1577 Type LLVM::LLVMStructType::getTypeAtIndex(Attribute index) const {
1602 Type LLVM::LLVMArrayType::getTypeAtIndex(Attribute index) const {
1412 Type LLVM::LLVMStructType::getTypeAtIndex(Attribute index) { getTypeAtIndex() function in LLVM::LLVMStructType
1437 Type LLVM::LLVMArrayType::getTypeAtIndex(Attribute index) const { getTypeAtIndex() function in LLVM::LLVMArrayType
H A DLLVMDialect.cpp
/llvm-project/mlir/include/mlir/Dialect/LLVMIR/
H A DLLVMTypes.h
/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()
/llvm-project/llvm/lib/IR/
H A DType.cpp711 Type *StructType::getTypeAtIndex(const Value *V) const {
612 Type *StructType::getTypeAtIndex(const Value *V) const { getTypeAtIndex() function in StructType
H A DInstructions.cpp1510 Type *GetElementPtrInst::getTypeAtIndex(Type *Ty, Value *Idx) { in getIndexedTypeInternal()
1514 return Struct->getTypeAtIndex(Idx); in getIndexedTypeInternal()
1525 Type *GetElementPtrInst::getTypeAtIndex(Type *Ty, uint64_t Idx) { in getIndexedType()
1543 Ty = GetElementPtrInst::getTypeAtIndex(Ty, V);
1476 Type *GetElementPtrInst::getTypeAtIndex(Type *Ty, Value *Idx) { getTypeAtIndex() function in GetElementPtrInst
1491 Type *GetElementPtrInst::getTypeAtIndex(Type *Ty, uint64_t Idx) { getTypeAtIndex() function in GetElementPtrInst
H A DVerifier.cpp868 STy->getTypeAtIndex(0u)->isIntegerTy(32) && in visitGlobalVariable()
869 STy->getTypeAtIndex(1) == FuncPtrTy, in visitGlobalVariable()
874 Type *ETy = STy->getTypeAtIndex(2); in visitGlobalVariable()
H A DConstants.cpp1300 assert(V[I]->getType() == ST->getTypeAtIndex(I) && in getImpl()
H A DCore.cpp834 return wrap(Ty->getTypeAtIndex(i)); in LLVMStructGetTypeAtIndex()
/llvm-project/llvm/lib/Target/X86/
H A DX86FastISel.cpp237 cast<StructType>(Callee->getReturnType())->getTypeAtIndex(0U); in foldX86XALUIntrinsic()
2853 Type *RetTy = Ty->getTypeAtIndex(0U); in fastLowerIntrinsicCall()
2854 assert(Ty->getTypeAtIndex(1)->isIntegerTy() && in fastLowerIntrinsicCall()
2855 Ty->getTypeAtIndex(1)->getScalarSizeInBits() == 1 && in fastLowerIntrinsicCall()
/llvm-project/mlir/include/mlir/Interfaces/
H A DMemorySlotInterfaces.td417 "getTypeAtIndex",
/llvm-project/clang/lib/CodeGen/
H A DCGRecordLayoutBuilder.cpp1182 llvm::Type *ElementTy = ST->getTypeAtIndex(RL->getLLVMFieldNo(FD)); in ComputeRecordLayout()
H A DCGExprConstant.cpp340 llvm::GetElementPtrInst::getTypeAtIndex(CA->getType(), (uint64_t)0); in split()
/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64RegisterBankInfo.cpp602 EltTy = StructEltTy->getTypeAtIndex(0U); in onlyDefinesFP()
/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonCommonGEP.cpp396 PtrTy = GetElementPtrInst::getTypeAtIndex(PtrTy, Op); in processGepInst()
/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64FastISel.cpp3368 cast<StructType>(Callee->getReturnType())->getTypeAtIndex(0U); in foldXALUIntrinsic()
3658 Type *RetTy = Ty->getTypeAtIndex(0U); in fastLowerIntrinsicCall()
5049 Type *RetTy = RetPairTy->getTypeAtIndex(0U); in selectAtomicCmpXchg()
5050 assert(RetPairTy->getTypeAtIndex(1U)->isIntegerTy(1) && in selectAtomicCmpXchg()
/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp695 LoadInst *NewLoad = IC.combineLoadToNewType(LI, ST->getTypeAtIndex(0U), in unpackLoadToAggregate()
H A DInstructionCombining.cpp2859 GetElementPtrInst::getTypeAtIndex(CurTy, Op1->getOperand(J)); in visitGetElementPtrInst()
/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroSplit.cpp339 Shape.FrameTy->getTypeAtIndex(coro::Shape::SwitchFieldIndex::Resume))); in replaceFallthroughCoroEnd()

12