• Home
  • Raw
  • Download

Lines Matching refs:getContext

118   Type *VoidPtrTy = Type::getInt8PtrTy(M.getContext());  in doInitialization()
126 JBLinkTy = StructType::create(M.getContext(), "llvm.sjljeh.jmpbufty"); in doInitialization()
163 AbortFn = M.getOrInsertFunction("abort", Type::getVoidTy(M.getContext()), in doInitialization()
202 ConstantInt *InvokeNoC = ConstantInt::get(Type::getInt32Ty(II->getContext()), in rewriteExpensiveInvoke()
227 new StoreInst(Constant::getNullValue(Type::getInt32Ty(II->getContext())), in rewriteExpensiveInvoke()
436 Value *Idx[] = { Constant::getNullValue(Type::getInt32Ty(F.getContext())), in insertExpensiveEHSupport()
437 ConstantInt::get(Type::getInt32Ty(F.getContext()), 1) }; in insertExpensiveEHSupport()
452 BasicBlock::Create(F.getContext(), "setjmp.catch", &F); in insertExpensiveEHSupport()
457 AllocaInst *StackPtr = new AllocaInst(Type::getInt8PtrTy(F.getContext()), 0, in insertExpensiveEHSupport()
462 AllocaInst *InvokeNum = new AllocaInst(Type::getInt32Ty(F.getContext()), 0, in insertExpensiveEHSupport()
464 new StoreInst(ConstantInt::get(Type::getInt32Ty(F.getContext()), 0), in insertExpensiveEHSupport()
471 BasicBlock *UnwindBB = BasicBlock::Create(F.getContext(), "unwindbb", &F); in insertExpensiveEHSupport()
472 UnreachablePlaceholder = new UnreachableInst(F.getContext(), UnwindBB); in insertExpensiveEHSupport()
484 Idx[1] = ConstantInt::get(Type::getInt32Ty(F.getContext()), 0); in insertExpensiveEHSupport()
488 Type::getInt8PtrTy(F.getContext()), in insertExpensiveEHSupport()
514 BasicBlock *UnwindHandler = BasicBlock::Create(F.getContext(), in insertExpensiveEHSupport()
516 BasicBlock *UnwindBlock = BasicBlock::Create(F.getContext(), "unwind", &F); in insertExpensiveEHSupport()
517 BasicBlock *TermBlock = BasicBlock::Create(F.getContext(), "unwinderror", &F); in insertExpensiveEHSupport()
537 Value *Idx[] = { Constant::getNullValue(Type::getInt32Ty(F.getContext())), in insertExpensiveEHSupport()
538 ConstantInt::get(Type::getInt32Ty(F.getContext()), 0) }; in insertExpensiveEHSupport()
541 Type::getInt8PtrTy(F.getContext()), in insertExpensiveEHSupport()
543 Idx[1] = ConstantInt::get(Type::getInt32Ty(F.getContext()), 1); in insertExpensiveEHSupport()
545 new UnreachableInst(F.getContext(), UnwindBlock); in insertExpensiveEHSupport()
548 new UnreachableInst(F.getContext(), TermBlock); in insertExpensiveEHSupport()