Lines Matching defs:Context

212     explicit ConstantPlaceHolder(Type *Ty, LLVMContext& Context)
214 Op<0>() = UndefValue::get(Type::getInt32Ty(Context));
278 Constant *C = new ConstantPlaceHolder(Ty, Context);
418 Value *V = MDNode::getTemporary(Context, ArrayRef<Value*>());
433 return TypeList[ID] = StructType::create(Context);
507 Attrs.push_back(AttributeSet::get(Context, Record[i], B));
510 MAttributes.push_back(AttributeSet::get(Context, Attrs));
518 MAttributes.push_back(AttributeSet::get(Context, Attrs));
574 ResultTy = Type::getVoidTy(Context);
577 ResultTy = Type::getHalfTy(Context);
580 ResultTy = Type::getFloatTy(Context);
583 ResultTy = Type::getDoubleTy(Context);
586 ResultTy = Type::getX86_FP80Ty(Context);
589 ResultTy = Type::getFP128Ty(Context);
592 ResultTy = Type::getPPC_FP128Ty(Context);
595 ResultTy = Type::getLabelTy(Context);
598 ResultTy = Type::getMetadataTy(Context);
601 ResultTy = Type::getX86_MMXTy(Context);
607 ResultTy = IntegerType::get(Context, Record[0]);
654 ResultTy = StructType::get(Context, EltTys, Record[0]);
675 Res = StructType::create(Context, TypeName);
704 Res = StructType::create(Context, TypeName);
805 ResultTy = Type::getVoidTy(Context);
808 ResultTy = Type::getFloatTy(Context);
811 ResultTy = Type::getDoubleTy(Context);
814 ResultTy = Type::getX86_FP80Ty(Context);
817 ResultTy = Type::getFP128Ty(Context);
820 ResultTy = Type::getPPC_FP128Ty(Context);
823 ResultTy = Type::getLabelTy(Context);
826 ResultTy = Type::getMetadataTy(Context);
829 ResultTy = Type::getX86_MMXTy(Context);
834 ResultTy = IntegerType::get(Context, Record[0]);
838 ResultTy = StructType::create(Context, "");
849 TypeList[NextTypeID] = StructType::create(Context, "");
1133 Value *V = MDNode::getWhenValsUnresolved(Context, Elts, IsFunctionLocal);
1144 Value *V = MDString::get(Context,
1266 Type *CurTy = Type::getInt32Ty(Context);
1318 V = ConstantInt::get(Context, VInt);
1326 V = ConstantFP::get(Context, APFloat(APFloat::IEEEhalf,
1329 V = ConstantFP::get(Context, APFloat(APFloat::IEEEsingle,
1332 V = ConstantFP::get(Context, APFloat(APFloat::IEEEdouble,
1339 V = ConstantFP::get(Context, APFloat(APFloat::x87DoubleExtended,
1342 V = ConstantFP::get(Context, APFloat(APFloat::IEEEquad,
1345 V = ConstantFP::get(Context, APFloat(APFloat::PPCDoubleDouble,
1477 Type::getInt1Ty(Context)),
1489 Constant *Op1 = ValueList.getConstantFwdRef(Record[2], Type::getInt32Ty(Context));
1500 Constant *Op2 = ValueList.getConstantFwdRef(Record[2], Type::getInt32Ty(Context));
1510 Type *ShufTy = VectorType::get(Type::getInt32Ty(Context),
1524 Type *ShufTy = VectorType::get(Type::getInt32Ty(Context),
1579 Type::getInt8Ty(Context),
2235 FunctionBBs[i] = BasicBlock::Create(Context, "", F);
2402 getValue(Record, OpNum, Type::getInt1Ty(Context), Cond))
2424 if (vector_type->getElementType() != Type::getInt1Ty(Context))
2428 if (Cond->getType() != Type::getInt1Ty(Context))
2441 getValue(Record, OpNum, Type::getInt32Ty(Context), Idx))
2454 getValue(Record, OpNum, Type::getInt32Ty(Context), Idx))
2514 I = ReturnInst::Create(Context);
2526 I = ReturnInst::Create(Context, Op);
2543 Value *Cond = getFnValueByID(Record[2], Type::getInt1Ty(Context));
2650 Type *ExnTy = StructType::get(Type::getInt8PtrTy(Context),
2651 Type::getInt32Ty(Context), NULL);
2655 FunctionType::get(Type::getInt32Ty(Context), true));
2666 I = new UnreachableInst(Context);
2698 Value *Size = getFnValueByID(Record[1], Type::getInt32Ty(Context));
2735 Type::getInt32Ty(Context);
3134 LLVMContext& Context,
3136 Module *M = new Module(Buffer->getBufferIdentifier(), Context);
3137 BitcodeReader *R = new BitcodeReader(Buffer, Context);
3153 Module *llvm_2_7::ParseBitcodeFile(MemoryBuffer *Buffer, LLVMContext& Context,
3155 Module *M = llvm_2_7::getLazyBitcodeModule(Buffer, Context, ErrMsg);
3173 LLVMContext& Context,
3175 BitcodeReader *R = new BitcodeReader(Buffer, Context);