• Home
  • Raw
  • Download

Lines Matching refs:CurTy

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()
2941 else if (CurTy->isDoubleTy()) in parseConstants()
2944 else if (CurTy->isX86_FP80Ty()) { in parseConstants()
2951 } else if (CurTy->isFP128Ty()) in parseConstants()
2954 else if (CurTy->isPPC_FP128Ty()) in parseConstants()
2958 V = UndefValue::get(CurTy); in parseConstants()
2969 if (StructType *STy = dyn_cast<StructType>(CurTy)) { in parseConstants()
2974 } else if (ArrayType *ATy = dyn_cast<ArrayType>(CurTy)) { in parseConstants()
2979 } else if (VectorType *VTy = dyn_cast<VectorType>(CurTy)) { in parseConstants()
2985 V = UndefValue::get(CurTy); in parseConstants()
3003 Type *EltTy = cast<SequentialType>(CurTy)->getElementType(); in parseConstants()
3006 if (isa<VectorType>(CurTy)) in parseConstants()
3012 if (isa<VectorType>(CurTy)) in parseConstants()
3018 if (isa<VectorType>(CurTy)) in parseConstants()
3024 if (isa<VectorType>(CurTy)) in parseConstants()
3030 if (isa<VectorType>(CurTy)) in parseConstants()
3036 if (isa<VectorType>(CurTy)) in parseConstants()
3042 if (isa<VectorType>(CurTy)) in parseConstants()
3054 int Opc = getDecodedBinaryOpcode(Record[0], CurTy); in parseConstants()
3056 V = UndefValue::get(CurTy); // Unknown binop. in parseConstants()
3058 Constant *LHS = ValueList.getConstantFwdRef(Record[1], CurTy); in parseConstants()
3059 Constant *RHS = ValueList.getConstantFwdRef(Record[2], CurTy); in parseConstants()
3087 V = UndefValue::get(CurTy); // Unknown cast. in parseConstants()
3093 V = UpgradeBitCastExpr(Opc, Op, CurTy); in parseConstants()
3094 if (!V) V = ConstantExpr::getCast(Opc, Op, CurTy); in parseConstants()
3136 if (VectorType *VTy = dyn_cast<VectorType>(CurTy)) in parseConstants()
3143 ValueList.getConstantFwdRef(Record[1],CurTy), in parseConstants()
3144 ValueList.getConstantFwdRef(Record[2],CurTy)); in parseConstants()
3171 VectorType *OpTy = dyn_cast<VectorType>(CurTy); in parseConstants()
3191 VectorType *OpTy = dyn_cast<VectorType>(CurTy); in parseConstants()
3203 VectorType *RTy = dyn_cast<VectorType>(CurTy); in parseConstants()
3250 PointerType *PTy = cast<PointerType>(CurTy); in parseConstants()
3275 PointerType *PTy = cast<PointerType>(CurTy); in parseConstants()
4637 Type *CurTy = Agg->getType(); in parseFunctionBody() local
4639 bool IsArray = CurTy->isArrayTy(); in parseFunctionBody()
4640 bool IsStruct = CurTy->isStructTy(); in parseFunctionBody()
4647 if (IsStruct && Index >= CurTy->subtypes().size()) in parseFunctionBody()
4649 if (IsArray && Index >= CurTy->getArrayNumElements()) in parseFunctionBody()
4654 CurTy = CurTy->subtypes()[Index]; in parseFunctionBody()
4656 CurTy = CurTy->subtypes()[0]; in parseFunctionBody()
4679 Type *CurTy = Agg->getType(); in parseFunctionBody() local
4681 bool IsArray = CurTy->isArrayTy(); in parseFunctionBody()
4682 bool IsStruct = CurTy->isStructTy(); in parseFunctionBody()
4689 if (IsStruct && Index >= CurTy->subtypes().size()) in parseFunctionBody()
4691 if (IsArray && Index >= CurTy->getArrayNumElements()) in parseFunctionBody()
4696 CurTy = CurTy->subtypes()[Index]; in parseFunctionBody()
4698 CurTy = CurTy->subtypes()[0]; in parseFunctionBody()
4701 if (CurTy != Val->getType()) in parseFunctionBody()