Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DGetElementPtrTypeIterator.h36 PointerUnion<StructType *, Type *> CurTy; variable
45 I.CurTy = Ty; in begin()
69 if (auto *T = CurTy.dyn_cast<Type *>()) in getIndexedType()
71 return CurTy.get<StructType *>()->getTypeAtIndex(getOperand()); in getIndexedType()
79 CurTy = STy->getElementType();
82 CurTy = dyn_cast<StructType>(Ty);
106 bool isStruct() const { return CurTy.is<StructType *>(); } in isStruct()
107 bool isSequential() const { return CurTy.is<Type *>(); } in isSequential()
109 StructType *getStructType() const { return CurTy.get<StructType *>(); } in getStructType()
112 return CurTy.dyn_cast<StructType *>(); in getStructTypeOrNull()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp2332 Type *CurTy = Type::getInt32Ty(Context); in parseConstants() local
2369 V = UndefValue::get(CurTy); in parseConstants()
2379 CurTy = flattenPointerTypes(CurFullTy); in parseConstants()
2382 if (CurTy->isVoidTy() || CurTy->isFunctionTy() || CurTy->isLabelTy()) in parseConstants()
2384 V = Constant::getNullValue(CurTy); in parseConstants()
2387 if (!CurTy->isIntegerTy() || Record.empty()) in parseConstants()
2389 V = ConstantInt::get(CurTy, decodeSignRotatedValue(Record[0])); in parseConstants()
2392 if (!CurTy->isIntegerTy() || Record.empty()) in parseConstants()
2396 readWideAPInt(Record, cast<IntegerType>(CurTy)->getBitWidth()); in parseConstants()
2404 if (CurTy->isHalfTy()) in parseConstants()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp1756 Type *CurTy = nullptr; in visitGetElementPtrInst() local
1771 assert(CurTy && "No current type?"); in visitGetElementPtrInst()
1772 if (CurTy->isStructTy()) in visitGetElementPtrInst()
1791 CurTy = Op1->getSourceElementType(); in visitGetElementPtrInst()
1792 } else if (auto *CT = dyn_cast<CompositeType>(CurTy)) { in visitGetElementPtrInst()
1793 CurTy = CT->getTypeAtIndex(Op1->getOperand(J)); in visitGetElementPtrInst()
1795 CurTy = nullptr; in visitGetElementPtrInst()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DCodeGenPrepare.cpp5183 Type *CurTy = UI->getType(); in hasSameExtUse() local
5185 if (CurTy == ExtTy) in hasSameExtUse()
5205 CurTy->getScalarType()->getIntegerBitWidth()) { in hasSameExtUse()
5206 NarrowTy = CurTy; in hasSameExtUse()
5210 LargeTy = CurTy; in hasSameExtUse()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DLegalizerHelper.cpp1485 LLT CurTy = MRI.getType(SrcReg); in widenScalar() local
1491 APInt::getOneBitSet(WideTy.getSizeInBits(), CurTy.getSizeInBits()); in widenScalar()
1502 unsigned SizeDiff = WideTy.getSizeInBits() - CurTy.getSizeInBits(); in widenScalar()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DScalarEvolution.cpp3510 Type *CurTy = ArrayType::get(GEP->getSourceElementType(), 0); in getGEPExpr() local
3513 if (StructType *STy = dyn_cast<StructType>(CurTy)) { in getGEPExpr()
3523 CurTy = STy->getTypeAtIndex(Index); in getGEPExpr()
3526 CurTy = cast<SequentialType>(CurTy)->getElementType(); in getGEPExpr()
3528 const SCEV *ElementSize = getSizeOfExpr(IntIdxTy, CurTy); in getGEPExpr()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp2880 Type *CurTy = cast<Instruction>(V)->getOperand(0)->getType(); in buildTree_rec() local
2881 if (Ty0 != CurTy) { in buildTree_rec()