Home
last modified time | relevance | path

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

/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/IR/
DGetElementPtrTypeIterator.h34 PointerUnion<StructType *, Type *> CurTy; variable
49 I.CurTy = Ty; in begin()
73 if (auto *T = CurTy.dyn_cast<Type *>()) in getIndexedType()
75 return CurTy.get<StructType *>()->getTypeAtIndex(getOperand()); in getIndexedType()
83 CurTy = ATy->getElementType();
86 CurTy = VTy->getElementType();
92 CurTy = dyn_cast<StructType>(Ty);
118 bool isStruct() const { return CurTy.is<StructType *>(); } in isStruct()
119 bool isSequential() const { return CurTy.is<Type *>(); } in isSequential()
121 StructType *getStructType() const { return CurTy.get<StructType *>(); } in getStructType()
[all …]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp2342 Type *CurTy = Type::getInt32Ty(Context); in parseConstants() local
2411 V = UndefValue::get(CurTy); in parseConstants()
2414 V = PoisonValue::get(CurTy); in parseConstants()
2423 CurTy = TypeList[Record[0]]; in parseConstants()
2426 if (CurTy->isVoidTy() || CurTy->isFunctionTy() || CurTy->isLabelTy()) in parseConstants()
2428 V = Constant::getNullValue(CurTy); in parseConstants()
2431 if (!CurTy->isIntegerTy() || Record.empty()) in parseConstants()
2433 V = ConstantInt::get(CurTy, decodeSignRotatedValue(Record[0])); in parseConstants()
2436 if (!CurTy->isIntegerTy() || Record.empty()) in parseConstants()
2440 readWideAPInt(Record, cast<IntegerType>(CurTy)->getBitWidth()); in parseConstants()
[all …]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp1993 Type *CurTy = nullptr; in visitGetElementPtrInst() local
2008 assert(CurTy && "No current type?"); in visitGetElementPtrInst()
2009 if (CurTy->isStructTy()) in visitGetElementPtrInst()
2028 CurTy = Op1->getSourceElementType(); in visitGetElementPtrInst()
2030 CurTy = in visitGetElementPtrInst()
2031 GetElementPtrInst::getTypeAtIndex(CurTy, Op1->getOperand(J)); in visitGetElementPtrInst()
/freebsd-12-stable/contrib/llvm-project/clang/lib/AST/
DType.cpp441 const Type *CurTy = Qs.strip(Cur); in getSplitDesugaredType() local
442 switch (CurTy->getTypeClass()) { in getSplitDesugaredType()
446 const auto *Ty = cast<Class##Type>(CurTy); \ in getSplitDesugaredType()
DVTableBuilder.cpp2718 QualType CurTy = Element.Base->getType(); in ComputeThisOffset() local
2720 *CurRD = CurTy->getAsCXXRecordDecl(); in ComputeThisOffset()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/
DCodeGenPrepare.cpp5665 Type *CurTy = UI->getType(); in hasSameExtUse() local
5667 if (CurTy == ExtTy) in hasSameExtUse()
5687 CurTy->getScalarType()->getIntegerBitWidth()) { in hasSameExtUse()
5688 NarrowTy = CurTy; in hasSameExtUse()
5692 LargeTy = CurTy; in hasSameExtUse()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Analysis/
DScalarEvolution.cpp3604 Type *CurTy = GEP->getType(); in getGEPExpr() local
3609 if (StructType *STy = dyn_cast<StructType>(CurTy)) { in getGEPExpr()
3617 CurTy = STy->getTypeAtIndex(Index); in getGEPExpr()
3621 assert(isa<PointerType>(CurTy) && in getGEPExpr()
3623 CurTy = GEP->getSourceElementType(); in getGEPExpr()
3626 CurTy = GetElementPtrInst::getTypeAtIndex(CurTy, (uint64_t)0); in getGEPExpr()
3629 const SCEV *ElementSize = getSizeOfExpr(IntIdxTy, CurTy); in getGEPExpr()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
DLegalizerHelper.cpp2056 LLT CurTy = MRI.getType(SrcReg); in widenScalar() local
2062 APInt::getOneBitSet(WideTy.getSizeInBits(), CurTy.getSizeInBits()); in widenScalar()
2073 unsigned SizeDiff = WideTy.getSizeInBits() - CurTy.getSizeInBits(); in widenScalar()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp3184 Type *CurTy = cast<Instruction>(V)->getOperand(0)->getType(); in buildTree_rec() local
3185 if (Ty0 != CurTy) { in buildTree_rec()