Searched refs:CurTy (Results 1 – 9 of 9) sorted by relevance
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | GetElementPtrTypeIterator.h | 41 // 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 D | BitcodeReader.cpp | 3127 Type *CurTy = Type::getInt32Ty(Context); in parseConstants() local 3128 unsigned Int32TyID = getVirtualTypeID(CurTy); in parseConstants() 3162 V = UndefValue::get(CurTy); in parseConstants() 3165 V = PoisonValue::get(CurTy); in parseConstants() 3175 CurTy = TypeList[CurTyID]; in parseConstants() 3179 if (CurTy->isVoidTy() || CurTy->isFunctionTy() || CurTy->isLabelTy()) in parseConstants() 3181 if (auto *TETy = dyn_cast<TargetExtType>(CurTy)) in parseConstants() 3184 V = Constant::getNullValue(CurTy); in parseConstants() 3187 if (!CurTy->isIntOrIntVectorTy() || Record.empty()) in parseConstants() 3189 V = ConstantInt::get(CurTy, decodeSignRotatedValue(Record[0])); in parseConstants() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstructionCombining.cpp | 2833 Type *CurTy = nullptr; in visitGetElementPtrInst() local 2848 assert(CurTy && "No current type?"); in visitGetElementPtrInst() 2849 if (CurTy->isStructTy()) in visitGetElementPtrInst() 2868 CurTy = Op1->getSourceElementType(); in visitGetElementPtrInst() 2870 CurTy = in visitGetElementPtrInst() 2871 GetElementPtrInst::getTypeAtIndex(CurTy, Op1->getOperand(J)); in visitGetElementPtrInst()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | CodeGenPrepare.cpp | 6040 Type *CurTy = UI->getType(); in hasSameExtUse() local 6042 if (CurTy == ExtTy) in hasSameExtUse() 6062 CurTy->getScalarType()->getIntegerBitWidth()) { in hasSameExtUse() 6063 NarrowTy = CurTy; in hasSameExtUse() 6067 LargeTy = CurTy; in hasSameExtUse()
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | Type.cpp | 495 const Type *CurTy = Qs.strip(Cur); in getSplitDesugaredType() local 496 switch (CurTy->getTypeClass()) { in getSplitDesugaredType() 500 const auto *Ty = cast<Class##Type>(CurTy); \ in getSplitDesugaredType()
|
H A D | VTableBuilder.cpp | 2815 QualType CurTy = Element.Base->getType(); in ComputeThisOffset() local 2817 *CurRD = CurTy->getAsCXXRecordDecl(); in ComputeThisOffset()
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | ScalarEvolution.cpp | 3767 Type *CurTy = GEP->getType(); in getGEPExpr() local 3772 if (StructType *STy = dyn_cast<StructType>(CurTy)) { in getGEPExpr() 3780 CurTy = STy->getTypeAtIndex(Index); in getGEPExpr() 3784 assert(isa<PointerType>(CurTy) && in getGEPExpr() 3786 CurTy = GEP->getSourceElementType(); in getGEPExpr() 3789 CurTy = GetElementPtrInst::getTypeAtIndex(CurTy, (uint64_t)0); in getGEPExpr() 3792 const SCEV *ElementSize = getSizeOfExpr(IntIdxTy, CurTy); in getGEPExpr()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
H A D | LegalizerHelper.cpp | 2465 LLT CurTy = MRI.getType(SrcReg); in widenScalar() local 2472 APInt::getOneBitSet(WideTy.getSizeInBits(), CurTy.getSizeInBits()); in widenScalar() 2479 unsigned SizeDiff = WideTy.getSizeInBits() - CurTy.getSizeInBits(); in widenScalar()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
H A D | SLPVectorizer.cpp | 6456 Type *CurTy = GEP->getSourceElementType(); in getScalarsVectorizationState() local 6457 if (Ty0 != CurTy) { in getScalarsVectorizationState()
|