Home
last modified time | relevance | path

Searched refs:CurTy (Results 1 – 9 of 9) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DGetElementPtrTypeIterator.h66 PointerUnion<StructType *, VectorType *, Type *> CurTy; variable
79 I.CurTy = Ty; in begin()
103 if (auto *T = dyn_cast_if_present<Type *>(CurTy)) in getIndexedType()
105 if (auto *VT = dyn_cast_if_present<VectorType *>(CurTy)) in getIndexedType()
107 return cast<StructType *>(CurTy)->getTypeAtIndex(getOperand()); in getIndexedType()
115 CurTy = ATy->getElementType();
117 CurTy = VTy;
119 CurTy = dyn_cast<StructType>(Ty);
145 bool isStruct() const { return isa<StructType *>(CurTy); } in isStruct()
146 bool isVector() const { return isa<VectorType *>(CurTy); } in isVector()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp3035 V = UndefValue::get(CurTy); in parseConstants()
3038 V = PoisonValue::get(CurTy); in parseConstants()
3048 CurTy = TypeList[CurTyID]; in parseConstants()
3052 if (CurTy->isVoidTy() || CurTy->isFunctionTy() || CurTy->isLabelTy()) in parseConstants()
3077 if (CurTy->isHalfTy()) in parseConstants()
3083 else if (CurTy->isFloatTy()) in parseConstants()
3396 Alloc, CurTy, in parseConstants()
3530 Alloc, CurTy, in parseConstants()
5109 CurTy = CurTy->getStructElementType(Index); in parseFunctionBody()
5111 CurTy = CurTy->getArrayElementType(); in parseFunctionBody()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp2482 Type *CurTy = nullptr; in visitGetElementPtrInst() local
2497 assert(CurTy && "No current type?"); in visitGetElementPtrInst()
2498 if (CurTy->isStructTy()) in visitGetElementPtrInst()
2517 CurTy = Op1->getSourceElementType(); in visitGetElementPtrInst()
2519 CurTy = in visitGetElementPtrInst()
2520 GetElementPtrInst::getTypeAtIndex(CurTy, Op1->getOperand(J)); in visitGetElementPtrInst()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DType.cpp463 const Type *CurTy = Qs.strip(Cur); in getSplitDesugaredType() local
464 switch (CurTy->getTypeClass()) { in getSplitDesugaredType()
468 const auto *Ty = cast<Class##Type>(CurTy); \ in getSplitDesugaredType()
H A DVTableBuilder.cpp2722 QualType CurTy = Element.Base->getType(); in ComputeThisOffset() local
2724 *CurRD = CurTy->getAsCXXRecordDecl(); in ComputeThisOffset()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp5924 Type *CurTy = UI->getType(); in hasSameExtUse() local
5926 if (CurTy == ExtTy) in hasSameExtUse()
5946 CurTy->getScalarType()->getIntegerBitWidth()) { in hasSameExtUse()
5947 NarrowTy = CurTy; in hasSameExtUse()
5951 LargeTy = CurTy; in hasSameExtUse()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DScalarEvolution.cpp3763 Type *CurTy = GEP->getType(); in getGEPExpr() local
3768 if (StructType *STy = dyn_cast<StructType>(CurTy)) { in getGEPExpr()
3776 CurTy = STy->getTypeAtIndex(Index); in getGEPExpr()
3780 assert(isa<PointerType>(CurTy) && in getGEPExpr()
3782 CurTy = GEP->getSourceElementType(); in getGEPExpr()
3785 CurTy = GetElementPtrInst::getTypeAtIndex(CurTy, (uint64_t)0); in getGEPExpr()
3788 const SCEV *ElementSize = getSizeOfExpr(IntIdxTy, CurTy); in getGEPExpr()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp2401 LLT CurTy = MRI.getType(SrcReg); in widenScalar() local
2408 APInt::getOneBitSet(WideTy.getSizeInBits(), CurTy.getSizeInBits()); in widenScalar()
2421 unsigned SizeDiff = WideTy.getSizeInBits() - CurTy.getSizeInBits(); in widenScalar()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp5396 Type *CurTy = GEP->getSourceElementType(); in getScalarsVectorizationState() local
5397 if (Ty0 != CurTy) { in getScalarsVectorizationState()