Home
last modified time | relevance | path

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

12345678910>>...207

/external/llvm/include/llvm/
DLinkAllPasses.h50 (void) llvm::createAAEvalPass(); in ForcePassLinking()
51 (void) llvm::createAggressiveDCEPass(); in ForcePassLinking()
52 (void) llvm::createAliasAnalysisCounterPass(); in ForcePassLinking()
53 (void) llvm::createAliasDebugger(); in ForcePassLinking()
54 (void) llvm::createArgumentPromotionPass(); in ForcePassLinking()
55 (void) llvm::createBasicAliasAnalysisPass(); in ForcePassLinking()
56 (void) llvm::createLibCallAliasAnalysisPass(nullptr); in ForcePassLinking()
57 (void) llvm::createScalarEvolutionAliasAnalysisPass(); in ForcePassLinking()
58 (void) llvm::createTypeBasedAliasAnalysisPass(); in ForcePassLinking()
59 (void) llvm::createBoundsCheckingPass(); 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 …]
/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::DICompositeType ObjTy;
60 llvm::DIType SelTy;
61 llvm::DIType OCLImage1dDITy, OCLImage1dArrayDITy, OCLImage1dBufferDITy;
62 llvm::DIType OCLImage2dDITy, OCLImage2dArrayDITy;
63 llvm::DIType OCLImage3dDITy;
[all …]
DCodeGenModule.h36 namespace llvm {
108 llvm::Type *VoidTy;
111 llvm::IntegerType *Int8Ty, *Int16Ty, *Int32Ty, *Int64Ty;
113 llvm::Type *FloatTy, *DoubleTy;
116 llvm::IntegerType *IntTy;
120 llvm::IntegerType *IntPtrTy;
121 llvm::IntegerType *SizeTy;
122 llvm::IntegerType *PtrDiffTy;
127 llvm::PointerType *VoidPtrTy;
128 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.h38 namespace llvm {
108 JumpDest(llvm::BasicBlock *Block, in JumpDest()
114 llvm::BasicBlock *getBlock() const { return Block; } in getBlock()
124 llvm::BasicBlock *Block;
132 typedef std::pair<llvm::Value *, llvm::Value *> ComplexPairTy;
138 void InsertHelper(llvm::Instruction *I, const llvm::Twine &Name,
139 llvm::BasicBlock *BB,
140 llvm::BasicBlock::iterator InsertPt) const;
149 llvm::Function *CurFn;
163 llvm::Value *ReturnValue;
[all …]
DItaniumCXXABI.cpp39 llvm::DenseMap<const CXXRecordDecl *, llvm::GlobalVariable *> VTables;
70 llvm::Type *ConvertMemberPointerType(const MemberPointerType *MPT) override;
72 llvm::Value *
75 llvm::Value *&This,
76 llvm::Value *MemFnPtr,
79 llvm::Value *
81 llvm::Value *Base,
82 llvm::Value *MemPtr,
85 llvm::Value *EmitMemberPointerConversion(CodeGenFunction &CGF,
87 llvm::Value *Src) override;
[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.cpp35 SmallVector<llvm::GlobalVariable *, 2> Globals;
60 llvm::Value *adjustToCompleteObject(CodeGenFunction &CGF,
61 llvm::Value *ptr,
64 llvm::GlobalVariable *getMSCompleteObjectLocator(const CXXRecordDecl *RD,
67 llvm::Constant *getAddrOfRTTIDescriptor(QualType Ty) override;
71 llvm::Value *EmitTypeid(CodeGenFunction &CGF, QualType SrcRecordTy,
72 llvm::Value *ThisPtr,
73 llvm::Type *StdTypeInfoPtrTy) override;
78 llvm::Value *EmitDynamicCastCall(CodeGenFunction &CGF, llvm::Value *Value,
81 llvm::BasicBlock *CastEnd) override;
[all …]
DCodeGenModule.cpp76 llvm::Module &M, const llvm::DataLayout &TD, in CodeGenModule()
90 LifetimeEndFn(nullptr), SanitizerBL(llvm::SpecialCaseList::createOrDie( in CodeGenModule()
94 llvm::LLVMContext &LLVMContext = M.getContext(); in CodeGenModule()
95 VoidTy = llvm::Type::getVoidTy(LLVMContext); in CodeGenModule()
96 Int8Ty = llvm::Type::getInt8Ty(LLVMContext); in CodeGenModule()
97 Int16Ty = llvm::Type::getInt16Ty(LLVMContext); in CodeGenModule()
98 Int32Ty = llvm::Type::getInt32Ty(LLVMContext); in CodeGenModule()
99 Int64Ty = llvm::Type::getInt64Ty(LLVMContext); in CodeGenModule()
100 FloatTy = llvm::Type::getFloatTy(LLVMContext); in CodeGenModule()
101 DoubleTy = llvm::Type::getDoubleTy(LLVMContext); in CodeGenModule()
[all …]
DCGCXXABI.h21 namespace llvm {
53 llvm::Value *&getThisValue(CodeGenFunction &CGF) { in getThisValue()
61 llvm::Constant *GetBogusMemberPointer(QualType T);
66 llvm::Value *&getStructorImplicitParamValue(CodeGenFunction &CGF) { in getStructorImplicitParamValue()
128 virtual llvm::Type *
134 virtual llvm::Value *EmitLoadOfMemberFunctionPointer(
135 CodeGenFunction &CGF, const Expr *E, llvm::Value *&This,
136 llvm::Value *MemPtr, const MemberPointerType *MPT);
139 virtual llvm::Value *
141 llvm::Value *Base, llvm::Value *MemPtr,
[all …]
DCGDebugInfo.cpp72 Builder.SetCurrentDebugLocation(llvm::DebugLoc()); in NoLocation()
83 Builder.SetCurrentDebugLocation(llvm::DebugLoc()); in ArtificialLocation()
93 llvm::DIDescriptor Scope(DI->LexicalBlockStack.back()); in Emit()
94 Builder.SetCurrentDebugLocation(llvm::DebugLoc::get(0, 0, Scope)); in Emit()
115 llvm::DIScope Scope(LexicalBlockStack.back()); in setLocation()
122 llvm::DILexicalBlockFile LBF = llvm::DILexicalBlockFile(Scope); in setLocation()
123 llvm::DIDescriptor D in setLocation()
126 llvm::MDNode *N = D; in setLocation()
130 llvm::DIDescriptor D in setLocation()
132 llvm::MDNode *N = D; in setLocation()
[all …]
DCGObjCRuntime.h24 namespace llvm {
87 llvm::Value *BaseValue,
90 llvm::Value *Offset);
100 llvm::Constant *beginCatchFn,
101 llvm::Constant *endCatchFn,
102 llvm::Constant *exceptionRethrowFn);
109 llvm::Function *syncEnterFn,
110 llvm::Function *syncExitFn);
117 virtual llvm::Function *ModuleInitFunction() = 0;
122 virtual llvm::Value *GetSelector(CodeGenFunction &CGF,
[all …]
DCGDeclCXX.cpp26 llvm::Constant *DeclPtr) { in EmitDeclInit()
66 llvm::Constant *addr) { in EmitDeclDestroy()
88 llvm::Constant *function; in EmitDeclDestroy()
89 llvm::Constant *argument; in EmitDeclDestroy()
100 argument = llvm::ConstantExpr::getBitCast( in EmitDeclDestroy()
108 argument = llvm::Constant::getNullValue(CGF.Int8PtrTy); in EmitDeclDestroy()
117 llvm::Constant *Addr) { in EmitDeclInvariant()
123 llvm::Intrinsic::ID InvStartID = llvm::Intrinsic::invariant_start; in EmitDeclInvariant()
124 llvm::Constant *InvariantStart = CGF.CGM.getIntrinsic(InvStartID); in EmitDeclInvariant()
129 llvm::Value *Args[2] = { llvm::ConstantInt::getSigned(CGF.Int64Ty, Width), in EmitDeclInvariant()
[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.cpp172 static std::map<std::string, llvm::Value*> namedValues;
185 static llvm::StructType *ourTypeInfoType;
186 static llvm::StructType *ourCaughtResultType;
187 static llvm::StructType *ourExceptionType;
188 static llvm::StructType *ourUnwindExceptionType;
190 static llvm::ConstantInt *ourExceptionNotThrownState;
191 static llvm::ConstantInt *ourExceptionThrownState;
192 static llvm::ConstantInt *ourExceptionCaughtState;
195 typedef std::vector<llvm::Type*> ArgTypes;
213 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/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()
101 bool llvm::findOneNVVMAnnotation(const GlobalValue *gv, std::string prop, in findOneNVVMAnnotation()
115 bool llvm::findAllNVVMAnnotation(const GlobalValue *gv, std::string prop, in findAllNVVMAnnotation()
129 bool llvm::isTexture(const llvm::Value &val) { in isTexture()
132 if (llvm::findOneNVVMAnnotation( in isTexture()
133 gv, llvm::PropertyAnnotationNames[llvm::PROPERTY_ISTEXTURE], in isTexture()
142 bool llvm::isSurface(const llvm::Value &val) { in isSurface()
145 if (llvm::findOneNVVMAnnotation( in isSurface()
[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/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/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 …]
/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"* %this, i32 0, i32 0, i32 4 ; <i8*> [#us…
[all …]
/external/llvm/include/llvm/CodeGen/
DLinkAllCodegenComponents.h34 (void) llvm::createFastRegisterAllocator(); in ForceCodegenLinking()
35 (void) llvm::createBasicRegisterAllocator(); in ForceCodegenLinking()
36 (void) llvm::createGreedyRegisterAllocator(); in ForceCodegenLinking()
37 (void) llvm::createDefaultPBQPRegisterAllocator(); in ForceCodegenLinking()
39 llvm::linkOcamlGC(); in ForceCodegenLinking()
40 llvm::linkErlangGC(); in ForceCodegenLinking()
41 llvm::linkShadowStackGC(); in ForceCodegenLinking()
43 (void) llvm::createBURRListDAGScheduler(nullptr, in ForceCodegenLinking()
44 llvm::CodeGenOpt::Default); in ForceCodegenLinking()
45 (void) llvm::createSourceListDAGScheduler(nullptr, in ForceCodegenLinking()
[all …]

12345678910>>...207