Home
last modified time | relevance | path

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

123

/external/llvm-project/llvm/include/llvm/IR/
DIntrinsicsXCore.td41 [NoCapture<ArgIndex<0>>]>;
42 def int_xcore_in : Intrinsic<[llvm_i32_ty],[llvm_anyptr_ty],[NoCapture<ArgIndex<0>>]>;
44 [NoCapture<ArgIndex<0>>]>;
46 [NoCapture<ArgIndex<0>>]>;
48 [NoCapture<ArgIndex<0>>]>;
50 [NoCapture<ArgIndex<0>>]>;
52 [NoCapture<ArgIndex<0>>]>;
54 [NoCapture<ArgIndex<0>>]>;
56 [NoCapture<ArgIndex<0>>]>;
58 [NoCapture<ArgIndex<0>>]>;
[all …]
DIntrinsicsX86.td16 def int_x86_int : Intrinsic<[], [llvm_i8_ty], [ImmArg<ArgIndex<0>>]>;
206 llvm_v4f32_ty, llvm_i8_ty], [IntrNoMem, ImmArg<ArgIndex<2>>]>;
211 llvm_v4f32_ty, llvm_i8_ty], [IntrNoMem, ImmArg<ArgIndex<2>>]>;
322 llvm_v2f64_ty, llvm_i8_ty], [IntrNoMem, ImmArg<ArgIndex<2>>]>;
327 llvm_v2f64_ty, llvm_i8_ty], [IntrNoMem, ImmArg<ArgIndex<2>>]>;
621 [IntrNoMem, ImmArg<ArgIndex<1>>]>;
667 llvm_i32_ty], [IntrNoMem, ImmArg<ArgIndex<2>>]>;
670 llvm_i32_ty], [IntrNoMem, ImmArg<ArgIndex<1>>]>;
673 llvm_i32_ty], [IntrNoMem, ImmArg<ArgIndex<2>>]>;
676 llvm_i32_ty], [IntrNoMem, ImmArg<ArgIndex<1>>]>;
[all …]
DIntrinsicsAMDGPU.td180 [IntrConvergent, ImmArg<ArgIndex<0>>]>;
188 [IntrConvergent, ImmArg<ArgIndex<1>>]>;
203 [ImmArg<ArgIndex<0>>, IntrNoMem, IntrHasSideEffects]>;
206 [ImmArg<ArgIndex<0>>, IntrNoMem, IntrHasSideEffects]>;
215 …Intrinsic<[], [llvm_i32_ty], [ImmArg<ArgIndex<0>>, IntrNoMem, IntrHasSideEffects, IntrWillReturn]>;
224 [IntrNoMem, IntrSpeculatable, ImmArg<ArgIndex<2>>, IntrWillReturn]
402 [IntrArgMemOnly, IntrWillReturn, NoCapture<ArgIndex<0>>,
403 ImmArg<ArgIndex<2>>, ImmArg<ArgIndex<3>>, ImmArg<ArgIndex<4>>], "",
417 [IntrArgMemOnly, IntrWillReturn, NoCapture<ArgIndex<0>>,
418 ImmArg<ArgIndex<2>>, ImmArg<ArgIndex<3>>, ImmArg<ArgIndex<4>>]
[all …]
DIntrinsics.td69 class ArgIndex<int argNo> : AttrIndex<!add(argNo, 1)>;
399 [IntrArgMemOnly, NoCapture<ArgIndex<1>>,
400 NoCapture<ArgIndex<2>>]>;
477 [IntrNoMem, ImmArg<ArgIndex<0>>]>;
480 [IntrNoMem, ImmArg<ArgIndex<0>>]>;
501 [IntrNoMem, ImmArg<ArgIndex<2>>]>;
528 ReadOnly<ArgIndex<0>>, NoCapture<ArgIndex<0>>,
529 ImmArg<ArgIndex<1>>, ImmArg<ArgIndex<2>>]>;
537 NoUndef<ArgIndex<0>>]>;
572 NoCapture<ArgIndex<0>>, NoCapture<ArgIndex<1>>,
[all …]
DIntrinsicsHexagonDep.td1103 Hexagon_i32_i32i32_Intrinsic<"HEXAGON_A4_rcmpeqi", [IntrNoMem, ImmArg<ArgIndex<1>>]>;
1106 Hexagon_i32_i32i32_Intrinsic<"HEXAGON_A4_rcmpneqi", [IntrNoMem, ImmArg<ArgIndex<1>>]>;
1127 Hexagon_i32_i32i32_Intrinsic<"HEXAGON_C2_cmpeqi", [IntrNoMem, ImmArg<ArgIndex<1>>]>;
1130 Hexagon_i32_i32i32_Intrinsic<"HEXAGON_C2_cmpgti", [IntrNoMem, ImmArg<ArgIndex<1>>]>;
1133 Hexagon_i32_i32i32_Intrinsic<"HEXAGON_C2_cmpgtui", [IntrNoMem, ImmArg<ArgIndex<1>>]>;
1136 Hexagon_i32_i32i32_Intrinsic<"HEXAGON_C2_cmpgei", [IntrNoMem, ImmArg<ArgIndex<1>>]>;
1139 Hexagon_i32_i32i32_Intrinsic<"HEXAGON_C2_cmpgeui", [IntrNoMem, ImmArg<ArgIndex<1>>]>;
1148 Hexagon_i32_i32i32_Intrinsic<"HEXAGON_C2_bitsclri", [IntrNoMem, ImmArg<ArgIndex<1>>]>;
1151 Hexagon_i32_i32i32_Intrinsic<"HEXAGON_C4_nbitsclri", [IntrNoMem, ImmArg<ArgIndex<1>>]>;
1154 Hexagon_i32_i32i32_Intrinsic<"HEXAGON_C4_cmpneqi", [IntrNoMem, ImmArg<ArgIndex<1>>]>;
[all …]
DIntrinsicsMips.td237 Intrinsic<[], [llvm_i32_ty, llvm_i32_ty], [ImmArg<ArgIndex<1>>]>;
239 Intrinsic<[llvm_i32_ty], [llvm_i32_ty], [IntrReadMem, ImmArg<ArgIndex<0>>]>;
305 [IntrNoMem, ImmArg<ArgIndex<2>>]>;
308 [IntrNoMem, ImmArg<ArgIndex<2>>]>;
358 [IntrNoMem, ImmArg<ArgIndex<2>>]>;
361 [IntrNoMem, ImmArg<ArgIndex<2>>]>;
365 [IntrNoMem, ImmArg<ArgIndex<2>>]>;
466 [Commutative, IntrNoMem, ImmArg<ArgIndex<1>>]>;
469 [Commutative, IntrNoMem, ImmArg<ArgIndex<1>>]>;
472 [Commutative, IntrNoMem, ImmArg<ArgIndex<1>>]>;
[all …]
DIntrinsicsHexagon.td54 [IntrArgMemOnly, ImmArg<ArgIndex<3>>]>;
60 [IntrWriteMem, ImmArg<ArgIndex<3>>]>;
66 [IntrWriteMem, ImmArg<ArgIndex<3>>]>;
134 [IntrArgMemOnly, NoCapture<ArgIndex<0>>]>;
137 [IntrArgMemOnly, NoCapture<ArgIndex<0>>]>;
141 [llvm_ptr32_ty, llvm_i32_ty], [IntrArgMemOnly, NoCapture<ArgIndex<0>>]>;
144 [llvm_ptr64_ty, llvm_i64_ty], [IntrArgMemOnly, NoCapture<ArgIndex<0>>]>;
148 …[IntrArgMemOnly, NoCapture<ArgIndex<0>>, NoCapture<ArgIndex<1>>, WriteOnly<ArgIndex<0>>, ReadOnly<
152 [IntrArgMemOnly, NoCapture<ArgIndex<0>>, WriteOnly<ArgIndex<0>>]>;
158 [IntrArgMemOnly, NoCapture<ArgIndex<3>>]>;
[all …]
DIntrinsicsARM.td22 def int_arm_space : Intrinsic<[llvm_i32_ty], [llvm_i32_ty, llvm_i32_ty], [ImmArg<ArgIndex<0>>]>;
265 …Intrinsic<[], [llvm_i32_ty, llvm_i32_ty, llvm_ptr_ty], [ImmArg<ArgIndex<0>>, ImmArg<ArgIndex<1>>]>;
267 …Intrinsic<[], [llvm_i32_ty, llvm_i32_ty, llvm_ptr_ty], [ImmArg<ArgIndex<0>>, ImmArg<ArgIndex<1>>]>;
269 …Intrinsic<[], [llvm_i32_ty, llvm_i32_ty, llvm_ptr_ty], [ImmArg<ArgIndex<0>>, ImmArg<ArgIndex<1>>]>;
271 …Intrinsic<[], [llvm_i32_ty, llvm_i32_ty, llvm_ptr_ty], [ImmArg<ArgIndex<0>>, ImmArg<ArgIndex<1>>]>;
274 …Intrinsic<[], [llvm_i32_ty, llvm_i32_ty, llvm_ptr_ty], [ImmArg<ArgIndex<0>>, ImmArg<ArgIndex<1>>]>;
276 …Intrinsic<[], [llvm_i32_ty, llvm_i32_ty, llvm_ptr_ty], [ImmArg<ArgIndex<0>>, ImmArg<ArgIndex<1>>]>;
278 …Intrinsic<[], [llvm_i32_ty, llvm_i32_ty, llvm_ptr_ty], [ImmArg<ArgIndex<0>>, ImmArg<ArgIndex<1>>]>;
280 …Intrinsic<[], [llvm_i32_ty, llvm_i32_ty, llvm_ptr_ty], [ImmArg<ArgIndex<0>>, ImmArg<ArgIndex<1>>]>;
285 …i32_ty, llvm_i32_ty], [ImmArg<ArgIndex<0>>, ImmArg<ArgIndex<1>>, ImmArg<ArgIndex<3>>, ImmArg<ArgIn…
[all …]
DIntrinsicsSystemZ.td42 [IntrNoMem, ImmArg<ArgIndex<1>>]>;
59 Intrinsic<[type], [type, type, llvm_i32_ty], [IntrNoMem, ImmArg<ArgIndex<2>>]>;
63 [IntrNoMem, ImmArg<ArgIndex<2>>]>;
68 [IntrNoMem, ImmArg<ArgIndex<3>>]>;
72 [IntrNoMem, ImmArg<ArgIndex<3>>]>;
241 [IntrNoMem, ImmArg<ArgIndex<1>>]>;
245 [IntrReadMem, IntrArgMemOnly, ImmArg<ArgIndex<1>>]>;
254 [IntrNoMem, ImmArg<ArgIndex<2>>]>;
320 [IntrNoMem, ImmArg<ArgIndex<2>>]>;
379 [IntrNoMem, ImmArg<ArgIndex<1>>, ImmArg<ArgIndex<2>>]>;
[all …]
DIntrinsicsAArch64.td518 [IntrArgMemOnly, NoCapture<ArgIndex<2>>]>;
532 [IntrArgMemOnly, NoCapture<ArgIndex<2>>]>;
536 [IntrArgMemOnly, NoCapture<ArgIndex<3>>]>;
550 [IntrArgMemOnly, NoCapture<ArgIndex<3>>]>;
555 [IntrArgMemOnly, NoCapture<ArgIndex<4>>]>;
573 [IntrArgMemOnly, NoCapture<ArgIndex<4>>]>;
578 [IntrArgMemOnly, NoCapture<ArgIndex<5>>]>;
779 [IntrNoMem, ImmArg<ArgIndex<2>>]>;
783 [IntrWriteMem, IntrArgMemOnly, NoCapture<ArgIndex<0>>, WriteOnly<ArgIndex<0>>]>;
788 [IntrWriteMem, IntrArgMemOnly, NoCapture<ArgIndex<0>>, WriteOnly<ArgIndex<0>>]>;
[all …]
DIntrinsicsRISCV.td31 [IntrArgMemOnly, NoCapture<ArgIndex<0>>, ImmArg<ArgIndex<3>>]>;
35 [IntrArgMemOnly, NoCapture<ArgIndex<0>>, ImmArg<ArgIndex<4>>]>;
DIntrinsicsWebAssembly.td54 [Throws, IntrNoReturn, ImmArg<ArgIndex<0>>]>;
72 [IntrNoMem, ImmArg<ArgIndex<1>>]>;
85 [IntrInaccessibleMemOrArgMemOnly, ReadOnly<ArgIndex<0>>,
86 NoCapture<ArgIndex<0>>, IntrHasSideEffects],
91 [IntrInaccessibleMemOrArgMemOnly, ReadOnly<ArgIndex<0>>,
92 NoCapture<ArgIndex<0>>, IntrHasSideEffects],
96 [IntrInaccessibleMemOnly, NoCapture<ArgIndex<0>>,
DIntrinsicsPowerPC.td30 [IntrArgMemOnly, NoCapture<ArgIndex<0>>]>;
32 [IntrArgMemOnly, NoCapture<ArgIndex<0>>]>;
34 [IntrArgMemOnly, NoCapture<ArgIndex<0>>, ImmArg<ArgIndex<1>>]>;
36 [IntrArgMemOnly, NoCapture<ArgIndex<0>>, ImmArg<ArgIndex<1>>]>;
527 [IntrNoMem, ImmArg<ArgIndex<1>>]>;
530 [IntrNoMem, ImmArg<ArgIndex<1>>]>;
533 [IntrNoMem, ImmArg<ArgIndex<1>>]>;
536 [IntrNoMem, ImmArg<ArgIndex<1>>]>;
585 [IntrNoMem, ImmArg<ArgIndex<1>>]>;
599 [IntrNoMem, ImmArg<ArgIndex<2>>]>;
[all …]
/external/llvm-project/llvm/test/Transforms/IndVarSimplify/X86/
Dindvar-debug-value2.ll9 ; for( int ArgIndex = 1; ArgIndex < argc; ArgIndex += 1 )
11 ; printf("\n Argument %d: %s\n", ArgIndex, argv[ArgIndex] );
23 ; CHECK: [[METADATA_IDX1]] = !DILocalVariable(name: "ArgIndex"
39 %ArgIndex.0 = phi i32 [ 1, %entry ], [ %add, %for.inc ], !dbg !19
40 …call void @llvm.dbg.value(metadata i32 %ArgIndex.0, metadata !17, metadata !DIExpression()), !dbg …
41 %cmp = icmp slt i32 %ArgIndex.0, %argc, !dbg !19
48 %idxprom = sext i32 %ArgIndex.0 to i64, !dbg !19
51 …etelementptr inbounds ([20 x i8], [20 x i8]* @.str, i64 0, i64 0), i32 %ArgIndex.0, i8* %0), !dbg …
55 %add = add nsw i32 %ArgIndex.0, 1, !dbg !19
88 !17 = !DILocalVariable(name: "ArgIndex", scope: !18, file: !1, line: 6, type: !10)
Dindvar-debug-value.ll9 ; for( int ArgIndex = 1; ArgIndex < argc; ArgIndex += 1 )
11 ; printf("\n Argument %d: %s\n", ArgIndex, argv[ArgIndex] );
23 ; CHECK: [[METADATA_IDX1]] = !DILocalVariable(name: "ArgIndex"
47 %ArgIndex.02 = phi i32 [ 1, %for.body.lr.ph ], [ %add, %for.inc ]
48 …call void @llvm.dbg.value(metadata i32 %ArgIndex.02, metadata !17, metadata !DIExpression()), !dbg…
49 %idxprom = sext i32 %ArgIndex.02 to i64, !dbg !19
52 …etelementptr inbounds ([20 x i8], [20 x i8]* @.str, i64 0, i64 0), i32 %ArgIndex.02, i8* %0), !dbg…
56 %add = add nsw i32 %ArgIndex.02, 1, !dbg !19
90 !17 = !DILocalVariable(name: "ArgIndex", scope: !18, file: !1, line: 6, type: !10)
/external/llvm/lib/Transforms/IPO/
DArgumentPromotion.cpp672 unsigned ArgIndex = 1; in DoPromotion() local
674 ++I, ++ArgIndex) { in DoPromotion()
684 AttributeSet attrs = PAL.getParamAttributes(ArgIndex); in DoPromotion()
685 if (attrs.hasAttributes(ArgIndex)) { in DoPromotion()
686 AttrBuilder B(attrs, ArgIndex); in DoPromotion()
729 for (const auto &ArgIndex : ArgIndices) { in DoPromotion() local
733 ArgIndex.second)); in DoPromotion()
794 ArgIndex = 1; in DoPromotion()
796 I != E; ++I, ++AI, ++ArgIndex) in DoPromotion()
800 if (CallPAL.hasAttributes(ArgIndex)) { in DoPromotion()
[all …]
/external/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
DNameSearchContext.cpp93 unsigned ArgIndex; in AddFunDecl() local
97 for (ArgIndex = 0; ArgIndex < NumArgs; ++ArgIndex) { in AddFunDecl()
98 QualType arg_qual_type(func_proto_type->getParamType(ArgIndex)); in AddFunDecl()
/external/swiftshader/third_party/subzero/src/
DIceIntrinsics.cpp81 SizeT &ArgIndex) const { in validateIntrinsic()
95 ArgIndex = i - 1; in validateIntrinsic()
/external/llvm-project/llvm/test/TableGen/
Dimmarg.td7 def int_mytarget_sleep0 : Intrinsic<[], [llvm_i32_ty], [ImmArg<ArgIndex<0>>]>;
8 def int_mytarget_sleep1 : Intrinsic<[], [llvm_i32_ty], [ImmArg<ArgIndex<0>>]>;
DGlobalISelEmitter-SDNodeXForm-timm.td14 def int_mytarget_sleep : Intrinsic<[], [llvm_i32_ty], [ImmArg<ArgIndex<0>>]>;
15 def int_mytarget_foo : Intrinsic<[llvm_i32_ty], [llvm_i32_ty, llvm_i32_ty], [ImmArg<ArgIndex<1>>, I…
/external/llvm-project/clang/lib/Analysis/
DThreadSafetyCommon.cpp694 unsigned ArgIndex = CurrentBlockInfo->ProcessedPredecessors; in makePhiNodeVar() local
695 assert(ArgIndex > 0 && ArgIndex < NPreds); in makePhiNodeVar()
704 Ph->values()[ArgIndex] = E; in makePhiNodeVar()
712 for (unsigned PIdx = 0; PIdx < ArgIndex; ++PIdx) in makePhiNodeVar()
715 Ph->values()[ArgIndex] = E; in makePhiNodeVar()
795 unsigned ArgIndex = BBInfo[Blk->getBlockID()].ProcessedPredecessors; in mergePhiNodesBackEdge() local
796 assert(ArgIndex > 0 && ArgIndex < BB->numPredecessors()); in mergePhiNodesBackEdge()
801 assert(Ph->values()[ArgIndex] == nullptr && "Wrong index for back edge."); in mergePhiNodesBackEdge()
805 Ph->values()[ArgIndex] = E; in mergePhiNodesBackEdge()
/external/clang/lib/Analysis/
DThreadSafetyCommon.cpp670 unsigned ArgIndex = CurrentBlockInfo->ProcessedPredecessors; in makePhiNodeVar() local
671 assert(ArgIndex > 0 && ArgIndex < NPreds); in makePhiNodeVar()
680 Ph->values()[ArgIndex] = E; in makePhiNodeVar()
688 for (unsigned PIdx = 0; PIdx < ArgIndex; ++PIdx) in makePhiNodeVar()
691 Ph->values()[ArgIndex] = E; in makePhiNodeVar()
773 unsigned ArgIndex = BBInfo[Blk->getBlockID()].ProcessedPredecessors; in mergePhiNodesBackEdge() local
774 assert(ArgIndex > 0 && ArgIndex < BB->numPredecessors()); in mergePhiNodesBackEdge()
779 assert(Ph->values()[ArgIndex] == nullptr && "Wrong index for back edge."); in mergePhiNodesBackEdge()
783 Ph->values()[ArgIndex] = E; in mergePhiNodesBackEdge()
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DAvoidBindCheck.cpp270 size_t ArgIndex = I - 1; in buildBindArguments() local
272 --ArgIndex; in buildBindArguments()
278 if (!Callable.Decl || ArgIndex < Callable.Decl->getNumParams() || in buildBindArguments()
354 int ArgIndex = findPositionOfPlaceholderUse(Args, I); in addPlaceholderArgs() local
356 if (ArgIndex != -1 && Args[ArgIndex].IsUsed) in addPlaceholderArgs()
357 Stream << " " << Args[ArgIndex].UsageIdentifier; in addPlaceholderArgs()
/external/llvm-project/clang/lib/AST/
DOSLog.cpp67 unsigned ArgIndex = FS.getArgIndex(); in HandlePrintfSpecifier() local
68 if (ArgIndex < Args.size()) in HandlePrintfSpecifier()
69 ArgsData.back().E = Args[ArgIndex]; in HandlePrintfSpecifier()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DArgumentPromotion.cpp197 for (const auto &ArgIndex : ArgIndices) { in doPromotion() local
201 ArgIndex.second)); in doPromotion()
280 for (const auto &ArgIndex : ArgIndices) { in doPromotion() local
283 OriginalLoads[std::make_pair(&*I, ArgIndex.second)]; in doPromotion()
284 if (!ArgIndex.second.empty()) { in doPromotion()
285 Ops.reserve(ArgIndex.second.size()); in doPromotion()
287 for (auto II : ArgIndex.second) { in doPromotion()
301 V = IRB.CreateGEP(ArgIndex.first, V, Ops, V->getName() + ".idx"); in doPromotion()

123