Lines Matching refs:OpTy
2098 case bitc::CST_CODE_CE_CAST: { // CE_CAST: [opcode, opty, opval]
2105 Type *OpTy = getTypeByID(Record[1]);
2106 if (!OpTy)
2108 Constant *Op = ValueList.getConstantFwdRef(Record[2], OpTy);
2139 case bitc::CST_CODE_CE_EXTRACTELT: { // CE_EXTRACTELT: [opty, opval, opval]
2142 VectorType *OpTy =
2144 if (!OpTy)
2146 Constant *Op0 = ValueList.getConstantFwdRef(Record[1], OpTy);
2152 VectorType *OpTy = dyn_cast<VectorType>(CurTy);
2153 if (Record.size() < 3 || !OpTy)
2155 Constant *Op0 = ValueList.getConstantFwdRef(Record[0], OpTy);
2157 OpTy->getElementType());
2163 VectorType *OpTy = dyn_cast<VectorType>(CurTy);
2164 if (Record.size() < 3 || !OpTy)
2166 Constant *Op0 = ValueList.getConstantFwdRef(Record[0], OpTy);
2167 Constant *Op1 = ValueList.getConstantFwdRef(Record[1], OpTy);
2169 OpTy->getNumElements());
2174 case bitc::CST_CODE_CE_SHUFVEC_EX: { // [opty, opval, opval, opval]
2176 VectorType *OpTy =
2178 if (Record.size() < 4 || !RTy || !OpTy)
2180 Constant *Op0 = ValueList.getConstantFwdRef(Record[1], OpTy);
2181 Constant *Op1 = ValueList.getConstantFwdRef(Record[2], OpTy);
2188 case bitc::CST_CODE_CE_CMP: { // CE_CMP: [opty, opval, opval, pred]
2191 Type *OpTy = getTypeByID(Record[0]);
2192 if (!OpTy)
2194 Constant *Op0 = ValueList.getConstantFwdRef(Record[1], OpTy);
2195 Constant *Op1 = ValueList.getConstantFwdRef(Record[2], OpTy);
2197 if (OpTy->isFPOrFPVectorTy())
2954 case bitc::FUNC_CODE_INST_CAST: { // CAST: [opval, opty, destty, castopc]
3013 // EXTRACTVAL: [opty, opval, n x indices]
3034 // INSERTVAL: [opty, opval, opty, opval, n x indices]
3099 case bitc::FUNC_CODE_INST_EXTRACTELT: { // EXTRACTELT: [opty, opval, opval]
3137 case bitc::FUNC_CODE_INST_CMP: // CMP: [opty, opval, opval, pred]
3141 case bitc::FUNC_CODE_INST_CMP2: { // CMP2: [opty, opval, opval, pred]
3159 case bitc::FUNC_CODE_INST_RET: // RET: [opty,opval<optional>]
3200 case bitc::FUNC_CODE_INST_SWITCH: { // SWITCH: [opty, op0, op1, ...]
3203 Type *OpTy = getTypeByID(Record[0]);
3204 Value *Cond = getFnValueByID(Record[1], OpTy);
3206 if (!OpTy || !Cond || !Default)
3213 dyn_cast_or_null<ConstantInt>(getFnValueByID(Record[3+i*2], OpTy));
3224 case bitc::FUNC_CODE_INST_INDIRECTBR: { // INDIRECTBR: [opty, op0, op1, ...]
3227 Type *OpTy = getTypeByID(Record[0]);
3228 Value *Address = getFnValueByID(Record[1], OpTy);
3229 if (!OpTy || !Address)
3384 case bitc::FUNC_CODE_INST_ALLOCA: { // ALLOCA: [instty, opty, op, align]
3389 Type *OpTy = getTypeByID(Record[1]);
3390 Value *Size = getFnValueByID(Record[2], OpTy);
3398 case bitc::FUNC_CODE_INST_LOAD: { // LOAD: [opty, op, align, vol]
3410 // LOADATOMIC: [opty, op, align, vol, ordering, synchscope]
3538 PointerType *OpTy = dyn_cast<PointerType>(Callee->getType());
3540 if (OpTy) FTy = dyn_cast<FunctionType>(OpTy->getElementType());
3579 Type *OpTy = getTypeByID(Record[0]);
3580 Value *Op = getFnValueByID(Record[1], OpTy);
3582 if (!OpTy || !Op || !ResTy)