Home
last modified time | relevance | path

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

/external/llvm/include/llvm/IR/
DGetElementPtrTypeIterator.h31 PointerIntPair<Type *, 1> CurTy; variable
39 I.CurTy.setPointer(Ty); in begin()
40 I.CurTy.setInt(true); in begin()
59 if (CurTy.getInt())
60 return CurTy.getPointer()->getPointerTo(AddrSpace);
61 return CurTy.getPointer();
65 if (CurTy.getInt()) in getIndexedType()
66 return CurTy.getPointer(); in getIndexedType()
67 CompositeType *CT = cast<CompositeType>(CurTy.getPointer()); in getIndexedType()
78 if (CurTy.getInt()) {
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DGetElementPtrTypeIterator.h29 Type *CurTy; variable
35 I.CurTy = Ty; in begin()
41 I.CurTy = 0; in end()
54 return CurTy;
58 CompositeType *CT = cast<CompositeType>(CurTy); in getIndexedType()
69 if (CompositeType *CT = dyn_cast<CompositeType>(CurTy)) {
70 CurTy = CT->getTypeAtIndex(getOperand());
72 CurTy = 0;
/external/swiftshader/third_party/LLVM/lib/Bitcode/Reader/
DBitcodeReader.cpp1204 Type *CurTy = Type::getInt32Ty(Context); in ParseConstants() local
1231 V = UndefValue::get(CurTy); in ParseConstants()
1238 CurTy = TypeList[Record[0]]; in ParseConstants()
1241 V = Constant::getNullValue(CurTy); in ParseConstants()
1244 if (!CurTy->isIntegerTy() || Record.empty()) in ParseConstants()
1246 V = ConstantInt::get(CurTy, DecodeSignRotatedValue(Record[0])); in ParseConstants()
1249 if (!CurTy->isIntegerTy() || Record.empty()) in ParseConstants()
1258 APInt(cast<IntegerType>(CurTy)->getBitWidth(), in ParseConstants()
1265 if (CurTy->isFloatTy()) in ParseConstants()
1267 else if (CurTy->isDoubleTy()) in ParseConstants()
[all …]
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp2873 Type *CurTy = Type::getInt32Ty(Context); in parseConstants() local
2903 V = UndefValue::get(CurTy); in parseConstants()
2912 CurTy = TypeList[Record[0]]; in parseConstants()
2915 V = Constant::getNullValue(CurTy); in parseConstants()
2918 if (!CurTy->isIntegerTy() || Record.empty()) in parseConstants()
2920 V = ConstantInt::get(CurTy, decodeSignRotatedValue(Record[0])); in parseConstants()
2923 if (!CurTy->isIntegerTy() || Record.empty()) in parseConstants()
2927 readWideAPInt(Record, cast<IntegerType>(CurTy)->getBitWidth()); in parseConstants()
2935 if (CurTy->isHalfTy()) in parseConstants()
2938 else if (CurTy->isFloatTy()) in parseConstants()
[all …]
/external/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp1403 Type *CurTy = nullptr; in visitGetElementPtrInst() local
1417 if (J > 1 && CurTy->isStructTy()) in visitGetElementPtrInst()
1435 CurTy = Op1->getSourceElementType(); in visitGetElementPtrInst()
1436 } else if (CompositeType *CT = dyn_cast<CompositeType>(CurTy)) { in visitGetElementPtrInst()
1437 CurTy = CT->getTypeAtIndex(Op1->getOperand(J)); in visitGetElementPtrInst()
1439 CurTy = nullptr; in visitGetElementPtrInst()
/external/llvm/lib/CodeGen/
DCodeGenPrepare.cpp4085 Type *CurTy = UI->getType(); in hasSameExtUse() local
4087 if (CurTy == ExtTy) in hasSameExtUse()
4107 CurTy->getScalarType()->getIntegerBitWidth()) { in hasSameExtUse()
4108 NarrowTy = CurTy; in hasSameExtUse()
4112 LargeTy = CurTy; in hasSameExtUse()
/external/clang/lib/AST/
DType.cpp243 const Type *CurTy = Qs.strip(Cur); in getSplitDesugaredType() local
244 switch (CurTy->getTypeClass()) { in getSplitDesugaredType()
248 const Class##Type *Ty = cast<Class##Type>(CurTy); \ in getSplitDesugaredType()
DVTableBuilder.cpp2697 QualType CurTy = Element.Base->getType(); in ComputeThisOffset() local
2699 *CurRD = CurTy->getAsCXXRecordDecl(); in ComputeThisOffset()
/external/llvm/lib/Analysis/
DScalarEvolution.cpp2989 Type *CurTy = PointerType::getUnqual(PointeeType); in getGEPExpr() local
2992 if (StructType *STy = dyn_cast<StructType>(CurTy)) { in getGEPExpr()
3002 CurTy = STy->getTypeAtIndex(Index); in getGEPExpr()
3005 CurTy = cast<SequentialType>(CurTy)->getElementType(); in getGEPExpr()
3007 const SCEV *ElementSize = getSizeOfExpr(IntPtrTy, CurTy); in getGEPExpr()
/external/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp1303 Type *CurTy = cast<Instruction>(VL[j])->getOperand(0)->getType(); in buildTree_rec() local
1304 if (Ty0 != CurTy) { in buildTree_rec()