Home
last modified time | relevance | path

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

/external/llvm/lib/VMCore/
DIRBuilder.cpp70 Value *TheFn = Intrinsic::getDeclaration(M, Intrinsic::memset, Tys); in CreateMemSet()
90 Value *TheFn = Intrinsic::getDeclaration(M, Intrinsic::memcpy, Tys); in CreateMemCpy()
110 Value *TheFn = Intrinsic::getDeclaration(M, Intrinsic::memmove, Tys); in CreateMemMove()
132 Value *TheFn = Intrinsic::getDeclaration(M, Intrinsic::lifetime_start); in CreateLifetimeStart()
147 Value *TheFn = Intrinsic::getDeclaration(M, Intrinsic::lifetime_end); in CreateLifetimeEnd()
DAutoUpgrade.cpp43 NewFn = Intrinsic::getDeclaration(F->getParent(), Intrinsic::ctlz, in UpgradeIntrinsicFunction1()
49 NewFn = Intrinsic::getDeclaration(F->getParent(), Intrinsic::cttz, in UpgradeIntrinsicFunction1()
DFunction.cpp385 Function *Intrinsic::getDeclaration(Module *M, ID id, ArrayRef<Type*> Tys) { in getDeclaration() function in Intrinsic
/external/llvm/lib/CodeGen/
DSjLjEHPrepare.cpp112 FrameAddrFn = Intrinsic::getDeclaration(&M, Intrinsic::frameaddress); in doInitialization()
113 StackAddrFn = Intrinsic::getDeclaration(&M, Intrinsic::stacksave); in doInitialization()
114 StackRestoreFn = Intrinsic::getDeclaration(&M, Intrinsic::stackrestore); in doInitialization()
115 BuiltinSetjmpFn = Intrinsic::getDeclaration(&M, Intrinsic::eh_sjlj_setjmp); in doInitialization()
116 LSDAAddrFn = Intrinsic::getDeclaration(&M, Intrinsic::eh_sjlj_lsda); in doInitialization()
117 CallSiteFn = Intrinsic::getDeclaration(&M, Intrinsic::eh_sjlj_callsite); in doInitialization()
118 FuncCtxFn = Intrinsic::getDeclaration(&M, Intrinsic::eh_sjlj_functioncontext); in doInitialization()
DStackProtector.cpp183 Create(Intrinsic::getDeclaration(M, Intrinsic::stackprotector), in InsertStackProtectors()
DIntrinsicLowering.cpp557 Constant *Int = Intrinsic::getDeclaration(M, Intrinsic::bswap, Ty); in LowerToByteSwap()
/external/llvm/lib/Target/MBlaze/
DMBlazeIntrinsicInfo.h27 Function *getDeclaration(Module *M, unsigned ID, Type **Tys = 0,
DMBlazeIntrinsicInfo.cpp103 Function *MBlazeIntrinsicInfo::getDeclaration(Module *M, unsigned IntrID, in getDeclaration() function in MBlazeIntrinsicInfo
/external/llvm/include/llvm/Target/
DTargetIntrinsicInfo.h58 virtual Function *getDeclaration(Module *M, unsigned ID, Type **Tys = 0,
/external/llvm/include/llvm/
DIntrinsics.h71 Function *getDeclaration(Module *M, ID id,
/external/llvm/lib/Transforms/Utils/
DLowerInvoke.cpp152 SetJmpFn = Intrinsic::getDeclaration(&M, Intrinsic::setjmp); in doInitialization()
160 LongJmpFn = Intrinsic::getDeclaration(&M, Intrinsic::longjmp); in doInitialization()
161 StackSaveFn = Intrinsic::getDeclaration(&M, Intrinsic::stacksave); in doInitialization()
162 StackRestoreFn = Intrinsic::getDeclaration(&M, Intrinsic::stackrestore); in doInitialization()
DInlineFunction.cpp376 Function *MemCpyFn = Intrinsic::getDeclaration(Caller->getParent(), in HandleByValArgument()
684 Function *StackSave = Intrinsic::getDeclaration(M, Intrinsic::stacksave); in InlineFunction()
685 Function *StackRestore=Intrinsic::getDeclaration(M,Intrinsic::stackrestore); in InlineFunction()
/external/llvm/lib/Transforms/Scalar/
DSimplifyCFGPass.cpp75 Intrinsic::getDeclaration(BB->getParent()->getParent(), Intrinsic::trap); in ChangeToUnreachable()
DMemCpyOptimizer.cpp850 M->setCalledFunction(Intrinsic::getDeclaration(Mod, Intrinsic::memcpy, in processMemMove()
DSimplifyLibCalls.cpp1024 Value *F = Intrinsic::getDeclaration(Callee->getParent(), in CallOptimizer()
/external/llvm/lib/Analysis/
DDIBuilder.cpp963 DeclareFn = Intrinsic::getDeclaration(&M, Intrinsic::dbg_declare); in insertDeclare()
975 DeclareFn = Intrinsic::getDeclaration(&M, Intrinsic::dbg_declare); in insertDeclare()
994 ValueFn = Intrinsic::getDeclaration(&M, Intrinsic::dbg_value); in insertDbgValueIntrinsic()
1009 ValueFn = Intrinsic::getDeclaration(&M, Intrinsic::dbg_value); in insertDbgValueIntrinsic()
/external/llvm/lib/Transforms/Instrumentation/
DThreadSanitizer.cpp268 Intrinsic::getDeclaration(F.getParent(), Intrinsic::returnaddress), in runOnFunction()
/external/llvm/examples/BrainF/
DBrainF.cpp59 Function *memset_func = Intrinsic::getDeclaration(module, Intrinsic::memset, in header()
/external/clang/include/clang/Sema/
DCodeCompleteConsumer.h764 NamedDecl *getDeclaration() const {
/external/llvm/examples/ExceptionDemo/
DExceptionDemo.cpp1895 getDeclaration(&module, llvm::Intrinsic::eh_typeid_for); in createStandardUtilityFunctions()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp222 CI.setCalledFunction(Intrinsic::getDeclaration(M, MemCpyID, Tys)); in visitCallInst()
DInstCombineCompares.cpp1719 Value *F = Intrinsic::getDeclaration(M, Intrinsic::sadd_with_overflow, in ProcessUGT_ADDCST_ADD()
1761 Value *F = Intrinsic::getDeclaration(M, Intrinsic::uadd_with_overflow, Ty); in ProcessUAddIdiom()
DInstCombineAndOrXor.cpp1404 Function *F = Intrinsic::getDeclaration(M, Intrinsic::bswap, ITy); in MatchBSwap()
/external/llvm/lib/Transforms/Vectorize/
DBBVectorize.cpp1623 ReplacedOperands[o] = Intrinsic::getDeclaration(M, in getReplacementInputsForPair()
/external/clang/lib/CodeGen/
DCodeGenModule.cpp1887 return llvm::Intrinsic::getDeclaration(&getModule(), (llvm::Intrinsic::ID)IID, in getIntrinsic()