/external/llvm/lib/Transforms/Scalar/ |
LowerAtomic.cpp | 27 case Intrinsic::memory_barrier: 30 case Intrinsic::atomic_load_add: 31 case Intrinsic::atomic_load_sub: 32 case Intrinsic::atomic_load_and: 33 case Intrinsic::atomic_load_nand: 34 case Intrinsic::atomic_load_or: 35 case Intrinsic::atomic_load_xor: 36 case Intrinsic::atomic_load_max: 37 case Intrinsic::atomic_load_min: 38 case Intrinsic::atomic_load_umax [all...] |
DeadStoreElimination.cpp | 150 case Intrinsic::memset: 151 case Intrinsic::memmove: 152 case Intrinsic::memcpy: 153 case Intrinsic::init_trampoline: 154 case Intrinsic::lifetime_end: 182 default: return AliasAnalysis::Location(); // Unhandled intrinsic. 183 case Intrinsic::init_trampoline: 192 case Intrinsic::lifetime_end: { 223 case Intrinsic::lifetime_end: 227 case Intrinsic::init_trampoline [all...] |
/external/llvm/lib/CodeGen/ |
IntrinsicLowering.cpp | 1 //===-- IntrinsicLowering.cpp - Intrinsic Lowering default implementation -===// 60 /// ReplaceCallWith - This function is used when we want to lower an intrinsic 101 case Intrinsic::setjmp: 105 case Intrinsic::longjmp: 109 case Intrinsic::siglongjmp: 113 case Intrinsic::memcpy: 120 case Intrinsic::memmove: 127 case Intrinsic::memset: 134 case Intrinsic::sqrt: 137 case Intrinsic::sin [all...] |
SjLjEHPrepare.cpp | 109 FrameAddrFn = Intrinsic::getDeclaration(&M, Intrinsic::frameaddress); 110 StackAddrFn = Intrinsic::getDeclaration(&M, Intrinsic::stacksave); 111 StackRestoreFn = Intrinsic::getDeclaration(&M, Intrinsic::stackrestore); 112 BuiltinSetjmpFn = Intrinsic::getDeclaration(&M, Intrinsic::eh_sjlj_setjmp); 113 LSDAAddrFn = Intrinsic::getDeclaration(&M, Intrinsic::eh_sjlj_lsda) [all...] |
DwarfEHPrepare.cpp | 41 // The eh.exception intrinsic. 44 // The eh.selector intrinsic. 72 /// CleanupSelectors - Any remaining eh.selector intrinsic calls which still 130 /// HasCatchAllInSelector - Return true if the intrinsic instruction has a 170 /// CleanupSelectors - Any remaining eh.selector intrinsic calls which still use 178 Intrinsic::getDeclaration(F->getParent(), Intrinsic::eh_selector); 214 if (Sel->getIntrinsicID() == Intrinsic::eh_selector) 245 Intrinsic::getDeclaration(F->getParent(), Intrinsic::eh_selector) [all...] |
StackProtector.cpp | 188 Create(Intrinsic::getDeclaration(M, Intrinsic::stackprotector),
|
/external/llvm/include/llvm/ |
IntrinsicInst.h | 1 //===-- llvm/IntrinsicInst.h - Intrinsic Instruction Wrappers ---*- C++ -*-===// 10 // This file defines classes that make it really easy to deal with intrinsic 17 // All intrinsic function calls are instances of the call instruction, so these 33 /// IntrinsicInst - A useful wrapper class for inspecting calls to intrinsic 35 /// work with calls to intrinsic functions. 41 /// getIntrinsicID - Return the intrinsic ID of this intrinsic. 43 Intrinsic::ID getIntrinsicID() const { 44 return (Intrinsic::ID)getCalledFunction()->getIntrinsicID(); 68 case Intrinsic::dbg_declare [all...] |
Intrinsics.h | 1 //===-- llvm/Instrinsics.h - LLVM Intrinsic Function Handling ---*- C++ -*-===// 10 // This file defines a set of enums which allow processing of intrinsic 31 /// Intrinsic Namespace - This namespace contains an enum with a value for 32 /// every intrinsic/builtin function known by LLVM. These enum values are 35 namespace Intrinsic { 39 // Get the intrinsic enums generated from Intrinsics.td 46 /// Intrinsic::getName(ID) - Return the LLVM name for an intrinsic, such as 50 /// Intrinsic::getType(ID) - Return the function type for an intrinsic [all...] |
/external/llvm/lib/Target/Blackfin/ |
BlackfinIntrinsicInfo.cpp | 1 //===- BlackfinIntrinsicInfo.cpp - Intrinsic Information --------*- C++ -*-===// 28 last_non_bfin_intrinsic = Intrinsic::num_intrinsics-1, 46 if (IntrID < Intrinsic::num_intrinsics) 48 assert(IntrID < bfinIntrinsic::num_bfin_intrinsics && "Invalid intrinsic ID"); 50 std::string Result(names[IntrID - Intrinsic::num_intrinsics]); 76 return OTable[IntrID - Intrinsic::num_intrinsics];
|
/external/llvm/lib/Target/MBlaze/ |
MBlazeIntrinsicInfo.cpp | 1 //===- MBlazeIntrinsicInfo.cpp - Intrinsic Information -00-------*- C++ -*-===// 28 last_non_mblaze_intrinsic = Intrinsic::num_intrinsics-1, 49 if (IntrID < Intrinsic::num_intrinsics) 52 "Invalid intrinsic ID"); 54 std::string Result(names[IntrID - Intrinsic::num_intrinsics]); 85 return OTable[IntrID - Intrinsic::num_intrinsics];
|
/external/clang/lib/CodeGen/ |
CGBuiltin.cpp | 41 CGF.Builder.CreateCall(CGF.CGM.getIntrinsic(Intrinsic::memory_barrier), C); 86 Intrinsic::ID Id, const CallExpr *E) { 120 Intrinsic::ID Id, const CallExpr *E, 203 Intrinsic::ID inst = (BuiltinID == Builtin::BI__builtin_va_end) ? 204 Intrinsic::vaend : Intrinsic::vastart; 215 return RValue::get(Builder.CreateCall2(CGM.getIntrinsic(Intrinsic::vacopy), 237 Value *F = CGM.getIntrinsic(Intrinsic::cttz, ArgType); 252 Value *F = CGM.getIntrinsic(Intrinsic::ctlz, ArgType); 268 Value *F = CGM.getIntrinsic(Intrinsic::cttz, ArgType) [all...] |
/external/llvm/lib/VMCore/ |
IRBuilder.cpp | 70 Value *TheFn = Intrinsic::getDeclaration(M, Intrinsic::memset, Tys); 90 Value *TheFn = Intrinsic::getDeclaration(M, Intrinsic::memcpy, Tys); 110 Value *TheFn = Intrinsic::getDeclaration(M, Intrinsic::memmove, Tys); 132 Value *TheFn = Intrinsic::getDeclaration(M, Intrinsic::lifetime_start); 147 Value *TheFn = Intrinsic::getDeclaration(M, Intrinsic::lifetime_end) [all...] |
Function.cpp | 181 setAttributes(Intrinsic::getAttributes(Intrinsic::ID(IID))); 313 /// function, or Intrinsic::not_intrinsic if the function is not an 314 /// intrinsic, or if the pointer is null. This value is always defined to be 315 /// zero to allow easy checking for whether a function is intrinsic or not. The 316 /// particular intrinsic functions which correspond to this value are defined in 336 std::string Intrinsic::getName(ID id, ArrayRef<Type*> Tys) { 337 assert(id < num_intrinsics && "Invalid intrinsic ID!"); 358 FunctionType *Intrinsic::getType(LLVMContext &Context, 371 bool Intrinsic::isOverloaded(ID id) [all...] |
Verifier.cpp | 280 void visitIntrinsicFunctionCall(Intrinsic::ID ID, CallInst &CI); 286 bool PerformTypeCheck(Intrinsic::ID ID, Function *F, Type *Ty, 288 void VerifyIntrinsicPrototype(Intrinsic::ID ID, Function *F, 421 "invalid linkage for intrinsic global variable", &GV); 431 "wrong type for intrinsic global variable", &GV); 675 "Function takes metadata but isn't an intrinsic", I, &F); 701 // If this function is actually an intrinsic, verify that it is only used in 706 Assert1(0, "Invalid user of intrinsic instruction!", U); [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineCalls.cpp | 51 // Source and destination pointer types are always "i8*" for intrinsic. See 170 /// of intrinsic instructions. For normal calls, it allows visitCallSite to do 219 Intrinsic::ID MemCpyID = Intrinsic::memcpy; 223 CI.setCalledFunction(Intrinsic::getDeclaration(M, MemCpyID, Tys)); 249 case Intrinsic::objectsize: { 321 case Intrinsic::bswap: 324 if (Operand->getIntrinsicID() == Intrinsic::bswap) 330 if (Operand->getIntrinsicID() == Intrinsic::bswap) { 340 case Intrinsic::powi [all...] |
InstCombineSimplifyDemanded.cpp | [all...] |
/external/llvm/lib/Analysis/ |
ConstantFolding.cpp | [all...] |
BasicAliasAnalysis.cpp | 726 case Intrinsic::memcpy: 727 case Intrinsic::memmove: { 745 case Intrinsic::memset: 757 case Intrinsic::atomic_cmp_swap: 758 case Intrinsic::atomic_swap: 759 case Intrinsic::atomic_load_add: 760 case Intrinsic::atomic_load_sub: 761 case Intrinsic::atomic_load_and: 762 case Intrinsic::atomic_load_nand: 763 case Intrinsic::atomic_load_or [all...] |
/external/llvm/unittests/Support/ |
IRBuilderTest.cpp | 67 EXPECT_EQ(II_Start1->getIntrinsicID(), Intrinsic::lifetime_start); 69 EXPECT_EQ(II_End1->getIntrinsicID(), Intrinsic::lifetime_end);
|
/external/llvm/lib/Target/CBackend/ |
CBackend.cpp | 208 /// Prints the definition of the intrinsic function F. Supports the 316 bool visitBuiltinCall(CallInst &I, Intrinsic::ID ID, bool &WroteCallee); [all...] |
/external/llvm/lib/Transforms/Utils/ |
LowerExpectIntrinsic.cpp | 1 #define DEBUG_TYPE "lower-expect-intrinsic" 18 STATISTIC(IfHandled, "Number of 'expect' intrinsic intructions handled"); 52 if (!Fn || Fn->getIntrinsicID() != Intrinsic::expect) 99 if (!Fn || Fn->getIntrinsicID() != Intrinsic::expect) 148 if (Fn && Fn->getIntrinsicID() == Intrinsic::expect) {
|
LowerInvoke.cpp | 153 SetJmpFn = Intrinsic::getDeclaration(&M, Intrinsic::setjmp); 161 LongJmpFn = Intrinsic::getDeclaration(&M, Intrinsic::longjmp); 162 StackSaveFn = Intrinsic::getDeclaration(&M, Intrinsic::stacksave); 163 StackRestoreFn = Intrinsic::getDeclaration(&M, Intrinsic::stackrestore);
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
SelectionDAGBuilder.cpp | [all...] |
/external/webkit/Source/WebCore/platform/ |
Length.h | 37 enum LengthType { Auto, Relative, Percent, Fixed, Intrinsic, MinIntrinsic }; 175 bool isIntrinsicOrAuto() const { return type() == Auto || type() == MinIntrinsic || type() == Intrinsic; }
|
/external/llvm/lib/Target/ARM/ |
ARMISelLowering.cpp | [all...] |