Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DGetElementPtrTypeIterator.h41 // relevant, e.g. for arrays, the element type is stored as Type* in CurTy.
43 // If CurTy contains a Type* value, this does not imply anything about the
53 // Iterating over the indices of this GEP, CurTy will contain the following in end()
56 // CurTy contains a Type* pointing at `%my.struct`. in end()
58 // CurTy contains a StructType* pointing at `%my.struct`.
61 // CurTy contains a Type* pointing at `float`.
66 PointerUnion<StructType *, VectorType *, Type *> CurTy;
79 I.CurTy = Ty;
103 if (auto *T = dyn_cast_if_present<Type *>(CurTy))
105 if (auto *VT = dyn_cast_if_present<VectorType *>(CurTy))
34 PointerUnion<StructType *, Type *> CurTy; global() variable
[all...]
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp3221 Type *CurTy = Type::getInt32Ty(Context); in parseConstants() local
3222 unsigned Int32TyID = getVirtualTypeID(CurTy); in parseConstants()
3256 V = UndefValue::get(CurTy); in parseConstants()
3259 V = PoisonValue::get(CurTy); in parseConstants()
3269 CurTy = TypeList[CurTyID]; in parseConstants()
3273 if (CurTy->isVoidTy() || CurTy->isFunctionTy() || CurTy->isLabelTy()) in parseConstants()
3275 if (auto *TETy = dyn_cast<TargetExtType>(CurTy)) in parseConstants()
3278 V = Constant::getNullValue(CurTy); in parseConstants()
3281 if (!CurTy->isIntOrIntVectorTy() || Record.empty()) in parseConstants()
3283 V = ConstantInt::get(CurTy, decodeSignRotatedValue(Record[0])); in parseConstants()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp2998 Type *CurTy = nullptr; in foldGEPOfPhi() local
3013 assert(CurTy && "No current type?"); in foldGEPOfPhi()
3014 if (CurTy->isStructTy()) in foldGEPOfPhi()
3033 CurTy = Op1->getSourceElementType(); in foldGEPOfPhi()
3035 CurTy = in foldGEPOfPhi()
3036 GetElementPtrInst::getTypeAtIndex(CurTy, Op1->getOperand(J)); in foldGEPOfPhi()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DType.cpp541 const Type *CurTy = Qs.strip(Cur); in getSplitDesugaredType() local
542 switch (CurTy->getTypeClass()) { in getSplitDesugaredType()
546 const auto *Ty = cast<Class##Type>(CurTy); \ in getSplitDesugaredType()
H A DVTableBuilder.cpp2817 QualType CurTy = Element.Base->getType(); in ComputeThisOffset() local
2819 *CurRD = CurTy->getAsCXXRecordDecl(); in ComputeThisOffset()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp6430 Type *CurTy = UI->getType(); in hasSameExtUse() local
6432 if (CurTy == ExtTy) in hasSameExtUse()
6452 CurTy->getScalarType()->getIntegerBitWidth()) { in hasSameExtUse()
6453 NarrowTy = CurTy; in hasSameExtUse()
6457 LargeTy = CurTy; in hasSameExtUse()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DScalarEvolution.cpp3749 Type *CurTy = GEP->getType(); in getGEPExpr() local
3754 if (StructType *STy = dyn_cast<StructType>(CurTy)) { in getGEPExpr()
3762 CurTy = STy->getTypeAtIndex(Index); in getGEPExpr()
3766 assert(isa<PointerType>(CurTy) && in getGEPExpr()
3768 CurTy = GEP->getSourceElementType(); in getGEPExpr()
3771 CurTy = GetElementPtrInst::getTypeAtIndex(CurTy, (uint64_t)0); in getGEPExpr()
3774 const SCEV *ElementSize = getSizeOfExpr(IntIdxTy, CurTy); in getGEPExpr()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp2764 LLT CurTy = MRI.getType(SrcReg); in widenScalar() local
2771 APInt::getOneBitSet(WideTy.getSizeInBits(), CurTy.getSizeInBits()); in widenScalar()
2778 unsigned SizeDiff = WideTy.getSizeInBits() - CurTy.getSizeInBits(); in widenScalar()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp9239 Type *CurTy = GEP->getSourceElementType(); in getScalarsVectorizationState() local
9240 if (Ty0 != CurTy) { in getScalarsVectorizationState()