Home
last modified time | relevance | path

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

/NextBSD/contrib/llvm/include/llvm/IR/
HDGetElementPtrTypeIterator.h31 PointerIntPair<Type *, 1> CurTy; variable
38 I.CurTy.setPointer(Ty); in begin()
45 I.CurTy.setPointer(Ty); in begin()
46 I.CurTy.setInt(true); in begin()
65 if (CurTy.getInt())
66 return CurTy.getPointer()->getPointerTo(AddrSpace);
67 return CurTy.getPointer();
71 if (CurTy.getInt()) in getIndexedType()
72 return CurTy.getPointer(); in getIndexedType()
73 CompositeType *CT = cast<CompositeType>(CurTy.getPointer()); in getIndexedType()
[all …]
/NextBSD/contrib/llvm/lib/Bitcode/Reader/
HDBitcodeReader.cpp2158 Type *CurTy = Type::getInt32Ty(Context); in parseConstants() local
2187 V = UndefValue::get(CurTy); in parseConstants()
2194 CurTy = TypeList[Record[0]]; in parseConstants()
2197 V = Constant::getNullValue(CurTy); in parseConstants()
2200 if (!CurTy->isIntegerTy() || Record.empty()) in parseConstants()
2202 V = ConstantInt::get(CurTy, decodeSignRotatedValue(Record[0])); in parseConstants()
2205 if (!CurTy->isIntegerTy() || Record.empty()) in parseConstants()
2209 readWideAPInt(Record, cast<IntegerType>(CurTy)->getBitWidth()); in parseConstants()
2217 if (CurTy->isHalfTy()) in parseConstants()
2220 else if (CurTy->isFloatTy()) in parseConstants()
[all …]
/NextBSD/contrib/llvm/lib/Transforms/InstCombine/
HDInstructionCombining.cpp1384 Type *CurTy = Op1->getOperand(0)->getType()->getScalarType(); in visitGetElementPtrInst() local
1398 if (J > 1 && CurTy->isStructTy()) in visitGetElementPtrInst()
1415 if (CompositeType *CT = dyn_cast<CompositeType>(CurTy)) { in visitGetElementPtrInst()
1416 CurTy = CT->getTypeAtIndex(Op1->getOperand(J)); in visitGetElementPtrInst()
1418 CurTy = nullptr; in visitGetElementPtrInst()
/NextBSD/contrib/llvm/lib/CodeGen/
HDCodeGenPrepare.cpp3588 Type *CurTy = UI->getType(); in hasSameExtUse() local
3590 if (CurTy == ExtTy) in hasSameExtUse()
3610 CurTy->getScalarType()->getIntegerBitWidth()) { in hasSameExtUse()
3611 NarrowTy = CurTy; in hasSameExtUse()
3615 LargeTy = CurTy; in hasSameExtUse()
/NextBSD/contrib/llvm/tools/clang/lib/AST/
HDType.cpp242 const Type *CurTy = Qs.strip(Cur); in getSplitDesugaredType() local
243 switch (CurTy->getTypeClass()) { in getSplitDesugaredType()
247 const Class##Type *Ty = cast<Class##Type>(CurTy); \ in getSplitDesugaredType()
HDVTableBuilder.cpp2746 QualType CurTy = Element.Base->getType(); in ComputeThisOffset() local
2748 *CurRD = CurTy->getAsCXXRecordDecl(); in ComputeThisOffset()
/NextBSD/contrib/llvm/lib/Analysis/
HDScalarEvolution.cpp2945 Type *CurTy = PointerType::getUnqual(PointeeType); in getGEPExpr() local
2948 if (StructType *STy = dyn_cast<StructType>(CurTy)) { in getGEPExpr()
2958 CurTy = STy->getTypeAtIndex(Index); in getGEPExpr()
2961 CurTy = cast<SequentialType>(CurTy)->getElementType(); in getGEPExpr()
2963 const SCEV *ElementSize = getSizeOfExpr(IntPtrTy, CurTy); in getGEPExpr()
/NextBSD/contrib/llvm/lib/Transforms/Vectorize/
HDSLPVectorizer.cpp1274 Type *CurTy = cast<Instruction>(VL[j])->getOperand(0)->getType(); in buildTree_rec() local
1275 if (Ty0 != CurTy) { in buildTree_rec()