Home
last modified time | relevance | path

Searched refs:llvm (Results 1 – 25 of 5726) sorted by relevance

12345678910>>...230

/external/llvm/include/llvm/
DLinkAllPasses.h52 (void) llvm::createAAEvalPass(); in ForcePassLinking()
53 (void) llvm::createAggressiveDCEPass(); in ForcePassLinking()
54 (void) llvm::createBitTrackingDCEPass(); in ForcePassLinking()
55 (void) llvm::createAliasAnalysisCounterPass(); in ForcePassLinking()
56 (void) llvm::createAliasDebugger(); in ForcePassLinking()
57 (void) llvm::createArgumentPromotionPass(); in ForcePassLinking()
58 (void) llvm::createAlignmentFromAssumptionsPass(); in ForcePassLinking()
59 (void) llvm::createBasicAliasAnalysisPass(); in ForcePassLinking()
60 (void) llvm::createLibCallAliasAnalysisPass(nullptr); in ForcePassLinking()
61 (void) llvm::createScalarEvolutionAliasAnalysisPass(); in ForcePassLinking()
[all …]
/external/llvm/test/CodeGen/PowerPC/
Dpr15031.ll19 %"class.llvm::MachineMemOperand" = type { %"struct.llvm::MachinePointerInfo", i64, i32, %"class.llv…
20 %"struct.llvm::MachinePointerInfo" = type { %"class.llvm::Value"*, i64 }
21 %"class.llvm::Value" = type { i32 (...)**, i8, i8, i16, %"class.llvm::Type"*, %"class.llvm::Use"*, …
22 %"class.llvm::Type" = type { %"class.llvm::LLVMContext"*, i32, i32, %"class.llvm::Type"** }
23 %"class.llvm::LLVMContext" = type { %"class.llvm::LLVMContextImpl"* }
24 %"class.llvm::LLVMContextImpl" = type opaque
25 %"class.llvm::Use" = type { %"class.llvm::Value"*, %"class.llvm::Use"*, %"class.llvm::PointerIntPai…
26 %"class.llvm::PointerIntPair" = type { i64 }
27 %"class.llvm::StringMapEntry" = type opaque
28 %"class.llvm::MDNode" = type { %"class.llvm::Value", %"class.llvm::FoldingSetImpl::Node", i32, i32 }
[all …]
Dtoc-load-sched-bug.ll11llvm::Module" = type { %"class.llvm::LLVMContext"*, %"class.llvm::iplist", %"class.llvm::iplist.0"…
12 %"class.llvm::iplist" = type { %"struct.llvm::ilist_traits", %"class.llvm::GlobalVariable"* }
13 %"struct.llvm::ilist_traits" = type { %"class.llvm::ilist_node" }
14 %"class.llvm::ilist_node" = type { %"class.llvm::ilist_half_node", %"class.llvm::GlobalVariable"* }
15 %"class.llvm::ilist_half_node" = type { %"class.llvm::GlobalVariable"* }
16 %"class.llvm::GlobalVariable" = type { %"class.llvm::GlobalObject", %"class.llvm::ilist_node", i8 }
17 %"class.llvm::GlobalObject" = type { %"class.llvm::GlobalValue", %"class.std::basic_string", %"clas…
18 %"class.llvm::GlobalValue" = type { %"class.llvm::Constant", i32, %"class.llvm::Module"* }
19 %"class.llvm::Constant" = type { %"class.llvm::User" }
20 %"class.llvm::User" = type { %"class.llvm::Value.base", i32, %"class.llvm::Use"* }
[all …]
/external/llvm/test/Transforms/IndVarSimplify/
D2004-04-05-InvokeCastCrash.ll4 …x::_Hashtable_node<const llvm::Constant*>" = type { %"struct.__gnu_cxx::_Hashtable_node<const llvm
5 …t llvm::Value* const, int> >" = type { %"struct.__gnu_cxx::_Hashtable_node<std::pair<const llvm::V…
6llvm::Value*,int,__gnu_cxx::hash<const llvm::Value*>,std::equal_to<const llvm::Value*>,std::alloca…
7llvm::Constant*,__gnu_cxx::hash<const llvm::Constant*>,std::equal_to<const llvm::Constant*>,std::a…
8llvm::Constant*,const llvm::Constant*,__gnu_cxx::hash<const llvm::Constant*>,std::_Identity<const
9llvm::Value* const, int>,const llvm::Value*,__gnu_cxx::hash<const llvm::Value*>,std::_Select1st<st…
10 %"struct.llvm::AbstractTypeUser" = type { i32 (...)** }
11 %"struct.llvm::Annotable" = type { i32 (...)**, %"struct.llvm::Annotation"* }
12 …%"struct.llvm::Annotation" = type { i32 (...)**, %"struct.llvm::AnnotationID", %"struct.llvm::Anno…
13 %"struct.llvm::AnnotationID" = type { i32 }
[all …]
/external/clang/lib/CodeGen/
DCGDebugInfo.h28 namespace llvm {
54 llvm::DIBuilder DBuilder;
55 llvm::DICompileUnit TheCU;
57 llvm::DIType VTablePtrType;
58 llvm::DIType ClassTy;
59 llvm::MDCompositeType *ObjTy = nullptr;
60 llvm::DIType SelTy;
61 llvm::DIType OCLImage1dDITy, OCLImage1dArrayDITy, OCLImage1dBufferDITy;
62 llvm::DIType OCLImage2dDITy, OCLImage2dArrayDITy;
63 llvm::DIType OCLImage3dDITy;
[all …]
DCodeGenModule.h37 namespace llvm {
111 llvm::Type *VoidTy;
114 llvm::IntegerType *Int8Ty, *Int16Ty, *Int32Ty, *Int64Ty;
116 llvm::Type *FloatTy, *DoubleTy;
119 llvm::IntegerType *IntTy;
123 llvm::IntegerType *IntPtrTy;
124 llvm::IntegerType *SizeTy;
125 llvm::IntegerType *PtrDiffTy;
130 llvm::PointerType *VoidPtrTy;
131 llvm::PointerType *Int8PtrTy;
[all …]
DCGObjCGNU.cpp49 std::vector<llvm::Type*> ArgTys;
51 llvm::Constant *Function;
63 llvm::Type *RetTy, ...) { in init()
70 while (llvm::Type *ArgTy = va_arg(Args, llvm::Type*)) in init()
78 operator llvm::Constant*() { in operator llvm::Constant*()
82 llvm::Type *RetTy = ArgTys.back(); in operator llvm::Constant*()
84 llvm::FunctionType *FTy = llvm::FunctionType::get(RetTy, ArgTys, false); in operator llvm::Constant*()
86 cast<llvm::Constant>(CGM->CreateRuntimeFunction(FTy, FunctionName)); in operator llvm::Constant*()
93 operator llvm::Function*() { in operator llvm::Function*()
94 return cast<llvm::Function>((llvm::Constant*)*this); in operator llvm::Function*()
[all …]
DCodeGenFunction.h39 namespace llvm {
109 JumpDest(llvm::BasicBlock *Block, in JumpDest()
115 llvm::BasicBlock *getBlock() const { return Block; } in getBlock()
125 llvm::BasicBlock *Block;
133 typedef std::pair<llvm::Value *, llvm::Value *> ComplexPairTy;
139 void InsertHelper(llvm::Instruction *I, const llvm::Twine &Name,
140 llvm::BasicBlock *BB,
141 llvm::BasicBlock::iterator InsertPt) const;
150 llvm::Function *CurFn;
164 llvm::Value *ReturnValue;
[all …]
DCGOpenMPRuntime.h25 namespace llvm {
46 typedef llvm::function_ref<void(CodeGenFunction &)> RegionCodeGenTy;
147 llvm::Constant *DefaultOpenMPPSource;
149 typedef llvm::DenseMap<unsigned, llvm::Value *> OpenMPDefaultLocMapTy;
151 llvm::Value *getOrCreateDefaultLocation(OpenMPLocationFlags Flags);
192 llvm::StructType *IdentTy;
194 typedef llvm::DenseMap<unsigned, llvm::Value *> OpenMPDebugLocMapTy;
199 llvm::FunctionType *Kmpc_MicroTy;
202 llvm::Value *DebugLoc;
203 llvm::Value *ThreadID;
[all …]
DCGObjCMac.cpp51 llvm::LLVMContext &VMContext;
61 llvm::Constant *getMessageSendFn() const { in getMessageSendFn()
64 llvm::Type *params[] = { ObjectPtrTy, SelectorPtrTy }; in getMessageSendFn()
66 CGM.CreateRuntimeFunction(llvm::FunctionType::get(ObjectPtrTy, in getMessageSendFn()
69 llvm::AttributeSet::get(CGM.getLLVMContext(), in getMessageSendFn()
70 llvm::AttributeSet::FunctionIndex, in getMessageSendFn()
71 llvm::Attribute::NonLazyBind)); in getMessageSendFn()
79 llvm::Constant *getMessageSendStretFn() const { in getMessageSendStretFn()
80 llvm::Type *params[] = { ObjectPtrTy, SelectorPtrTy }; in getMessageSendStretFn()
81 return CGM.CreateRuntimeFunction(llvm::FunctionType::get(CGM.VoidTy, in getMessageSendStretFn()
[all …]
DMicrosoftCXXABI.cpp39 SmallVector<llvm::GlobalVariable *, 2> Globals;
75 llvm::Value *Ptr, QualType ElementType,
83 llvm::GlobalVariable *getMSCompleteObjectLocator(const CXXRecordDecl *RD,
86 llvm::Constant *getAddrOfRTTIDescriptor(QualType Ty) override;
87 llvm::Constant *
92 llvm::Value *EmitTypeid(CodeGenFunction &CGF, QualType SrcRecordTy,
93 llvm::Value *ThisPtr,
94 llvm::Type *StdTypeInfoPtrTy) override;
99 llvm::Value *EmitDynamicCastCall(CodeGenFunction &CGF, llvm::Value *Value,
102 llvm::BasicBlock *CastEnd) override;
[all …]
DItaniumCXXABI.cpp43 llvm::DenseMap<const CXXRecordDecl *, llvm::GlobalVariable *> VTables;
74 llvm::Type *ConvertMemberPointerType(const MemberPointerType *MPT) override;
76 llvm::Value *
79 llvm::Value *&This,
80 llvm::Value *MemFnPtr,
83 llvm::Value *
85 llvm::Value *Base,
86 llvm::Value *MemPtr,
89 llvm::Value *EmitMemberPointerConversion(CodeGenFunction &CGF,
91 llvm::Value *Src) override;
[all …]
DCGCXXABI.h21 namespace llvm {
54 llvm::Value *&getThisValue(CodeGenFunction &CGF) { in getThisValue()
62 llvm::Constant *GetBogusMemberPointer(QualType T);
67 llvm::Value *&getStructorImplicitParamValue(CodeGenFunction &CGF) { in getStructorImplicitParamValue()
131 virtual llvm::Type *
137 virtual llvm::Value *EmitLoadOfMemberFunctionPointer(
138 CodeGenFunction &CGF, const Expr *E, llvm::Value *&This,
139 llvm::Value *MemPtr, const MemberPointerType *MPT);
142 virtual llvm::Value *
144 llvm::Value *Base, llvm::Value *MemPtr,
[all …]
DCodeGenModule.cpp78 llvm::Module &M, const llvm::DataLayout &TD, in CodeGenModule()
96 llvm::LLVMContext &LLVMContext = M.getContext(); in CodeGenModule()
97 VoidTy = llvm::Type::getVoidTy(LLVMContext); in CodeGenModule()
98 Int8Ty = llvm::Type::getInt8Ty(LLVMContext); in CodeGenModule()
99 Int16Ty = llvm::Type::getInt16Ty(LLVMContext); in CodeGenModule()
100 Int32Ty = llvm::Type::getInt32Ty(LLVMContext); in CodeGenModule()
101 Int64Ty = llvm::Type::getInt64Ty(LLVMContext); in CodeGenModule()
102 FloatTy = llvm::Type::getFloatTy(LLVMContext); in CodeGenModule()
103 DoubleTy = llvm::Type::getDoubleTy(LLVMContext); in CodeGenModule()
107 IntTy = llvm::IntegerType::get(LLVMContext, C.getTargetInfo().getIntWidth()); in CodeGenModule()
[all …]
/external/llvm/test/CodeGen/X86/
Dmisched-aa-colored.ll8llvm::SDNode.10.610.970.1930.2050.2290.4090" = type { %"class.llvm::FoldingSetImpl::Node.0.600.960…
9 %"class.llvm::FoldingSetImpl::Node.0.600.960.1920.2040.2280.4080" = type { i8* }
10 %"class.llvm::ilist_node.2.602.962.1922.2042.2282.4082" = type { %"class.llvm::ilist_half_node.1.60…
11 %"class.llvm::ilist_half_node.1.601.961.1921.2041.2281.4081" = type { %"class.llvm::SDNode.10.610.9…
12 %"struct.llvm::EVT.8.608.968.1928.2048.2288.4088" = type { %"class.llvm::MVT.5.605.965.1925.2045.22…
13 %"class.llvm::MVT.5.605.965.1925.2045.2285.4085" = type { i32 }
14llvm::SDUse.4.604.964.1924.2044.2284.4084" = type { %"class.llvm::SDValue.3.603.963.1923.2043.2283…
15 %"class.llvm::SDValue.3.603.963.1923.2043.2283.4083" = type { %"class.llvm::SDNode.10.610.970.1930.…
16 %"class.llvm::DebugLoc.9.609.969.1929.2049.2289.4089" = type { i32, i32 }
17llvm::SelectionDAG.104.704.1064.2024.2144.2384.4184" = type { %"class.llvm::TargetMachine.17.617.9…
[all …]
/external/llvm/examples/ExceptionDemo/
DExceptionDemo.cpp173 static std::map<std::string, llvm::Value*> namedValues;
186 static llvm::StructType *ourTypeInfoType;
187 static llvm::StructType *ourCaughtResultType;
188 static llvm::StructType *ourExceptionType;
189 static llvm::StructType *ourUnwindExceptionType;
191 static llvm::ConstantInt *ourExceptionNotThrownState;
192 static llvm::ConstantInt *ourExceptionThrownState;
193 static llvm::ConstantInt *ourExceptionCaughtState;
196 typedef std::vector<llvm::Type*> ArgTypes;
214 llvm::Function *createFunction(llvm::Module &module, in createFunction()
[all …]
/external/lldb/include/lldb/Expression/
DIRForTarget.h23 namespace llvm {
59 class IRForTarget : public llvm::ModulePass
122 runOnModule (llvm::Module &llvm_module);
131 assignPassManager (llvm::PMStack &pass_mgr_stack,
132 llvm::PassManagerType pass_mgr_type = llvm::PMT_ModulePassManager);
140 virtual llvm::PassManagerType
155 FixFunctionLinkage (llvm::Function &llvm_function);
175 HasSideEffects (llvm::Function &llvm_function);
203 GetFunctionAddress (llvm::Function *function,
206 llvm::Constant **&value_ptr);
[all …]
/external/clang/lib/Driver/
DToolChains.h80 llvm::Triple GCCTriple;
90 llvm::Optional<Multilib> BiarchSibling;
103 void init(const Driver &D, const llvm::Triple &TargetTriple,
104 const llvm::opt::ArgList &Args);
110 const llvm::Triple &getTriple() const { return GCCTriple; } in getTriple()
136 CollectLibDirsAndTriples(const llvm::Triple &TargetTriple,
137 const llvm::Triple &BiarchTriple,
143 void ScanLibDirForGCCTriple(const llvm::Triple &TargetArch,
144 const llvm::opt::ArgList &Args,
153 Generic_GCC(const Driver &D, const llvm::Triple &Triple,
[all …]
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DBasicValueFactory.h27 class CompoundValData : public llvm::FoldingSetNode {
29 llvm::ImmutableList<SVal> L;
32 CompoundValData(QualType t, llvm::ImmutableList<SVal> l) in CompoundValData()
35 typedef llvm::ImmutableList<SVal>::iterator iterator;
39 static void Profile(llvm::FoldingSetNodeID& ID, QualType T,
40 llvm::ImmutableList<SVal> L);
42 void Profile(llvm::FoldingSetNodeID& ID) { Profile(ID, T, L); } in Profile()
45 class LazyCompoundValData : public llvm::FoldingSetNode {
55 static void Profile(llvm::FoldingSetNodeID& ID,
59 void Profile(llvm::FoldingSetNodeID& ID) { Profile(ID, store, region); } in Profile()
[all …]
/external/llvm/lib/Target/NVPTX/
DNVPTXUtilities.cpp29 using namespace llvm;
38 void llvm::clearAnnotationCache(const llvm::Module *Mod) { in clearAnnotationCache()
71 NamedMDNode *NMD = m->getNamedMetadata(llvm::NamedMDForAnnotations); in cacheAnnotationFromMD()
102 bool llvm::findOneNVVMAnnotation(const GlobalValue *gv, std::string prop, in findOneNVVMAnnotation()
116 bool llvm::findAllNVVMAnnotation(const GlobalValue *gv, std::string prop, in findAllNVVMAnnotation()
130 bool llvm::isTexture(const llvm::Value &val) { in isTexture()
133 if (llvm::findOneNVVMAnnotation( in isTexture()
134 gv, llvm::PropertyAnnotationNames[llvm::PROPERTY_ISTEXTURE], in isTexture()
143 bool llvm::isSurface(const llvm::Value &val) { in isSurface()
146 if (llvm::findOneNVVMAnnotation( in isSurface()
[all …]
/external/llvm/test/CodeGen/ARM/
D2010-06-21-nondarwin-tc.ll7 %"class.llvm::Record" = type { i32, %"class.std::basic_string", %"class.llvm::SMLoc", %"class.std::…
8 %"class.llvm::RecordVal" = type { %"class.std::basic_string", %"struct.llvm::Init"*, i32, %"struct.
9 %"class.llvm::SMLoc" = type { i8* }
10 %"class.llvm::StringInit" = type { [8 x i8], %"class.std::basic_string" }
11 %"class.std::basic_string" = type { %"class.llvm::SMLoc" }
13 %"struct.llvm::Init" = type { i32 (...)** }
23llvm::RecordVal"*, %"class.std::basic_string"*, %"struct.llvm::Init"*, i32)* @_ZN4llvm9RecordValC2…
29 …_ZN4llvm9RecordValC2ERKSsPNS_5RecTyEj(%"class.llvm::RecordVal"*, %"class.std::basic_string"*, %"st…
31llvm::Init"* @_ZNK4llvm7VarInit12getFieldInitERNS_6RecordEPKNS_9RecordValERKSs(%"class.llvm::Strin…
36 …%tmp.i = getelementptr inbounds %"class.llvm::StringInit", %"class.llvm::StringInit"* %this, i32 0…
[all …]
/external/lldb/source/Core/
DArchSpec.cpp41 llvm::Triple::ArchType machine;
51 …{ eByteOrderLittle, 4, 2, 4, llvm::Triple::arm , ArchSpec::eCore_arm_generic , "arm" …
52 …{ eByteOrderLittle, 4, 2, 4, llvm::Triple::arm , ArchSpec::eCore_arm_armv4 , "armv4" …
53 …{ eByteOrderLittle, 4, 2, 4, llvm::Triple::arm , ArchSpec::eCore_arm_armv4t , "armv4t" …
54 …{ eByteOrderLittle, 4, 2, 4, llvm::Triple::arm , ArchSpec::eCore_arm_armv5 , "armv5" …
55 …{ eByteOrderLittle, 4, 2, 4, llvm::Triple::arm , ArchSpec::eCore_arm_armv5e , "armv5e" …
56 …{ eByteOrderLittle, 4, 2, 4, llvm::Triple::arm , ArchSpec::eCore_arm_armv5t , "armv5t" …
57 …{ eByteOrderLittle, 4, 2, 4, llvm::Triple::arm , ArchSpec::eCore_arm_armv6 , "armv6" …
58 …{ eByteOrderLittle, 4, 2, 4, llvm::Triple::arm , ArchSpec::eCore_arm_armv7 , "armv7" …
59 …{ eByteOrderLittle, 4, 2, 4, llvm::Triple::arm , ArchSpec::eCore_arm_armv7f , "armv7f" …
[all …]
/external/llvm/tools/
DCMakeLists.txt1 add_llvm_tool_subdirectory(llvm-config)
12 add_llvm_tool_subdirectory(llvm-shlib)
14 ignore_llvm_tool_subdirectory(llvm-shlib)
18 add_llvm_tool_subdirectory(llvm-as)
19 add_llvm_tool_subdirectory(llvm-dis)
20 add_llvm_tool_subdirectory(llvm-mc)
23 add_llvm_tool_subdirectory(llvm-ar)
24 add_llvm_tool_subdirectory(llvm-nm)
25 add_llvm_tool_subdirectory(llvm-size)
27 add_llvm_tool_subdirectory(llvm-cov)
[all …]
DMakefile30 DIRS := llvm-config
31 PARALLEL_DIRS := opt llvm-as llvm-dis llc llvm-ar llvm-nm llvm-link \
32 lli llvm-extract llvm-mc bugpoint llvm-bcanalyzer llvm-diff \
33 macho-dump llvm-objdump llvm-readobj llvm-rtdyld \
34 llvm-dwarfdump llvm-cov llvm-size llvm-stress llvm-mcmarkup \
35 llvm-profdata llvm-symbolizer obj2yaml yaml2obj llvm-c-test \
36 llvm-cxxdump verify-uselistorder dsymutil llvm-pdbdump
40 PARALLEL_DIRS += llvm-jitlistener
56 DIRS += lto llvm-lto
78 PARALLEL_DIRS += llvm-go
/external/llvm/test/Feature/
Dintrinsics.ll1 ; RUN: llvm-as < %s | llvm-dis > %t1.ll
2 ; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
6 declare i1 @llvm.isunordered.f32(float, float)
8 declare i1 @llvm.isunordered.f64(double, double)
11 declare i8 @llvm.ctpop.i8(i8)
13 declare i16 @llvm.ctpop.i16(i16)
15 declare i32 @llvm.ctpop.i32(i32)
17 declare i64 @llvm.ctpop.i64(i64)
19 declare i8 @llvm.cttz.i8(i8, i1)
21 declare i16 @llvm.cttz.i16(i16, i1)
[all …]

12345678910>>...230