Home
last modified time | relevance | path

Searched refs:IntrID (Results 1 – 11 of 11) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Target/Blackfin/
DBlackfinIntrinsicInfo.cpp37 std::string BlackfinIntrinsicInfo::getName(unsigned IntrID, Type **Tys, in getName() argument
45 assert(!isOverloaded(IntrID) && "Blackfin intrinsics are not overloaded"); in getName()
46 if (IntrID < Intrinsic::num_intrinsics) in getName()
48 assert(IntrID < bfinIntrinsic::num_bfin_intrinsics && "Invalid intrinsic ID"); in getName()
50 std::string Result(names[IntrID - Intrinsic::num_intrinsics]); in getName()
66 bool BlackfinIntrinsicInfo::isOverloaded(unsigned IntrID) const { in isOverloaded()
73 if (IntrID == 0) in isOverloaded()
76 return OTable[IntrID - Intrinsic::num_intrinsics]; in isOverloaded()
96 Function *BlackfinIntrinsicInfo::getDeclaration(Module *M, unsigned IntrID, in getDeclaration() argument
99 assert(!isOverloaded(IntrID) && "Blackfin intrinsics are not overloaded"); in getDeclaration()
[all …]
DBlackfinIntrinsicInfo.h22 std::string getName(unsigned IntrID, Type **Tys = 0,
/external/swiftshader/third_party/LLVM/lib/Target/MBlaze/
DMBlazeIntrinsicInfo.cpp40 std::string MBlazeIntrinsicInfo::getName(unsigned IntrID, Type **Tys, in getName() argument
48 assert(!isOverloaded(IntrID) && "MBlaze intrinsics are not overloaded"); in getName()
49 if (IntrID < Intrinsic::num_intrinsics) in getName()
51 assert(IntrID < mblazeIntrinsic::num_mblaze_intrinsics && in getName()
54 std::string Result(names[IntrID - Intrinsic::num_intrinsics]); in getName()
75 bool MBlazeIntrinsicInfo::isOverloaded(unsigned IntrID) const { in isOverloaded()
82 if (IntrID == 0) in isOverloaded()
85 return OTable[IntrID - Intrinsic::num_intrinsics]; in isOverloaded()
105 Function *MBlazeIntrinsicInfo::getDeclaration(Module *M, unsigned IntrID, in getDeclaration() argument
108 assert(!isOverloaded(IntrID) && "MBlaze intrinsics are not overloaded"); in getDeclaration()
[all …]
DMBlazeIntrinsicInfo.h22 std::string getName(unsigned IntrID, Type **Tys = 0,
/external/mesa3d/src/gallium/drivers/radeon/
DAMDILIntrinsicInfo.cpp33 AMDGPUIntrinsicInfo::getName(unsigned int IntrID, Type **Tys, in getName() argument
44 if (IntrID < Intrinsic::num_intrinsics) { in getName()
47 assert(IntrID < AMDGPUIntrinsic::num_AMDGPU_intrinsics in getName()
50 std::string Result(names[IntrID - Intrinsic::num_intrinsics]); in getName()
85 AMDGPUIntrinsicInfo::getDeclaration(Module *M, unsigned IntrID, in getDeclaration() argument
90 AttrListPtr List = getAttributes((AMDGPUIntrinsic::ID)IntrID); in getDeclaration()
/external/llvm/lib/Target/AMDGPU/
DAMDGPUIntrinsicInfo.cpp32 std::string AMDGPUIntrinsicInfo::getName(unsigned IntrID, Type **Tys, in getName() argument
34 if (IntrID < Intrinsic::num_intrinsics) { in getName()
37 assert(IntrID < AMDGPUIntrinsic::num_AMDGPU_intrinsics && in getName()
40 std::string Result(IntrinsicNameTable[IntrID - Intrinsic::num_intrinsics]); in getName()
71 Function *AMDGPUIntrinsicInfo::getDeclaration(Module *M, unsigned IntrID, in getDeclaration() argument
DAMDGPUPromoteAlloca.cpp316 Intrinsic::ID IntrID = Intrinsic::ID::not_intrinsic; in getWorkitemID() local
320 IntrID = IsAMDGCN ? Intrinsic::amdgcn_workitem_id_x in getWorkitemID()
324 IntrID = IsAMDGCN ? Intrinsic::amdgcn_workitem_id_y in getWorkitemID()
329 IntrID = IsAMDGCN ? Intrinsic::amdgcn_workitem_id_z in getWorkitemID()
336 Function *WorkitemIdFn = Intrinsic::getDeclaration(Mod, IntrID); in getWorkitemID()
DSIISelLowering.cpp268 unsigned IntrID) const { in getTgtMemIntrinsic()
269 switch (IntrID) { in getTgtMemIntrinsic()
1921 unsigned IntrID = cast<ConstantSDNode>(Op.getOperand(1))->getZExtValue(); in LowerINTRINSIC_W_CHAIN() local
1922 switch (IntrID) { in LowerINTRINSIC_W_CHAIN()
1926 unsigned Opc = (IntrID == Intrinsic::amdgcn_atomic_inc) ? in LowerINTRINSIC_W_CHAIN()
/external/llvm/include/llvm/IR/
DPatternMatch.h1190 IntrinsicID_match(Intrinsic::ID IntrID) : ID(IntrID) {} in IntrinsicID_match()
1229 template <Intrinsic::ID IntrID> inline IntrinsicID_match m_Intrinsic() {
1230 return IntrinsicID_match(IntrID);
1233 template <Intrinsic::ID IntrID, typename T0>
1235 return m_CombineAnd(m_Intrinsic<IntrID>(), m_Argument<0>(Op0));
1238 template <Intrinsic::ID IntrID, typename T0, typename T1>
1241 return m_CombineAnd(m_Intrinsic<IntrID>(Op0), m_Argument<1>(Op1));
1244 template <Intrinsic::ID IntrID, typename T0, typename T1, typename T2>
1247 return m_CombineAnd(m_Intrinsic<IntrID>(Op0, Op1), m_Argument<2>(Op2));
1250 template <Intrinsic::ID IntrID, typename T0, typename T1, typename T2,
[all …]
/external/clang/lib/CodeGen/
DCGExpr.cpp2752 llvm::CallInst *CodeGenFunction::EmitTrapCall(llvm::Intrinsic::ID IntrID) { in EmitTrapCall() argument
2753 llvm::CallInst *TrapCall = Builder.CreateCall(CGM.getIntrinsic(IntrID)); in EmitTrapCall()
DCodeGenFunction.h3218 llvm::CallInst *EmitTrapCall(llvm::Intrinsic::ID IntrID);