/external/llvm/include/llvm/ |
D | LinkAllPasses.h | 63 (void) llvm::createAAEvalPass(); in ForcePassLinking() 64 (void) llvm::createAggressiveDCEPass(); in ForcePassLinking() 65 (void) llvm::createBitTrackingDCEPass(); in ForcePassLinking() 66 (void) llvm::createArgumentPromotionPass(); in ForcePassLinking() 67 (void) llvm::createAlignmentFromAssumptionsPass(); in ForcePassLinking() 68 (void) llvm::createBasicAAWrapperPass(); in ForcePassLinking() 69 (void) llvm::createSCEVAAWrapperPass(); in ForcePassLinking() 70 (void) llvm::createTypeBasedAAWrapperPass(); in ForcePassLinking() 71 (void) llvm::createScopedNoAliasAAWrapperPass(); in ForcePassLinking() 72 (void) llvm::createBoundsCheckingPass(); in ForcePassLinking() [all …]
|
/external/swiftshader/third_party/LLVM/include/llvm/ |
D | LinkAllPasses.h | 47 (void) llvm::createAAEvalPass(); in ForcePassLinking() 48 (void) llvm::createAggressiveDCEPass(); in ForcePassLinking() 49 (void) llvm::createAliasAnalysisCounterPass(); in ForcePassLinking() 50 (void) llvm::createAliasDebugger(); in ForcePassLinking() 51 (void) llvm::createArgumentPromotionPass(); in ForcePassLinking() 52 (void) llvm::createBasicAliasAnalysisPass(); in ForcePassLinking() 53 (void) llvm::createLibCallAliasAnalysisPass(0); in ForcePassLinking() 54 (void) llvm::createScalarEvolutionAliasAnalysisPass(); in ForcePassLinking() 55 (void) llvm::createTypeBasedAliasAnalysisPass(); in ForcePassLinking() 56 (void) llvm::createBlockPlacementPass(); in ForcePassLinking() [all …]
|
/external/tensorflow/tensorflow/compiler/xla/service/cpu/ |
D | vector_support_library.h | 33 inline llvm::APFloat GetIeeeF32(float f) { return llvm::APFloat(f); } in GetIeeeF32() 34 inline llvm::APFloat GetIeeeF32FromBitwiseRep(int32 bitwise_value) { in GetIeeeF32FromBitwiseRep() 35 return llvm::APFloat(llvm::APFloat::IEEEsingle(), in GetIeeeF32FromBitwiseRep() 36 llvm::APInt(/*numBits=*/32, /*val=*/bitwise_value)); in GetIeeeF32FromBitwiseRep() 48 llvm::IRBuilder<>* ir_builder, std::string name); 50 llvm::Value* Mul(llvm::Value* lhs, llvm::Value* rhs); 51 llvm::Value* Mul(int64 lhs, llvm::Value* rhs) { in Mul() 54 llvm::Value* Mul(const llvm::APFloat& lhs, llvm::Value* rhs) { in Mul() 60 llvm::Value* Mul(double lhs, llvm::Value* rhs) = delete; 61 llvm::Value* Mul(float lhs, llvm::Value* rhs) = delete; [all …]
|
D | vector_support_library.cc | 26 llvm::IRBuilder<>* ir_builder, in VectorSupportLibrary() 34 scalar_pointer_type_ = llvm::PointerType::getUnqual(scalar_type_); in VectorSupportLibrary() 35 vector_type_ = llvm::VectorType::get(scalar_type_, vector_size); in VectorSupportLibrary() 36 vector_pointer_type_ = llvm::PointerType::getUnqual(vector_type_); in VectorSupportLibrary() 39 static string TypeToString(llvm::Type* type) { in TypeToString() 41 llvm::raw_string_ostream ostream(o); in TypeToString() 47 std::initializer_list<llvm::Value*> values) { in AssertCorrectTypes() 48 for (llvm::Value* v : values) { in AssertCorrectTypes() 49 llvm::Type* type = v->getType(); in AssertCorrectTypes() 58 llvm::Value* VectorSupportLibrary::Mul(llvm::Value* lhs, llvm::Value* rhs) { in Mul() [all …]
|
D | llvm_ir_runtime.cc | 39 llvm::Function* EmitVectorF32TanhIfNeeded(llvm::Module* module, in EmitVectorF32TanhIfNeeded() 40 llvm::StringRef function_name, in EmitVectorF32TanhIfNeeded() 43 llvm::Function* vector_tanh_function = module->getFunction(function_name); in EmitVectorF32TanhIfNeeded() 50 llvm::LLVMContext* context = &module->getContext(); in EmitVectorF32TanhIfNeeded() 52 llvm::BasicBlock* vector_tanh_body = in EmitVectorF32TanhIfNeeded() 53 llvm::BasicBlock::Create(*context, "body", vector_tanh_function); in EmitVectorF32TanhIfNeeded() 55 llvm::IRBuilder<> ir_builder(vector_tanh_body); in EmitVectorF32TanhIfNeeded() 56 llvm::FastMathFlags fast_math_flags; in EmitVectorF32TanhIfNeeded() 62 llvm::Value* input = &*vector_tanh_function->arg_begin(); in EmitVectorF32TanhIfNeeded() 66 llvm::Value* input_clamped = in EmitVectorF32TanhIfNeeded() [all …]
|
/external/llvm/test/CodeGen/PowerPC/ |
D | pr15031.ll | 19 %"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/ |
D | 2004-04-05-InvokeCastCrash.ll | 4 …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… 6 …llvm::Value*,int,__gnu_cxx::hash<const llvm::Value*>,std::equal_to<const llvm::Value*>,std::alloca… 7 …llvm::Constant*,__gnu_cxx::hash<const llvm::Constant*>,std::equal_to<const llvm::Constant*>,std::a… 8 …llvm::Constant*,const llvm::Constant*,__gnu_cxx::hash<const llvm::Constant*>,std::_Identity<const … 9 …llvm::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/swiftshader/third_party/LLVM/test/Transforms/IndVarSimplify/ |
D | 2004-04-05-InvokeCastCrash.ll | 4 …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… 6 …llvm::Value*,int,__gnu_cxx::hash<const llvm::Value*>,std::equal_to<const llvm::Value*>,std::alloca… 7 …llvm::Constant*,__gnu_cxx::hash<const llvm::Constant*>,std::equal_to<const llvm::Constant*>,std::a… 8 …llvm::Constant*,const llvm::Constant*,__gnu_cxx::hash<const llvm::Constant*>,std::_Identity<const … 9 …llvm::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/swiftshader/third_party/LLVM/test/Transforms/ScalarRepl/ |
D | debuginfo.ll | 4 %llvm.dbg.anchor.type = type { i32, i32 } 5 %llvm.dbg.basictype.type = type { i32, { }*, i8*, { }*, i32, i64, i64, i64, i32, i32 } 6 %llvm.dbg.compile_unit.type = type { i32, { }*, i32, i8*, i8*, i8*, i1, i1, i8* } 7 %llvm.dbg.composite.type = type { i32, { }*, i8*, { }*, i32, i64, i64, i64, i32, { }*, { }* } 8 %llvm.dbg.derivedtype.type = type { i32, { }*, i8*, { }*, i32, i64, i64, i64, i32, { }* } 9 %llvm.dbg.subprogram.type = type { i32, { }*, { }*, i8*, i8*, i8*, { }*, i32, { }*, i1, i1 } 10 %llvm.dbg.variable.type = type { i32, { }*, i8*, { }*, i32, { }* } 13 @llvm.dbg.compile_units = linkonce constant %llvm.dbg.anchor.type { i32 458752, i32 17 }, section "… 14 @.str = internal constant [6 x i8] c"r.cpp\00", section "llvm.metadata" ; <[6 x i8]*> [#uses=1] 15 @.str1 = internal constant [5 x i8] c"/tmp\00", section "llvm.metadata" ; <[5 x i8]*> [#uses=1] [all …]
|
D | 2009-03-05-Aggre2Scalar-dbg.ll | 9 %llvm.dbg.anchor.type = type { i32, i32 } 10 %llvm.dbg.basictype.type = type { i32, %0*, i8*, %0*, i32, i64, i64, i64, i32, i32 } 11 %llvm.dbg.compile_unit.type = type { i32, %0*, i32, i8*, i8*, i8*, i1, i1, i8*, i32 } 12 %llvm.dbg.composite.type = type { i32, %0*, i8*, %0*, i32, i64, i64, i64, i32, %0*, %0*, i32 } 13 %llvm.dbg.derivedtype.type = type { i32, %0*, i8*, %0*, i32, i64, i64, i64, i32, %0* } 14 %llvm.dbg.subprogram.type = type { i32, %0*, %0*, i8*, i8*, i8*, %0*, i32, %0*, i1, i1 } 15 %llvm.dbg.subrange.type = type { i32, i64, i64 } 16 %llvm.dbg.variable.type = type { i32, %0*, i8*, %0*, i32, %0* } 17 @llvm.dbg.compile_units = linkonce constant %llvm.dbg.anchor.type { i32 458752, i32 17 }, section "… 18 internal constant [8 x i8] c"PR491.c\00", section "llvm.metadata" ; <[8 x i8]*>:0 [#uses=1] [all …]
|
/external/clang/lib/CodeGen/ |
D | CGDebugInfo.h | 30 namespace llvm { 58 llvm::DIBuilder DBuilder; 59 llvm::DICompileUnit *TheCU = nullptr; 63 llvm::DIType *VTablePtrType = nullptr; 64 llvm::DIType *ClassTy = nullptr; 65 llvm::DICompositeType *ObjTy = nullptr; 66 llvm::DIType *SelTy = nullptr; 68 llvm::DIType *SingletonId = nullptr; 70 llvm::DIType *OCLEventDITy = nullptr; 71 llvm::DIType *OCLClkEventDITy = nullptr; [all …]
|
D | CodeGenModule.h | 39 namespace llvm { 117 llvm::Constant *objc_autoreleasePoolPop; 120 llvm::Constant *objc_autoreleasePoolPush; 123 llvm::Constant *objc_autorelease; 126 llvm::Constant *objc_autoreleaseReturnValue; 129 llvm::Constant *objc_copyWeak; 132 llvm::Constant *objc_destroyWeak; 135 llvm::Constant *objc_initWeak; 138 llvm::Constant *objc_loadWeak; 141 llvm::Constant *objc_loadWeakRetained; [all …]
|
D | CGCUDANV.cpp | 32 llvm::Type *IntTy, *SizeTy, *VoidTy; 33 llvm::PointerType *CharPtrTy, *VoidPtrTy, *VoidPtrPtrTy; 36 llvm::LLVMContext &Context; 38 llvm::Module &TheModule; 40 llvm::SmallVector<llvm::Function *, 16> EmittedKernels; 41 llvm::SmallVector<std::pair<llvm::GlobalVariable *, unsigned>, 16> DeviceVars; 45 llvm::SmallVector<llvm::GlobalVariable *, 16> GpuBinaryHandles; 47 llvm::Constant *getSetupArgumentFn() const; 48 llvm::Constant *getLaunchFn() const; 51 llvm::Function *makeRegisterGlobalsFn(); [all …]
|
D | CGObjCGNU.cpp | 47 llvm::FunctionType *FTy; 49 llvm::Constant *Function; 61 void init(CodeGenModule *Mod, const char *name, llvm::Type *RetTy, ...) { in init() 65 std::vector<llvm::Type *> ArgTys; in init() 68 while (llvm::Type *ArgTy = va_arg(Args, llvm::Type *)) in init() 71 FTy = llvm::FunctionType::get(RetTy, ArgTys, false); in init() 74 llvm::FunctionType *getType() { return FTy; } in getType() 78 operator llvm::Constant *() { in operator llvm::Constant*() 83 cast<llvm::Constant>(CGM->CreateRuntimeFunction(FTy, FunctionName)); in operator llvm::Constant*() 87 operator llvm::Function *() { in operator llvm::Function*() [all …]
|
D | CGObjCMac.cpp | 51 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 …]
|
/external/llvm/test/CodeGen/X86/ |
D | misched-aa-colored.ll | 8 …llvm::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 } 14 …llvm::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 } 17 …llvm::SelectionDAG.104.704.1064.2024.2144.2384.4184" = type { %"class.llvm::TargetMachine.17.617.9… [all …]
|
/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/ |
D | llvm_util.h | 39 namespace llvm { 54 llvm::StringRef AsStringRef(tensorflow::StringPiece str); 57 llvm::ArrayRef<T> AsArrayRef(const std::vector<T>& vec) { in AsArrayRef() 58 return llvm::ArrayRef<T>(vec.data(), vec.size()); in AsArrayRef() 62 llvm::ArrayRef<T> AsArrayRef(const tensorflow::gtl::ArraySlice<T>& slice) { in AsArrayRef() 63 return llvm::ArrayRef<T>(slice.data(), slice.size()); in AsArrayRef() 70 llvm::raw_string_ostream ostream(buffer_string); in DumpToString() 79 string DumpModuleToString(const llvm::Module& module); 104 llvm::Value* EmitCallToIntrinsic( 105 llvm::Intrinsic::ID intrinsic_id, [all …]
|
D | llvm_util.cc | 49 llvm::Module* ModuleFromIRBuilder(llvm::IRBuilder<>* ir_builder) { in ModuleFromIRBuilder() 62 llvm::StringRef AsStringRef(tensorflow::StringPiece str) { in AsStringRef() 63 return llvm::StringRef(str.data(), str.size()); in AsStringRef() 66 std::unique_ptr<llvm::Module> DropConstantInitializers( in DropConstantInitializers() 67 const llvm::Module& module) { in DropConstantInitializers() 68 std::unique_ptr<llvm::Module> cloned_module = CloneModule(module); in DropConstantInitializers() 69 for (llvm::GlobalVariable& global_var : cloned_module->globals()) { in DropConstantInitializers() 71 global_var.setLinkage(llvm::GlobalValue::LinkageTypes::ExternalLinkage); in DropConstantInitializers() 76 string DumpModuleToString(const llvm::Module& module) { in DumpModuleToString() 78 llvm::raw_string_ostream ostream(buffer_string); in DumpModuleToString() [all …]
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | elemental_ir_emitter.h | 37 llvm::Module* module, llvm::IRBuilder<>* ir_builder) in ElementalIrEmitter() 44 virtual StatusOr<llvm::Value*> EmitUnaryOp(const HloInstruction* op, 45 llvm::Value* operand_value) const; 47 virtual StatusOr<llvm::Value*> EmitBinaryOp(const HloInstruction* op, 48 llvm::Value* lhs_value, 49 llvm::Value* rhs_value) const; 57 llvm::IRBuilder<>* ir_builder() const { return ir_builder_; } in ir_builder() 58 llvm::Module* module() const { return module_; } in module() 61 virtual StatusOr<llvm::Value*> EmitIntegerUnaryOp( 62 const HloInstruction* op, llvm::Value* operand_value) const; [all …]
|
/external/swiftshader/third_party/LLVM/test/Transforms/SimplifyCFG/ |
D | switch_switch_fold_dbginfo.ll | 7 %llvm.dbg.anchor.type = type { i32, i32 } 8 %llvm.dbg.basictype.type = type { i32, { }*, i8*, { }*, i32, i64, i64, i64, i32, i32 } 9 %llvm.dbg.compile_unit.type = type { i32, { }*, i32, i8*, i8*, i8*, i1, i1, i8*, i32 } 10 %llvm.dbg.composite.type = type { i32, { }*, i8*, { }*, i32, i64, i64, i64, i32, { }*, { }*, i32 } 11 %llvm.dbg.subprogram.type = type { i32, { }*, { }*, i8*, i8*, i8*, { }*, i32, { }*, i1, i1 } 12 %llvm.dbg.variable.type = type { i32, { }*, i8*, { }*, i32, { }* } 13 @llvm.dbg.compile_units = linkonce constant %llvm.dbg.anchor.type { i32 458752, i32 17 }, section "… 14 @.str = internal constant [10 x i8] c"swithh2.c\00", section "llvm.metadata" ; <[10 x i8]*> [#uses… 15 @.str1 = internal constant [38 x i8] c"/developer/home2/zsth/test/debug/tmp/\00", section "llvm.met… 16 …x i8] c"4.2.1 (Based on Apple Inc. build 5641) (LLVM build)\00", section "llvm.metadata" ; <[52 x… [all …]
|
D | branch-branch-dbginfo.ll | 6 %llvm.dbg.anchor.type = type { i32, i32 } 7 %llvm.dbg.basictype.type = type { i32, { }*, i8*, { }*, i32, i64, i64, i64, i32, i32 } 8 %llvm.dbg.compile_unit.type = type { i32, { }*, i32, i8*, i8*, i8* } 9 %llvm.dbg.derivedtype.type = type { i32, { }*, i8*, { }*, i32, i64, i64, i64, i32, { }* } 10 %llvm.dbg.subprogram.type = type { i32, { }*, { }*, i8*, i8*, i8*, { }*, i32, { }*, i1, i1 } 11 %llvm.dbg.variable.type = type { i32, { }*, i8*, { }*, i32, { }* } 12 …llvm.dbg.subprogram = internal constant %llvm.dbg.subprogram.type { i32 393262, { }* bitcast (%llv… 13 @llvm.dbg.subprograms = linkonce constant %llvm.dbg.anchor.type { i32 393216, i32 46 }, section "ll… 14 …llvm.dbg.compile_unit = internal constant %llvm.dbg.compile_unit.type { i32 393233, { }* bitcast (… 15 @llvm.dbg.compile_units = linkonce constant %llvm.dbg.anchor.type { i32 393216, i32 17 }, section "… [all …]
|
D | branch_fold_dbg.ll | 4 %llvm.dbg.anchor.type = type { i32, i32 } 5 %llvm.dbg.compile_unit.type = type { i32, { }*, i32, i8*, i8*, i8*, i1, i1, i8* } 7 @llvm.dbg.compile_units = linkonce constant %llvm.dbg.anchor.type { i32 458752, i32 17 }, section "… 9 @.str = internal constant [4 x i8] c"a.c\00", section "llvm.metadata" ; <[4 x i8]*> [#uses=1] 10 @.str1 = internal constant [6 x i8] c"/tmp/\00", section "llvm.metadata" ; <[6 x i8]*> [#uses=1] 11 …8] c"4.2.1 (Based on Apple Inc. build 5636) (LLVM build 00)\00", section "llvm.metadata" ; <[55 x… 12 …llvm.dbg.compile_unit = internal constant %llvm.dbg.compile_unit.type { i32 458769, { }* bitcast (… 14 declare void @llvm.dbg.stoppoint(i32, i32, { }*) nounwind 19 call void @llvm.dbg.stoppoint(i32 5, i32 0, { }* bitcast (%llvm.dbg.compile_unit.type* @llvm.dbg.co… 21 call void @llvm.dbg.stoppoint(i32 5, i32 0, { }* bitcast (%llvm.dbg.compile_unit.type* @llvm.dbg.co… [all …]
|
/external/llvm/examples/ExceptionDemo/ |
D | ExceptionDemo.cpp | 174 static std::map<std::string, llvm::Value*> namedValues; 187 static llvm::StructType *ourTypeInfoType; 188 static llvm::StructType *ourCaughtResultType; 189 static llvm::StructType *ourExceptionType; 190 static llvm::StructType *ourUnwindExceptionType; 192 static llvm::ConstantInt *ourExceptionNotThrownState; 193 static llvm::ConstantInt *ourExceptionThrownState; 194 static llvm::ConstantInt *ourExceptionCaughtState; 197 typedef std::vector<llvm::Type*> ArgTypes; 215 llvm::Function *createFunction(llvm::Module &module, in createFunction() [all …]
|
/external/swiftshader/third_party/LLVM/examples/ExceptionDemo/ |
D | ExceptionDemo.cpp | 177 static std::map<std::string, llvm::Value*> namedValues; 190 static llvm::StructType *ourTypeInfoType; 192 static llvm::StructType *ourCaughtResultType; 194 static llvm::StructType *ourExceptionType; 195 static llvm::StructType *ourUnwindExceptionType; 197 static llvm::ConstantInt *ourExceptionNotThrownState; 198 static llvm::ConstantInt *ourExceptionThrownState; 199 static llvm::ConstantInt *ourExceptionCaughtState; 202 typedef std::vector<llvm::Type*> ArgTypes; 220 llvm::Function *createFunction(llvm::Module &module, in createFunction() [all …]
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXUtilities.cpp | 29 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, const std::string &prop, in findOneNVVMAnnotation() 116 bool llvm::findAllNVVMAnnotation(const GlobalValue *gv, const 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 …]
|