Searched defs:TheContext (Results 1 - 21 of 21) sorted by relevance

/external/llvm/unittests/IR/
H A DValueHandleTest.cpp300 RecoveringVH(LLVMContext &TheContext) argument
301 : DeletedCalls(0), AURWArgument(nullptr), Context(&TheContext) {}
303 RecoveringVH(LLVMContext &TheContext, Value *V) argument
305 Context(&TheContext) {}
/external/llvm/examples/Kaleidoscope/Chapter3/
H A Dtoy.cpp391 static LLVMContext TheContext; variable
392 static IRBuilder<> Builder(TheContext);
402 return ConstantFP::get(TheContext, APFloat(Val));
429 return Builder.CreateUIToFP(L, Type::getDoubleTy(TheContext), "booltmp");
457 std::vector<Type *> Doubles(Args.size(), Type::getDoubleTy(TheContext));
459 FunctionType::get(Type::getDoubleTy(TheContext), Doubles, false);
483 BasicBlock *BB = BasicBlock::Create(TheContext, "entry", TheFunction);
587 TheModule = llvm::make_unique<Module>("my cool jit", TheContext);
/external/llvm/examples/Kaleidoscope/Chapter4/
H A Dtoy.cpp400 static LLVMContext TheContext; variable
401 static IRBuilder<> Builder(TheContext);
429 return ConstantFP::get(TheContext, APFloat(Val));
456 return Builder.CreateUIToFP(L, Type::getDoubleTy(TheContext), "booltmp");
484 std::vector<Type *> Doubles(Args.size(), Type::getDoubleTy(TheContext));
486 FunctionType::get(Type::getDoubleTy(TheContext), Doubles, false);
509 BasicBlock *BB = BasicBlock::Create(TheContext, "entry", TheFunction);
541 TheModule = llvm::make_unique<Module>("my cool jit", TheContext);
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/
H A Dtoy.cpp687 static LLVMContext TheContext; variable
688 static IRBuilder<> Builder(TheContext);
720 return TmpB.CreateAlloca(Type::getDoubleTy(TheContext), nullptr, VarName);
724 return ConstantFP::get(TheContext, APFloat(Val));
788 return Builder.CreateUIToFP(L, Type::getDoubleTy(TheContext), "booltmp");
829 CondV, ConstantFP::get(TheContext, APFloat(0.0)), "ifcond");
835 BasicBlock *ThenBB = BasicBlock::Create(TheContext, "then", TheFunction);
836 BasicBlock *ElseBB = BasicBlock::Create(TheContext, "else");
837 BasicBlock *MergeBB = BasicBlock::Create(TheContext, "ifcont");
867 PHINode *PN = Builder.CreatePHI(Type::getDoubleTy(TheContext),
[all...]
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/
H A Dtoy.cpp687 static LLVMContext TheContext; variable
688 static IRBuilder<> Builder(TheContext);
720 return TmpB.CreateAlloca(Type::getDoubleTy(TheContext), nullptr, VarName);
724 return ConstantFP::get(TheContext, APFloat(Val));
788 return Builder.CreateUIToFP(L, Type::getDoubleTy(TheContext), "booltmp");
829 CondV, ConstantFP::get(TheContext, APFloat(0.0)), "ifcond");
835 BasicBlock *ThenBB = BasicBlock::Create(TheContext, "then", TheFunction);
836 BasicBlock *ElseBB = BasicBlock::Create(TheContext, "else");
837 BasicBlock *MergeBB = BasicBlock::Create(TheContext, "ifcont");
867 PHINode *PN = Builder.CreatePHI(Type::getDoubleTy(TheContext),
[all...]
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/
H A Dtoy.cpp687 static LLVMContext TheContext; variable
688 static IRBuilder<> Builder(TheContext);
720 return TmpB.CreateAlloca(Type::getDoubleTy(TheContext), nullptr, VarName);
724 return ConstantFP::get(TheContext, APFloat(Val));
788 return Builder.CreateUIToFP(L, Type::getDoubleTy(TheContext), "booltmp");
829 CondV, ConstantFP::get(TheContext, APFloat(0.0)), "ifcond");
835 BasicBlock *ThenBB = BasicBlock::Create(TheContext, "then", TheFunction);
836 BasicBlock *ElseBB = BasicBlock::Create(TheContext, "else");
837 BasicBlock *MergeBB = BasicBlock::Create(TheContext, "ifcont");
867 PHINode *PN = Builder.CreatePHI(Type::getDoubleTy(TheContext),
[all...]
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/
H A Dtoy.cpp675 static LLVMContext TheContext; variable
676 static IRBuilder<> Builder(TheContext);
709 return TmpB.CreateAlloca(Type::getDoubleTy(TheContext), nullptr, VarName);
713 return ConstantFP::get(TheContext, APFloat(Val));
777 return Builder.CreateUIToFP(L, Type::getDoubleTy(TheContext), "booltmp");
818 CondV, ConstantFP::get(TheContext, APFloat(0.0)), "ifcond");
824 BasicBlock *ThenBB = BasicBlock::Create(TheContext, "then", TheFunction);
825 BasicBlock *ElseBB = BasicBlock::Create(TheContext, "else");
826 BasicBlock *MergeBB = BasicBlock::Create(TheContext, "ifcont");
856 PHINode *PN = Builder.CreatePHI(Type::getDoubleTy(TheContext),
[all...]
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/
H A Dtoy.cpp697 static LLVMContext TheContext; variable
698 static IRBuilder<> Builder(TheContext);
731 return TmpB.CreateAlloca(Type::getDoubleTy(TheContext), nullptr, VarName);
735 return ConstantFP::get(TheContext, APFloat(Val));
799 return Builder.CreateUIToFP(L, Type::getDoubleTy(TheContext), "booltmp");
840 CondV, ConstantFP::get(TheContext, APFloat(0.0)), "ifcond");
846 BasicBlock *ThenBB = BasicBlock::Create(TheContext, "then", TheFunction);
847 BasicBlock *ElseBB = BasicBlock::Create(TheContext, "else");
848 BasicBlock *MergeBB = BasicBlock::Create(TheContext, "ifcont");
878 PHINode *PN = Builder.CreatePHI(Type::getDoubleTy(TheContext),
[all...]
/external/llvm/examples/Kaleidoscope/Chapter5/
H A Dtoy.cpp525 static LLVMContext TheContext; variable
526 static IRBuilder<> Builder(TheContext);
554 return ConstantFP::get(TheContext, APFloat(Val));
581 return Builder.CreateUIToFP(L, Type::getDoubleTy(TheContext), "booltmp");
614 CondV, ConstantFP::get(TheContext, APFloat(0.0)), "ifcond");
620 BasicBlock *ThenBB = BasicBlock::Create(TheContext, "then", TheFunction);
621 BasicBlock *ElseBB = BasicBlock::Create(TheContext, "else");
622 BasicBlock *MergeBB = BasicBlock::Create(TheContext, "ifcont");
652 PHINode *PN = Builder.CreatePHI(Type::getDoubleTy(TheContext), 2, "iftmp");
684 BasicBlock *LoopBB = BasicBlock::Create(TheContext, "loo
[all...]
/external/llvm/examples/Kaleidoscope/Chapter6/
H A Dtoy.cpp616 static LLVMContext TheContext; variable
617 static IRBuilder<> Builder(TheContext);
645 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");
763 PHINode *PN = Builder.CreatePHI(Type::getDoubleTy(TheContext), 2, "iftmp");
795 BasicBlock *LoopBB = BasicBlock::Create(TheContext, "loo
[all...]
/external/llvm/examples/Kaleidoscope/Chapter7/
H A Dtoy.cpp687 static LLVMContext TheContext; variable
688 static IRBuilder<> Builder(TheContext);
721 return TmpB.CreateAlloca(Type::getDoubleTy(TheContext), nullptr, VarName);
725 return ConstantFP::get(TheContext, APFloat(Val));
789 return Builder.CreateUIToFP(L, Type::getDoubleTy(TheContext), "booltmp");
830 CondV, ConstantFP::get(TheContext, APFloat(0.0)), "ifcond");
836 BasicBlock *ThenBB = BasicBlock::Create(TheContext, "then", TheFunction);
837 BasicBlock *ElseBB = BasicBlock::Create(TheContext, "else");
838 BasicBlock *MergeBB = BasicBlock::Create(TheContext, "ifcont");
868 PHINode *PN = Builder.CreatePHI(Type::getDoubleTy(TheContext),
[all...]
/external/llvm/examples/Kaleidoscope/Chapter8/
H A Dtoy.cpp684 static LLVMContext TheContext; variable
685 static IRBuilder<> Builder(TheContext);
716 return TmpB.CreateAlloca(Type::getDoubleTy(TheContext), nullptr, VarName);
720 return ConstantFP::get(TheContext, APFloat(Val));
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...]
/external/llvm/examples/Kaleidoscope/Chapter9/
H A Dtoy.cpp90 static LLVMContext TheContext; variable
91 static IRBuilder<> Builder(TheContext);
890 return TmpB.CreateAlloca(Type::getDoubleTy(TheContext), nullptr,
896 return ConstantFP::get(TheContext, APFloat(Val));
964 return Builder.CreateUIToFP(L, Type::getDoubleTy(TheContext), "booltmp");
1009 CondV, ConstantFP::get(TheContext, APFloat(0.0)), "ifcond");
1015 BasicBlock *ThenBB = BasicBlock::Create(TheContext, "then", TheFunction);
1016 BasicBlock *ElseBB = BasicBlock::Create(TheContext, "else");
1017 BasicBlock *MergeBB = BasicBlock::Create(TheContext, "ifcont");
1047 PHINode *PN = Builder.CreatePHI(Type::getDoubleTy(TheContext),
[all...]
/external/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...]
/external/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...]
/external/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...]
/external/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...]
/external/clang/lib/Parse/
H A DParseDecl.cpp45 Declarator::TheContext Context,
1464 /// 'Context' should be a Declarator::TheContext value. This returns the
1734 ParsingDeclarator D(*this, DS, static_cast<Declarator::TheContext>(Context));
2458 /// Declarator::TheContext enumerator values.
4929 unsigned TheContext) {
4948 return Lang.CPlusPlus11 || (TheContext != Declarator::ConversionIdContext &&
4949 TheContext != Declarator::CXXNewContext);
4928 isPtrOperatorToken(tok::TokenKind Kind, const LangOptions &Lang, unsigned TheContext) argument
/external/clang/include/clang/Sema/
H A DDeclSpec.h1626 enum TheContext { enum in class:clang::Declarator
1659 TheContext Context;
1714 Declarator(const DeclSpec &ds, TheContext C)
1750 TheContext getContext() const { return Context; }

Completed in 295 milliseconds