Home
last modified time | relevance | path

Searched refs:TheContext (Results 1 – 25 of 26) sorted by relevance

12

/external/llvm/examples/Kaleidoscope/Chapter5/
Dtoy.cpp525 static LLVMContext TheContext; variable
526 static IRBuilder<> Builder(TheContext);
554 return ConstantFP::get(TheContext, APFloat(Val)); in codegen()
581 return Builder.CreateUIToFP(L, Type::getDoubleTy(TheContext), "booltmp"); in codegen()
614 CondV, ConstantFP::get(TheContext, APFloat(0.0)), "ifcond"); in codegen()
620 BasicBlock *ThenBB = BasicBlock::Create(TheContext, "then", TheFunction); in codegen()
621 BasicBlock *ElseBB = BasicBlock::Create(TheContext, "else"); in codegen()
622 BasicBlock *MergeBB = BasicBlock::Create(TheContext, "ifcont"); in codegen()
652 PHINode *PN = Builder.CreatePHI(Type::getDoubleTy(TheContext), 2, "iftmp"); in codegen()
684 BasicBlock *LoopBB = BasicBlock::Create(TheContext, "loop", TheFunction); in codegen()
[all …]
/external/llvm/examples/Kaleidoscope/MCJIT/cached/
Dtoy-jit.cpp626 static LLVMContext TheContext; variable
627 static IRBuilder<> Builder(TheContext);
638 return TmpB.CreateAlloca(Type::getDoubleTy(TheContext), 0, VarName.c_str()); in CreateEntryBlockAlloca()
642 return ConstantFP::get(TheContext, APFloat(Val)); in Codegen()
702 return Builder.CreateUIToFP(L, Type::getDoubleTy(TheContext), "booltmp"); in Codegen()
743 CondV, ConstantFP::get(TheContext, APFloat(0.0)), "ifcond"); in Codegen()
749 BasicBlock *ThenBB = BasicBlock::Create(TheContext, "then", TheFunction); in Codegen()
750 BasicBlock *ElseBB = BasicBlock::Create(TheContext, "else"); in Codegen()
751 BasicBlock *MergeBB = BasicBlock::Create(TheContext, "ifcont"); in Codegen()
779 PHINode *PN = Builder.CreatePHI(Type::getDoubleTy(TheContext), 2, "iftmp"); in Codegen()
[all …]
Dtoy.cpp997 static LLVMContext TheContext; variable
998 static IRBuilder<> Builder(TheContext);
1009 return TmpB.CreateAlloca(Type::getDoubleTy(TheContext), 0, VarName.c_str()); in CreateEntryBlockAlloca()
1013 return ConstantFP::get(TheContext, APFloat(Val)); in Codegen()
1069 return Builder.CreateUIToFP(L, Type::getDoubleTy(TheContext), "booltmp"); in Codegen()
1107 CondV, ConstantFP::get(TheContext, APFloat(0.0)), "ifcond"); in Codegen()
1113 BasicBlock *ThenBB = BasicBlock::Create(TheContext, "then", TheFunction); in Codegen()
1114 BasicBlock *ElseBB = BasicBlock::Create(TheContext, "else"); in Codegen()
1115 BasicBlock *MergeBB = BasicBlock::Create(TheContext, "ifcont"); in Codegen()
1143 PHINode *PN = Builder.CreatePHI(Type::getDoubleTy(TheContext), 2, "iftmp"); in Codegen()
[all …]
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/
Dtoy-jit.cpp611 static LLVMContext TheContext; variable
612 static IRBuilder<> Builder(TheContext);
623 return TmpB.CreateAlloca(Type::getDoubleTy(TheContext), 0, VarName.c_str()); in CreateEntryBlockAlloca()
627 return ConstantFP::get(TheContext, APFloat(Val)); in Codegen()
684 return Builder.CreateUIToFP(L, Type::getDoubleTy(TheContext), "booltmp"); in Codegen()
725 CondV, ConstantFP::get(TheContext, APFloat(0.0)), "ifcond"); in Codegen()
731 BasicBlock *ThenBB = BasicBlock::Create(TheContext, "then", TheFunction); in Codegen()
732 BasicBlock *ElseBB = BasicBlock::Create(TheContext, "else"); in Codegen()
733 BasicBlock *MergeBB = BasicBlock::Create(TheContext, "ifcont"); in Codegen()
761 PHINode *PN = Builder.CreatePHI(Type::getDoubleTy(TheContext), 2, "iftmp"); in Codegen()
[all …]
Dtoy.cpp895 static LLVMContext TheContext; variable
896 static IRBuilder<> Builder(TheContext);
907 return TmpB.CreateAlloca(Type::getDoubleTy(TheContext), 0, VarName.c_str()); in CreateEntryBlockAlloca()
911 return ConstantFP::get(TheContext, APFloat(Val)); in Codegen()
967 return Builder.CreateUIToFP(L, Type::getDoubleTy(TheContext), "booltmp"); in Codegen()
1005 CondV, ConstantFP::get(TheContext, APFloat(0.0)), "ifcond"); in Codegen()
1011 BasicBlock *ThenBB = BasicBlock::Create(TheContext, "then", TheFunction); in Codegen()
1012 BasicBlock *ElseBB = BasicBlock::Create(TheContext, "else"); in Codegen()
1013 BasicBlock *MergeBB = BasicBlock::Create(TheContext, "ifcont"); in Codegen()
1041 PHINode *PN = Builder.CreatePHI(Type::getDoubleTy(TheContext), 2, "iftmp"); in Codegen()
[all …]
/external/llvm/examples/Kaleidoscope/Chapter6/
Dtoy.cpp616 static LLVMContext TheContext; variable
617 static IRBuilder<> Builder(TheContext);
645 return ConstantFP::get(TheContext, APFloat(Val)); in codegen()
684 return Builder.CreateUIToFP(L, Type::getDoubleTy(TheContext), "booltmp"); in codegen()
725 CondV, ConstantFP::get(TheContext, APFloat(0.0)), "ifcond"); in codegen()
731 BasicBlock *ThenBB = BasicBlock::Create(TheContext, "then", TheFunction); in codegen()
732 BasicBlock *ElseBB = BasicBlock::Create(TheContext, "else"); in codegen()
733 BasicBlock *MergeBB = BasicBlock::Create(TheContext, "ifcont"); in codegen()
763 PHINode *PN = Builder.CreatePHI(Type::getDoubleTy(TheContext), 2, "iftmp"); in codegen()
795 BasicBlock *LoopBB = BasicBlock::Create(TheContext, "loop", TheFunction); in codegen()
[all …]
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/
Dtoy.cpp687 static LLVMContext TheContext; variable
688 static IRBuilder<> Builder(TheContext);
720 return TmpB.CreateAlloca(Type::getDoubleTy(TheContext), nullptr, VarName); in CreateEntryBlockAlloca()
724 return ConstantFP::get(TheContext, APFloat(Val)); in codegen()
788 return Builder.CreateUIToFP(L, Type::getDoubleTy(TheContext), "booltmp"); in codegen()
829 CondV, ConstantFP::get(TheContext, APFloat(0.0)), "ifcond"); in codegen()
835 BasicBlock *ThenBB = BasicBlock::Create(TheContext, "then", TheFunction); in codegen()
836 BasicBlock *ElseBB = BasicBlock::Create(TheContext, "else"); in codegen()
837 BasicBlock *MergeBB = BasicBlock::Create(TheContext, "ifcont"); in codegen()
867 PHINode *PN = Builder.CreatePHI(Type::getDoubleTy(TheContext), 2, "iftmp"); in codegen()
[all …]
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/
Dtoy.cpp687 static LLVMContext TheContext; variable
688 static IRBuilder<> Builder(TheContext);
720 return TmpB.CreateAlloca(Type::getDoubleTy(TheContext), nullptr, VarName); in CreateEntryBlockAlloca()
724 return ConstantFP::get(TheContext, APFloat(Val)); in codegen()
788 return Builder.CreateUIToFP(L, Type::getDoubleTy(TheContext), "booltmp"); in codegen()
829 CondV, ConstantFP::get(TheContext, APFloat(0.0)), "ifcond"); in codegen()
835 BasicBlock *ThenBB = BasicBlock::Create(TheContext, "then", TheFunction); in codegen()
836 BasicBlock *ElseBB = BasicBlock::Create(TheContext, "else"); in codegen()
837 BasicBlock *MergeBB = BasicBlock::Create(TheContext, "ifcont"); in codegen()
867 PHINode *PN = Builder.CreatePHI(Type::getDoubleTy(TheContext), 2, "iftmp"); in codegen()
[all …]
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/
Dtoy.cpp687 static LLVMContext TheContext; variable
688 static IRBuilder<> Builder(TheContext);
720 return TmpB.CreateAlloca(Type::getDoubleTy(TheContext), nullptr, VarName); in CreateEntryBlockAlloca()
724 return ConstantFP::get(TheContext, APFloat(Val)); in codegen()
788 return Builder.CreateUIToFP(L, Type::getDoubleTy(TheContext), "booltmp"); in codegen()
829 CondV, ConstantFP::get(TheContext, APFloat(0.0)), "ifcond"); in codegen()
835 BasicBlock *ThenBB = BasicBlock::Create(TheContext, "then", TheFunction); in codegen()
836 BasicBlock *ElseBB = BasicBlock::Create(TheContext, "else"); in codegen()
837 BasicBlock *MergeBB = BasicBlock::Create(TheContext, "ifcont"); in codegen()
867 PHINode *PN = Builder.CreatePHI(Type::getDoubleTy(TheContext), 2, "iftmp"); in codegen()
[all …]
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/
Dtoy.cpp675 static LLVMContext TheContext; variable
676 static IRBuilder<> Builder(TheContext);
709 return TmpB.CreateAlloca(Type::getDoubleTy(TheContext), nullptr, VarName); in CreateEntryBlockAlloca()
713 return ConstantFP::get(TheContext, APFloat(Val)); in codegen()
777 return Builder.CreateUIToFP(L, Type::getDoubleTy(TheContext), "booltmp"); in codegen()
818 CondV, ConstantFP::get(TheContext, APFloat(0.0)), "ifcond"); in codegen()
824 BasicBlock *ThenBB = BasicBlock::Create(TheContext, "then", TheFunction); in codegen()
825 BasicBlock *ElseBB = BasicBlock::Create(TheContext, "else"); in codegen()
826 BasicBlock *MergeBB = BasicBlock::Create(TheContext, "ifcont"); in codegen()
856 PHINode *PN = Builder.CreatePHI(Type::getDoubleTy(TheContext), 2, "iftmp"); in codegen()
[all …]
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/
Dtoy.cpp697 static LLVMContext TheContext; variable
698 static IRBuilder<> Builder(TheContext);
731 return TmpB.CreateAlloca(Type::getDoubleTy(TheContext), nullptr, VarName); in CreateEntryBlockAlloca()
735 return ConstantFP::get(TheContext, APFloat(Val)); in codegen()
799 return Builder.CreateUIToFP(L, Type::getDoubleTy(TheContext), "booltmp"); in codegen()
840 CondV, ConstantFP::get(TheContext, APFloat(0.0)), "ifcond"); in codegen()
846 BasicBlock *ThenBB = BasicBlock::Create(TheContext, "then", TheFunction); in codegen()
847 BasicBlock *ElseBB = BasicBlock::Create(TheContext, "else"); in codegen()
848 BasicBlock *MergeBB = BasicBlock::Create(TheContext, "ifcont"); in codegen()
878 PHINode *PN = Builder.CreatePHI(Type::getDoubleTy(TheContext), 2, "iftmp"); in codegen()
[all …]
/external/llvm/examples/Kaleidoscope/Chapter8/
Dtoy.cpp684 static LLVMContext TheContext; variable
685 static IRBuilder<> Builder(TheContext);
716 return TmpB.CreateAlloca(Type::getDoubleTy(TheContext), nullptr, VarName); in CreateEntryBlockAlloca()
720 return ConstantFP::get(TheContext, APFloat(Val)); in codegen()
784 return Builder.CreateUIToFP(L, Type::getDoubleTy(TheContext), "booltmp"); in codegen()
825 CondV, ConstantFP::get(TheContext, APFloat(0.0)), "ifcond"); in codegen()
831 BasicBlock *ThenBB = BasicBlock::Create(TheContext, "then", TheFunction); in codegen()
832 BasicBlock *ElseBB = BasicBlock::Create(TheContext, "else"); in codegen()
833 BasicBlock *MergeBB = BasicBlock::Create(TheContext, "ifcont"); in codegen()
863 PHINode *PN = Builder.CreatePHI(Type::getDoubleTy(TheContext), 2, "iftmp"); in codegen()
[all …]
/external/llvm/examples/Kaleidoscope/Chapter7/
Dtoy.cpp687 static LLVMContext TheContext; variable
688 static IRBuilder<> Builder(TheContext);
721 return TmpB.CreateAlloca(Type::getDoubleTy(TheContext), nullptr, VarName); in CreateEntryBlockAlloca()
725 return ConstantFP::get(TheContext, APFloat(Val)); in codegen()
789 return Builder.CreateUIToFP(L, Type::getDoubleTy(TheContext), "booltmp"); in codegen()
830 CondV, ConstantFP::get(TheContext, APFloat(0.0)), "ifcond"); in codegen()
836 BasicBlock *ThenBB = BasicBlock::Create(TheContext, "then", TheFunction); in codegen()
837 BasicBlock *ElseBB = BasicBlock::Create(TheContext, "else"); in codegen()
838 BasicBlock *MergeBB = BasicBlock::Create(TheContext, "ifcont"); in codegen()
868 PHINode *PN = Builder.CreatePHI(Type::getDoubleTy(TheContext), 2, "iftmp"); in codegen()
[all …]
/external/llvm/examples/Kaleidoscope/MCJIT/initial/
Dtoy.cpp855 static LLVMContext TheContext; variable
856 static IRBuilder<> Builder(TheContext);
867 return TmpB.CreateAlloca(Type::getDoubleTy(TheContext), 0, VarName.c_str()); in CreateEntryBlockAlloca()
871 return ConstantFP::get(TheContext, APFloat(Val)); in Codegen()
927 return Builder.CreateUIToFP(L, Type::getDoubleTy(TheContext), "booltmp"); in Codegen()
965 CondV, ConstantFP::get(TheContext, APFloat(0.0)), "ifcond"); in Codegen()
971 BasicBlock *ThenBB = BasicBlock::Create(TheContext, "then", TheFunction); in Codegen()
972 BasicBlock *ElseBB = BasicBlock::Create(TheContext, "else"); in Codegen()
973 BasicBlock *MergeBB = BasicBlock::Create(TheContext, "ifcont"); in Codegen()
1001 PHINode *PN = Builder.CreatePHI(Type::getDoubleTy(TheContext), 2, "iftmp"); in Codegen()
[all …]
/external/llvm/examples/Kaleidoscope/MCJIT/complete/
Dtoy.cpp1069 static LLVMContext TheContext; variable
1070 static IRBuilder<> Builder(TheContext);
1081 return TmpB.CreateAlloca(Type::getDoubleTy(TheContext), 0, VarName.c_str()); in CreateEntryBlockAlloca()
1085 return ConstantFP::get(TheContext, APFloat(Val)); in Codegen()
1143 return Builder.CreateUIToFP(L, Type::getDoubleTy(TheContext), "booltmp"); in Codegen()
1185 CondV, ConstantFP::get(TheContext, APFloat(0.0)), "ifcond"); in Codegen()
1191 BasicBlock *ThenBB = BasicBlock::Create(TheContext, "then", TheFunction); in Codegen()
1192 BasicBlock *ElseBB = BasicBlock::Create(TheContext, "else"); in Codegen()
1193 BasicBlock *MergeBB = BasicBlock::Create(TheContext, "ifcont"); in Codegen()
1221 PHINode *PN = Builder.CreatePHI(Type::getDoubleTy(TheContext), 2, "iftmp"); in Codegen()
[all …]
/external/llvm/examples/Kaleidoscope/Chapter9/
Dtoy.cpp90 static LLVMContext TheContext; variable
91 static IRBuilder<> Builder(TheContext);
890 return TmpB.CreateAlloca(Type::getDoubleTy(TheContext), nullptr, in CreateEntryBlockAlloca()
896 return ConstantFP::get(TheContext, APFloat(Val)); in codegen()
964 return Builder.CreateUIToFP(L, Type::getDoubleTy(TheContext), "booltmp"); in codegen()
1009 CondV, ConstantFP::get(TheContext, APFloat(0.0)), "ifcond"); in codegen()
1015 BasicBlock *ThenBB = BasicBlock::Create(TheContext, "then", TheFunction); in codegen()
1016 BasicBlock *ElseBB = BasicBlock::Create(TheContext, "else"); in codegen()
1017 BasicBlock *MergeBB = BasicBlock::Create(TheContext, "ifcont"); in codegen()
1047 PHINode *PN = Builder.CreatePHI(Type::getDoubleTy(TheContext), 2, "iftmp"); in codegen()
[all …]
/external/llvm/examples/Kaleidoscope/Chapter3/
Dtoy.cpp391 static LLVMContext TheContext; variable
392 static IRBuilder<> Builder(TheContext);
402 return ConstantFP::get(TheContext, APFloat(Val)); in codegen()
429 return Builder.CreateUIToFP(L, Type::getDoubleTy(TheContext), "booltmp"); in codegen()
457 std::vector<Type *> Doubles(Args.size(), Type::getDoubleTy(TheContext)); in codegen()
459 FunctionType::get(Type::getDoubleTy(TheContext), Doubles, false); in codegen()
483 BasicBlock *BB = BasicBlock::Create(TheContext, "entry", TheFunction); in codegen()
587 TheModule = llvm::make_unique<Module>("my cool jit", TheContext); in main()
/external/llvm/examples/Kaleidoscope/Chapter4/
Dtoy.cpp400 static LLVMContext TheContext; variable
401 static IRBuilder<> Builder(TheContext);
429 return ConstantFP::get(TheContext, APFloat(Val)); in codegen()
456 return Builder.CreateUIToFP(L, Type::getDoubleTy(TheContext), "booltmp"); in codegen()
484 std::vector<Type *> Doubles(Args.size(), Type::getDoubleTy(TheContext)); in codegen()
486 FunctionType::get(Type::getDoubleTy(TheContext), Doubles, false); in codegen()
509 BasicBlock *BB = BasicBlock::Create(TheContext, "entry", TheFunction); in codegen()
541 TheModule = llvm::make_unique<Module>("my cool jit", TheContext); in InitializeModuleAndPassManager()
/external/llvm/unittests/IR/
DValueHandleTest.cpp300 RecoveringVH(LLVMContext &TheContext) in TEST_F() argument
301 : DeletedCalls(0), AURWArgument(nullptr), Context(&TheContext) {} in TEST_F()
303 RecoveringVH(LLVMContext &TheContext, Value *V) in TEST_F() argument
305 Context(&TheContext) {} in TEST_F()
/external/clang/include/clang/Sema/
DDeclSpec.h1626 enum TheContext { enum
1659 TheContext Context;
1714 Declarator(const DeclSpec &ds, TheContext C) in Declarator()
1750 TheContext getContext() const { return Context; } in getContext()
/external/clang/lib/Parse/
DRAIIObjectsForParser.h204 ParsingDeclarator(Parser &P, const ParsingDeclSpec &DS, TheContext C) in ParsingDeclarator()
DParseDecl.cpp45 Declarator::TheContext Context, in ParseTypeName()
1734 ParsingDeclarator D(*this, DS, static_cast<Declarator::TheContext>(Context)); in ParseDeclGroup()
4929 unsigned TheContext) { in isPtrOperatorToken() argument
4948 return Lang.CPlusPlus11 || (TheContext != Declarator::ConversionIdContext && in isPtrOperatorToken()
4949 TheContext != Declarator::CXXNewContext); in isPtrOperatorToken()
DParseTemplate.cpp234 ParsingDeclarator DeclaratorInfo(*this, DS, (Declarator::TheContext)Context); in ParseSingleDeclarationAfterTemplate()
/external/llvm/docs/tutorial/
DLangImpl03.rst76 static LLVMContext TheContext;
77 static IRBuilder<> Builder(TheContext);
86 The static variables will be used during code generation. ``TheContext``
/external/clang/include/clang/Parse/
DParser.h1384 ParsedType ParseObjCTypeName(ObjCDeclSpec &DS, Declarator::TheContext Ctx,
1874 Declarator::TheContext Context);
2070 Declarator::TheContext Context

12