/external/llvm/include/llvm/IR/ |
D | GetElementPtrTypeIterator.h | 31 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-7.0/llvm/include/llvm/IR/ |
D | GetElementPtrTypeIterator.h | 37 PointerUnion<StructType *, Type *> CurTy; variable 46 I.CurTy = Ty; in begin() 70 if (auto *T = CurTy.dyn_cast<Type *>()) in getIndexedType() 72 return CurTy.get<StructType *>()->getTypeAtIndex(getOperand()); in getIndexedType() 80 CurTy = STy->getElementType(); 83 CurTy = dyn_cast<StructType>(Ty); 107 bool isStruct() const { return CurTy.is<StructType *>(); } in isStruct() 108 bool isSequential() const { return CurTy.is<Type *>(); } in isSequential() 110 StructType *getStructType() const { return CurTy.get<StructType *>(); } in getStructType() 113 return CurTy.dyn_cast<StructType *>(); in getStructTypeOrNull()
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | GetElementPtrTypeIterator.h | 29 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-7.0/llvm/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 2136 Type *CurTy = Type::getInt32Ty(Context); in parseConstants() local 2167 V = UndefValue::get(CurTy); in parseConstants() 2176 CurTy = TypeList[Record[0]]; in parseConstants() 2179 V = Constant::getNullValue(CurTy); in parseConstants() 2182 if (!CurTy->isIntegerTy() || Record.empty()) in parseConstants() 2184 V = ConstantInt::get(CurTy, decodeSignRotatedValue(Record[0])); in parseConstants() 2187 if (!CurTy->isIntegerTy() || Record.empty()) in parseConstants() 2191 readWideAPInt(Record, cast<IntegerType>(CurTy)->getBitWidth()); in parseConstants() 2199 if (CurTy->isHalfTy()) in parseConstants() 2202 else if (CurTy->isFloatTy()) in parseConstants() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 1204 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/ |
D | BitcodeReader.cpp | 2873 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/ |
D | InstructionCombining.cpp | 1403 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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstructionCombining.cpp | 1517 Type *CurTy = nullptr; in visitGetElementPtrInst() local 1531 if (J > 1 && CurTy->isStructTy()) in visitGetElementPtrInst() 1549 CurTy = Op1->getSourceElementType(); in visitGetElementPtrInst() 1550 } else if (auto *CT = dyn_cast<CompositeType>(CurTy)) { in visitGetElementPtrInst() 1551 CurTy = CT->getTypeAtIndex(Op1->getOperand(J)); in visitGetElementPtrInst() 1553 CurTy = nullptr; in visitGetElementPtrInst()
|
/external/llvm/lib/CodeGen/ |
D | CodeGenPrepare.cpp | 4085 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/ |
D | Type.cpp | 243 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()
|
D | VTableBuilder.cpp | 2697 QualType CurTy = Element.Base->getType(); in ComputeThisOffset() local 2699 *CurRD = CurTy->getAsCXXRecordDecl(); in ComputeThisOffset()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | CodeGenPrepare.cpp | 4757 Type *CurTy = UI->getType(); in hasSameExtUse() local 4759 if (CurTy == ExtTy) in hasSameExtUse() 4779 CurTy->getScalarType()->getIntegerBitWidth()) { in hasSameExtUse() 4780 NarrowTy = CurTy; in hasSameExtUse() 4784 LargeTy = CurTy; in hasSameExtUse()
|
/external/llvm/lib/Analysis/ |
D | ScalarEvolution.cpp | 2989 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/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | ScalarEvolution.cpp | 3457 Type *CurTy = ArrayType::get(GEP->getSourceElementType(), 0); in getGEPExpr() local 3460 if (StructType *STy = dyn_cast<StructType>(CurTy)) { in getGEPExpr() 3470 CurTy = STy->getTypeAtIndex(Index); in getGEPExpr() 3473 CurTy = cast<SequentialType>(CurTy)->getElementType(); in getGEPExpr() 3475 const SCEV *ElementSize = getSizeOfExpr(IntPtrTy, CurTy); in getGEPExpr()
|
/external/llvm/lib/Transforms/Vectorize/ |
D | SLPVectorizer.cpp | 1303 Type *CurTy = cast<Instruction>(VL[j])->getOperand(0)->getType(); in buildTree_rec() local 1304 if (Ty0 != CurTy) { in buildTree_rec()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Vectorize/ |
D | SLPVectorizer.cpp | 1796 Type *CurTy = cast<Instruction>(VL[j])->getOperand(0)->getType(); in buildTree_rec() local 1797 if (Ty0 != CurTy) { in buildTree_rec()
|