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

/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DGetElementPtrTypeIterator.h36 PointerUnion<StructType *, Type *> CurTy; member in class:llvm::generic_gep_type_iterator
45 I.CurTy = Ty;
69 if (auto *T = CurTy.dyn_cast<Type *>())
71 return CurTy.get<StructType *>()->getTypeAtIndex(getOperand());
79 CurTy = STy->getElementType();
82 CurTy = dyn_cast<StructType>(Ty);
106 bool isStruct() const { return CurTy.is<StructType *>(); }
107 bool isSequential() const { return CurTy.is<Type *>(); }
109 StructType *getStructType() const { return CurTy.get<StructType *>(); }
112 return CurTy
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp2332 Type *CurTy = Type::getInt32Ty(Context); local
2369 V = UndefValue::get(CurTy);
2379 CurTy = flattenPointerTypes(CurFullTy);
2382 if (CurTy->isVoidTy() || CurTy->isFunctionTy() || CurTy->isLabelTy())
2384 V = Constant::getNullValue(CurTy);
2387 if (!CurTy->isIntegerTy() || Record.empty())
2389 V = ConstantInt::get(CurTy, decodeSignRotatedValue(Record[0]));
2392 if (!CurTy
4052 Type *CurTy = Agg->getType(); local
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp1756 Type *CurTy = nullptr;
1771 assert(CurTy && "No current type?");
1772 if (CurTy->isStructTy())
1791 CurTy = Op1->getSourceElementType();
1792 } else if (auto *CT = dyn_cast<CompositeType>(CurTy)) {
1793 CurTy = CT->getTypeAtIndex(Op1->getOperand(J));
1795 CurTy = nullptr;
/freebsd-12-stable/contrib/llvm-project/clang/lib/AST/
H A DType.cpp373 const Type *CurTy = Qs.strip(Cur); local
374 switch (CurTy->getTypeClass()) {
378 const auto *Ty = cast<Class##Type>(CurTy); \
H A DVTableBuilder.cpp2670 QualType CurTy = Element.Base->getType(); local
2672 *CurRD = CurTy->getAsCXXRecordDecl();
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp5183 Type *CurTy = UI->getType();
5185 if (CurTy == ExtTy)
5205 CurTy->getScalarType()->getIntegerBitWidth()) {
5206 NarrowTy = CurTy;
5210 LargeTy = CurTy;
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp1485 LLT CurTy = MRI.getType(SrcReg); local
1491 APInt::getOneBitSet(WideTy.getSizeInBits(), CurTy.getSizeInBits());
1502 unsigned SizeDiff = WideTy.getSizeInBits() - CurTy.getSizeInBits();
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DScalarEvolution.cpp3508 // The array size is unimportant. The first thing we do on CurTy is getting
3510 Type *CurTy = ArrayType::get(GEP->getSourceElementType(), 0);
3513 if (StructType *STy = dyn_cast<StructType>(CurTy)) {
3522 // Update CurTy to the type of the field at Index.
3523 CurTy = STy->getTypeAtIndex(Index);
3525 // Update CurTy to its element type.
3526 CurTy = cast<SequentialType>(CurTy)->getElementType();
3528 const SCEV *ElementSize = getSizeOfExpr(IntIdxTy, CurTy);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp2880 Type *CurTy = cast<Instruction>(V)->getOperand(0)->getType();
2881 if (Ty0 != CurTy) {

Completed in 385 milliseconds