Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/Target/WebAssembly/
H A DWebAssemblyLowerGlobalDtors.cpp75 !ETy->getTypeAtIndex(0U)->isIntegerTy() || in runOnModule()
76 !ETy->getTypeAtIndex(1U)->isPointerTy() || in runOnModule()
77 !ETy->getTypeAtIndex(2U)->isPointerTy()) in runOnModule()
/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DAnalysis.cpp397 Type *DeeperType = SubTypes.back()->getTypeAtIndex(Path.back()); in advanceToNextLeafType()
406 DeeperType = CT->getTypeAtIndex(0U); in advanceToNextLeafType()
432 Next = cast<CompositeType>(Next)->getTypeAtIndex(0U); in firstRealType()
442 while (SubTypes.back()->getTypeAtIndex(Path.back())->isAggregateType()) { in firstRealType()
459 } while (SubTypes.back()->getTypeAtIndex(Path.back())->isAggregateType()); in nextRealType()
630 Type *SlotType = RetSubTypes.back()->getTypeAtIndex(RetPath.back()); in returnTypeIsEligibleForTailCall()
/freebsd-12.1/contrib/llvm/lib/FuzzMutate/
H A DOperations.cpp229 if (STy->getTypeAtIndex(I) == V->getType()) in matchScalarInAggregate()
240 makeConstantsWithType(STy->getTypeAtIndex(I), Result); in matchScalarInAggregate()
251 CTy->getTypeAtIndex(CI->getZExtValue()) == Cur[1]->getType()) in validInsertValueIndex()
260 if (CTy->getTypeAtIndex(I) == Cur[1]->getType()) in validInsertValueIndex()
/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DDerivedTypes.h168 Type *getTypeAtIndex(const Value *V) const;
169 Type *getTypeAtIndex(unsigned Idx) const;
H A DGetElementPtrTypeIterator.h72 return CurTy.get<StructType *>()->getTypeAtIndex(getOperand()); in getIndexedType()
/freebsd-12.1/contrib/llvm/lib/IR/
H A DType.cpp530 Type *CompositeType::getTypeAtIndex(const Value *V) const { in getTypeAtIndex() function in CompositeType
541 Type *CompositeType::getTypeAtIndex(unsigned Idx) const{ in getTypeAtIndex() function in CompositeType
H A DVerifier.cpp647 STy->getTypeAtIndex(0u)->isIntegerTy(32) && in visitGlobalVariable()
648 STy->getTypeAtIndex(1) == FuncPtrTy, in visitGlobalVariable()
651 Type *ETy = STy->getTypeAtIndex(2); in visitGlobalVariable()
H A DInstructions.cpp1488 Agg = CT->getTypeAtIndex(Index); in getIndexedTypeInternal()
2008 Agg = cast<CompositeType>(Agg)->getTypeAtIndex(Index); in getIndexedType()
H A DConstantFold.cpp2242 Prev = Ty, Ty = cast<CompositeType>(Ty)->getTypeAtIndex(Idxs[i]), ++i) { in ConstantFoldGetElementPtr()
H A DConstants.cpp973 assert(V[I]->getType() == T->getTypeAtIndex(I) && in ConstantAggregate()
H A DCore.cpp706 return wrap(Ty->getTypeAtIndex(i)); in LLVMStructGetTypeAtIndex()
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DEvaluator.cpp347 NewTy = STy->getTypeAtIndex(0U); in EvaluateBlock()
/freebsd-12.1/contrib/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp1947 if (!isa<IntegerType>(ETy->getTypeAtIndex(0U)) || in EmitXXStructorList()
1948 !isa<PointerType>(ETy->getTypeAtIndex(1U))) return; // Not (int, ptr). in EmitXXStructorList()
1949 if (ETy->getNumElements() == 3 && !isa<PointerType>(ETy->getTypeAtIndex(2U))) in EmitXXStructorList()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGRecordLayoutBuilder.cpp819 llvm::Type *ElementTy = ST->getTypeAtIndex(RL->getLLVMFieldNo(FD)); in ComputeRecordLayout()
/freebsd-12.1/contrib/llvm/lib/Transforms/IPO/
H A DArgumentPromotion.cpp294 ElTy = cast<CompositeType>(ElTy)->getTypeAtIndex(II); in doPromotion()
/freebsd-12.1/contrib/llvm/lib/Target/X86/
H A DX86FastISel.cpp251 cast<StructType>(Callee->getReturnType())->getTypeAtIndex(0U); in foldX86XALUIntrinsic()
2883 Type *RetTy = Ty->getTypeAtIndex(0U); in fastLowerIntrinsicCall()
2884 assert(Ty->getTypeAtIndex(1)->isIntegerTy() && in fastLowerIntrinsicCall()
2885 Ty->getTypeAtIndex(1)->getScalarSizeInBits() == 1 && in fastLowerIntrinsicCall()
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DScalarEvolutionExpander.cpp476 ElTy = STy->getTypeAtIndex(ElIdx); in expandAddToGEP()
487 ElTy = STy->getTypeAtIndex(0u); in expandAddToGEP()
H A DConstantFolding.cpp956 Ty = STy->getTypeAtIndex(ElIdx); in SymbolicallyEvaluateGEP()
H A DScalarEvolution.cpp3475 CurTy = STy->getTypeAtIndex(Index); in getGEPExpr()
/freebsd-12.1/contrib/llvm/lib/Target/AArch64/
H A DAArch64FastISel.cpp3357 cast<StructType>(Callee->getReturnType())->getTypeAtIndex(0U); in foldXALUIntrinsic()
3640 Type *RetTy = Ty->getTypeAtIndex(0U); in fastLowerIntrinsicCall()
5036 Type *RetTy = RetPairTy->getTypeAtIndex(0U); in selectAtomicCmpXchg()
5037 assert(RetPairTy->getTypeAtIndex(1U)->isIntegerTy(1) && in selectAtomicCmpXchg()
/freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp695 LoadInst *NewLoad = combineLoadToNewType(IC, LI, ST->getTypeAtIndex(0U), in unpackLoadToAggregate()
H A DInstCombineCasts.cpp2306 SrcElTy = cast<CompositeType>(SrcElTy)->getTypeAtIndex(0U); in visitBitCast()
H A DInstructionCombining.cpp1666 CurTy = CT->getTypeAtIndex(Op1->getOperand(J)); in visitGetElementPtrInst()