Searched refs:TheContext (Results 1 - 18 of 18) sorted by relevance

/netbsd-current/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/
H A Dtoy.cpp700 static std::unique_ptr<LLVMContext> TheContext; variable
733 return TmpB.CreateAlloca(Type::getDoubleTy(*TheContext), nullptr, VarName);
737 return ConstantFP::get(*TheContext, APFloat(Val));
747 return Builder->CreateLoad(Type::getDoubleTy(*TheContext), V, Name.c_str());
801 return Builder->CreateUIToFP(L, Type::getDoubleTy(*TheContext), "booltmp");
842 CondV, ConstantFP::get(*TheContext, APFloat(0.0)), "ifcond");
848 BasicBlock *ThenBB = BasicBlock::Create(*TheContext, "then", TheFunction);
849 BasicBlock *ElseBB = BasicBlock::Create(*TheContext, "else");
850 BasicBlock *MergeBB = BasicBlock::Create(*TheContext, "ifcont");
880 PHINode *PN = Builder->CreatePHI(Type::getDoubleTy(*TheContext),
[all...]
/netbsd-current/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/
H A Dtoy.cpp700 static std::unique_ptr<LLVMContext> TheContext; variable
733 return TmpB.CreateAlloca(Type::getDoubleTy(*TheContext), nullptr, VarName);
737 return ConstantFP::get(*TheContext, APFloat(Val));
747 return Builder->CreateLoad(Type::getDoubleTy(*TheContext), V, Name.c_str());
801 return Builder->CreateUIToFP(L, Type::getDoubleTy(*TheContext), "booltmp");
842 CondV, ConstantFP::get(*TheContext, APFloat(0.0)), "ifcond");
848 BasicBlock *ThenBB = BasicBlock::Create(*TheContext, "then", TheFunction);
849 BasicBlock *ElseBB = BasicBlock::Create(*TheContext, "else");
850 BasicBlock *MergeBB = BasicBlock::Create(*TheContext, "ifcont");
880 PHINode *PN = Builder->CreatePHI(Type::getDoubleTy(*TheContext),
[all...]
/netbsd-current/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/
H A Dtoy.cpp700 static std::unique_ptr<LLVMContext> TheContext; variable
733 return TmpB.CreateAlloca(Type::getDoubleTy(*TheContext), nullptr, VarName);
737 return ConstantFP::get(*TheContext, APFloat(Val));
747 return Builder->CreateLoad(Type::getDoubleTy(*TheContext), V, Name.c_str());
801 return Builder->CreateUIToFP(L, Type::getDoubleTy(*TheContext), "booltmp");
842 CondV, ConstantFP::get(*TheContext, APFloat(0.0)), "ifcond");
848 BasicBlock *ThenBB = BasicBlock::Create(*TheContext, "then", TheFunction);
849 BasicBlock *ElseBB = BasicBlock::Create(*TheContext, "else");
850 BasicBlock *MergeBB = BasicBlock::Create(*TheContext, "ifcont");
880 PHINode *PN = Builder->CreatePHI(Type::getDoubleTy(*TheContext),
[all...]
/netbsd-current/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/
H A Dtoy.cpp683 static std::unique_ptr<LLVMContext> TheContext; variable
716 return TmpB.CreateAlloca(Type::getDoubleTy(*TheContext), nullptr, VarName);
720 return ConstantFP::get(*TheContext, APFloat(Val));
730 return Builder->CreateLoad(Type::getDoubleTy(*TheContext), V, Name.c_str());
784 return Builder->CreateUIToFP(L, Type::getDoubleTy(*TheContext), "booltmp");
825 CondV, ConstantFP::get(*TheContext, APFloat(0.0)), "ifcond");
831 BasicBlock *ThenBB = BasicBlock::Create(*TheContext, "then", TheFunction);
832 BasicBlock *ElseBB = BasicBlock::Create(*TheContext, "else");
833 BasicBlock *MergeBB = BasicBlock::Create(*TheContext, "ifcont");
863 PHINode *PN = Builder->CreatePHI(Type::getDoubleTy(*TheContext),
[all...]
/netbsd-current/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/Chapter4/
H A Dtoy.cpp412 static std::unique_ptr<LLVMContext> TheContext; variable
442 return ConstantFP::get(*TheContext, APFloat(Val));
469 return Builder->CreateUIToFP(L, Type::getDoubleTy(*TheContext), "booltmp");
497 std::vector<Type *> Doubles(Args.size(), Type::getDoubleTy(*TheContext));
499 FunctionType::get(Type::getDoubleTy(*TheContext), Doubles, false);
522 BasicBlock *BB = BasicBlock::Create(*TheContext, "entry", TheFunction);
554 TheContext = std::make_unique<LLVMContext>();
555 TheModule = std::make_unique<Module>("my cool jit", *TheContext);
559 Builder = std::make_unique<IRBuilder<>>(*TheContext);
583 ThreadSafeModule(std::move(TheModule), std::move(TheContext))));
[all...]
/netbsd-current/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/Chapter7/
H A Dtoy.cpp704 static std::unique_ptr<LLVMContext> TheContext; variable
739 return TmpB.CreateAlloca(Type::getDoubleTy(*TheContext), nullptr, VarName);
743 return ConstantFP::get(*TheContext, APFloat(Val));
807 return Builder->CreateUIToFP(L, Type::getDoubleTy(*TheContext), "booltmp");
848 CondV, ConstantFP::get(*TheContext, APFloat(0.0)), "ifcond");
854 BasicBlock *ThenBB = BasicBlock::Create(*TheContext, "then", TheFunction);
855 BasicBlock *ElseBB = BasicBlock::Create(*TheContext, "else");
856 BasicBlock *MergeBB = BasicBlock::Create(*TheContext, "ifcont");
886 PHINode *PN = Builder->CreatePHI(Type::getDoubleTy(*TheContext), 2, "iftmp");
928 BasicBlock *LoopBB = BasicBlock::Create(*TheContext, "loo
[all...]
/netbsd-current/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/Chapter8/
H A Dtoy.cpp705 static std::unique_ptr<LLVMContext> TheContext; variable
738 return TmpB.CreateAlloca(Type::getDoubleTy(*TheContext), nullptr, VarName);
742 return ConstantFP::get(*TheContext, APFloat(Val));
752 return Builder->CreateLoad(Type::getDoubleTy(*TheContext), V, Name.c_str());
806 return Builder->CreateUIToFP(L, Type::getDoubleTy(*TheContext), "booltmp");
847 CondV, ConstantFP::get(*TheContext, APFloat(0.0)), "ifcond");
853 BasicBlock *ThenBB = BasicBlock::Create(*TheContext, "then", TheFunction);
854 BasicBlock *ElseBB = BasicBlock::Create(*TheContext, "else");
855 BasicBlock *MergeBB = BasicBlock::Create(*TheContext, "ifcont");
885 PHINode *PN = Builder->CreatePHI(Type::getDoubleTy(*TheContext),
[all...]
/netbsd-current/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/Chapter6/
H A Dtoy.cpp631 static std::unique_ptr<LLVMContext> TheContext; variable
661 return ConstantFP::get(*TheContext, APFloat(Val));
700 return Builder->CreateUIToFP(L, Type::getDoubleTy(*TheContext), "booltmp");
741 CondV, ConstantFP::get(*TheContext, APFloat(0.0)), "ifcond");
747 BasicBlock *ThenBB = BasicBlock::Create(*TheContext, "then", TheFunction);
748 BasicBlock *ElseBB = BasicBlock::Create(*TheContext, "else");
749 BasicBlock *MergeBB = BasicBlock::Create(*TheContext, "ifcont");
779 PHINode *PN = Builder->CreatePHI(Type::getDoubleTy(*TheContext), 2, "iftmp");
811 BasicBlock *LoopBB = BasicBlock::Create(*TheContext, "loop", TheFunction);
821 Builder->CreatePHI(Type::getDoubleTy(*TheContext),
[all...]
/netbsd-current/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/Chapter5/
H A Dtoy.cpp539 static std::unique_ptr<LLVMContext> TheContext; variable
569 return ConstantFP::get(*TheContext, APFloat(Val));
596 return Builder->CreateUIToFP(L, Type::getDoubleTy(*TheContext), "booltmp");
629 CondV, ConstantFP::get(*TheContext, APFloat(0.0)), "ifcond");
635 BasicBlock *ThenBB = BasicBlock::Create(*TheContext, "then", TheFunction);
636 BasicBlock *ElseBB = BasicBlock::Create(*TheContext, "else");
637 BasicBlock *MergeBB = BasicBlock::Create(*TheContext, "ifcont");
667 PHINode *PN = Builder->CreatePHI(Type::getDoubleTy(*TheContext), 2, "iftmp");
699 BasicBlock *LoopBB = BasicBlock::Create(*TheContext, "loop", TheFunction);
709 Builder->CreatePHI(Type::getDoubleTy(*TheContext),
[all...]
/netbsd-current/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/cached/
H A Dtoy-jit.cpp626 static LLVMContext TheContext; variable
627 static IRBuilder<> Builder(TheContext);
638 return TmpB.CreateAlloca(Type::getDoubleTy(TheContext), 0, VarName.c_str());
642 return ConstantFP::get(TheContext, APFloat(Val));
702 return Builder.CreateUIToFP(L, Type::getDoubleTy(TheContext), "booltmp");
743 CondV, ConstantFP::get(TheContext, APFloat(0.0)), "ifcond");
749 BasicBlock *ThenBB = BasicBlock::Create(TheContext, "then", TheFunction);
750 BasicBlock *ElseBB = BasicBlock::Create(TheContext, "else");
751 BasicBlock *MergeBB = BasicBlock::Create(TheContext, "ifcont");
779 PHINode *PN = Builder.CreatePHI(Type::getDoubleTy(TheContext),
[all...]
H A Dtoy.cpp997 static LLVMContext TheContext; variable
998 static IRBuilder<> Builder(TheContext);
1009 return TmpB.CreateAlloca(Type::getDoubleTy(TheContext), 0, VarName.c_str());
1013 return ConstantFP::get(TheContext, APFloat(Val));
1069 return Builder.CreateUIToFP(L, Type::getDoubleTy(TheContext), "booltmp");
1107 CondV, ConstantFP::get(TheContext, APFloat(0.0)), "ifcond");
1113 BasicBlock *ThenBB = BasicBlock::Create(TheContext, "then", TheFunction);
1114 BasicBlock *ElseBB = BasicBlock::Create(TheContext, "else");
1115 BasicBlock *MergeBB = BasicBlock::Create(TheContext, "ifcont");
1143 PHINode *PN = Builder.CreatePHI(Type::getDoubleTy(TheContext),
[all...]
/netbsd-current/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/Chapter3/
H A Dtoy.cpp402 static std::unique_ptr<LLVMContext> TheContext; variable
413 return ConstantFP::get(*TheContext, APFloat(Val));
440 return Builder->CreateUIToFP(L, Type::getDoubleTy(*TheContext), "booltmp");
468 std::vector<Type *> Doubles(Args.size(), Type::getDoubleTy(*TheContext));
470 FunctionType::get(Type::getDoubleTy(*TheContext), Doubles, false);
494 BasicBlock *BB = BasicBlock::Create(*TheContext, "entry", TheFunction);
523 TheContext = std::make_unique<LLVMContext>();
524 TheModule = std::make_unique<Module>("my cool jit", *TheContext);
527 Builder = std::make_unique<IRBuilder<>>(*TheContext);
/netbsd-current/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/initial/
H A Dtoy.cpp855 static LLVMContext TheContext; variable
856 static IRBuilder<> Builder(TheContext);
867 return TmpB.CreateAlloca(Type::getDoubleTy(TheContext), 0, VarName.c_str());
871 return ConstantFP::get(TheContext, APFloat(Val));
927 return Builder.CreateUIToFP(L, Type::getDoubleTy(TheContext), "booltmp");
965 CondV, ConstantFP::get(TheContext, APFloat(0.0)), "ifcond");
971 BasicBlock *ThenBB = BasicBlock::Create(TheContext, "then", TheFunction);
972 BasicBlock *ElseBB = BasicBlock::Create(TheContext, "else");
973 BasicBlock *MergeBB = BasicBlock::Create(TheContext, "ifcont");
1001 PHINode *PN = Builder.CreatePHI(Type::getDoubleTy(TheContext),
[all...]
/netbsd-current/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/lazy/
H A Dtoy-jit.cpp611 static LLVMContext TheContext; variable
612 static IRBuilder<> Builder(TheContext);
623 return TmpB.CreateAlloca(Type::getDoubleTy(TheContext), 0, VarName.c_str());
627 return ConstantFP::get(TheContext, APFloat(Val));
684 return Builder.CreateUIToFP(L, Type::getDoubleTy(TheContext), "booltmp");
725 CondV, ConstantFP::get(TheContext, APFloat(0.0)), "ifcond");
731 BasicBlock *ThenBB = BasicBlock::Create(TheContext, "then", TheFunction);
732 BasicBlock *ElseBB = BasicBlock::Create(TheContext, "else");
733 BasicBlock *MergeBB = BasicBlock::Create(TheContext, "ifcont");
761 PHINode *PN = Builder.CreatePHI(Type::getDoubleTy(TheContext),
[all...]
H A Dtoy.cpp895 static LLVMContext TheContext; variable
896 static IRBuilder<> Builder(TheContext);
907 return TmpB.CreateAlloca(Type::getDoubleTy(TheContext), 0, VarName.c_str());
911 return ConstantFP::get(TheContext, APFloat(Val));
967 return Builder.CreateUIToFP(L, Type::getDoubleTy(TheContext), "booltmp");
1005 CondV, ConstantFP::get(TheContext, APFloat(0.0)), "ifcond");
1011 BasicBlock *ThenBB = BasicBlock::Create(TheContext, "then", TheFunction);
1012 BasicBlock *ElseBB = BasicBlock::Create(TheContext, "else");
1013 BasicBlock *MergeBB = BasicBlock::Create(TheContext, "ifcont");
1041 PHINode *PN = Builder.CreatePHI(Type::getDoubleTy(TheContext),
[all...]
/netbsd-current/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/Chapter9/
H A Dtoy.cpp820 static std::unique_ptr<LLVMContext> TheContext; variable
898 return TmpB.CreateAlloca(Type::getDoubleTy(*TheContext), nullptr, VarName);
903 return ConstantFP::get(*TheContext, APFloat(Val));
914 return Builder->CreateLoad(Type::getDoubleTy(*TheContext), V, Name.c_str());
971 return Builder->CreateUIToFP(L, Type::getDoubleTy(*TheContext), "booltmp");
1016 CondV, ConstantFP::get(*TheContext, APFloat(0.0)), "ifcond");
1022 BasicBlock *ThenBB = BasicBlock::Create(*TheContext, "then", TheFunction);
1023 BasicBlock *ElseBB = BasicBlock::Create(*TheContext, "else");
1024 BasicBlock *MergeBB = BasicBlock::Create(*TheContext, "ifcont");
1054 PHINode *PN = Builder->CreatePHI(Type::getDoubleTy(*TheContext),
[all...]
/netbsd-current/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/complete/
H A Dtoy.cpp1069 static LLVMContext TheContext; variable
1070 static IRBuilder<> Builder(TheContext);
1081 return TmpB.CreateAlloca(Type::getDoubleTy(TheContext), 0, VarName.c_str());
1085 return ConstantFP::get(TheContext, APFloat(Val));
1143 return Builder.CreateUIToFP(L, Type::getDoubleTy(TheContext), "booltmp");
1185 CondV, ConstantFP::get(TheContext, APFloat(0.0)), "ifcond");
1191 BasicBlock *ThenBB = BasicBlock::Create(TheContext, "then", TheFunction);
1192 BasicBlock *ElseBB = BasicBlock::Create(TheContext, "else");
1193 BasicBlock *MergeBB = BasicBlock::Create(TheContext, "ifcont");
1221 PHINode *PN = Builder.CreatePHI(Type::getDoubleTy(TheContext),
[all...]
/netbsd-current/external/apache2/llvm/dist/clang/lib/Parse/
H A DParseDecl.cpp5646 DeclaratorContext TheContext) {
5665 return Lang.CPlusPlus11 || (TheContext != DeclaratorContext::ConversionId &&
5666 TheContext != DeclaratorContext::CXXNew);
5645 isPtrOperatorToken(tok::TokenKind Kind, const LangOptions &Lang, DeclaratorContext TheContext) argument

Completed in 330 milliseconds