Home | History | Annotate | Download | only in IR

Lines Matching refs:Index

653                                          unsigned Index) {
654 Metadata *Op = N->getOperand(Index);
662 LLVMValueRef LLVMGetOperand(LLVMValueRef Val, unsigned Index) {
666 assert(Index == 0 && "Function-local metadata can only have one operand");
670 cast<MDNode>(MD->getMetadata()), Index);
673 return wrap(cast<User>(V)->getOperand(Index));
676 LLVMUseRef LLVMGetOperandUse(LLVMValueRef Val, unsigned Index) {
678 return wrap(&cast<User>(V)->getOperandUse(Index));
681 void LLVMSetOperand(LLVMValueRef Val, unsigned Index, LLVMValueRef Op) {
682 unwrap<User>(Val)->setOperand(Index, unwrap(Op));
1791 LLVMValueRef LLVMGetParam(LLVMValueRef FnRef, unsigned index) {
1793 while (index --> 0)
2058 void LLVMAddInstrAttribute(LLVMValueRef Instr, unsigned index,
2063 Call.getAttributes().addAttributes(Call->getContext(), index,
2065 index, B)));
2068 void LLVMRemoveInstrAttribute(LLVMValueRef Instr, unsigned index,
2073 .removeAttributes(Call->getContext(), index,
2075 index, B)));
2078 void LLVMSetInstrParamAlignment(LLVMValueRef Instr, unsigned index,
2084 .addAttributes(Call->getContext(), index,
2086 index, B)));
2146 LLVMValueRef LLVMGetIncomingValue(LLVMValueRef PhiNode, unsigned Index) {
2147 return wrap(unwrap<PHINode>(PhiNode)->getIncomingValue(Index));
2150 LLVMBasicBlockRef LLVMGetIncomingBlock(LLVMValueRef PhiNode, unsigned Index) {
2151 return wrap(unwrap<PHINode>(PhiNode)->getIncomingBlock(Index));
2759 LLVMValueRef Index, const char *Name) {
2760 return wrap(unwrap(B)->CreateExtractElement(unwrap(VecVal), unwrap(Index),
2765 LLVMValueRef EltVal, LLVMValueRef Index,
2768 unwrap(Index), Name));
2779 unsigned Index, const char *Name) {
2780 return wrap(unwrap(B)->CreateExtractValue(unwrap(AggVal), Index, Name));
2784 LLVMValueRef EltVal, unsigned Index,
2787 Index, Name));