/external/llvm/lib/Target/NVPTX/ |
D | NVPTXGenericToNVVM.cpp | 254 unsigned NumOperands = C->getNumOperands(); in remapConstantVectorOrConstantAggregate() local 258 for (unsigned i = 0; i < NumOperands; ++i) { in remapConstantVectorOrConstantAggregate() 275 for (unsigned i = 0; i < NumOperands; ++i) { in remapConstantVectorOrConstantAggregate() 280 for (unsigned i = 0; i < NumOperands; ++i) { in remapConstantVectorOrConstantAggregate() 293 unsigned NumOperands = C->getNumOperands(); in remapConstantExpr() local 297 for (unsigned i = 0; i < NumOperands; ++i) { in remapConstantExpr() 345 makeArrayRef(&NewOperands[1], NumOperands - 1)) in remapConstantExpr() 349 makeArrayRef(&NewOperands[1], NumOperands - 1)); in remapConstantExpr() 372 unsigned NumOperands = N->getNumOperands(); in remapNamedMDNode() local 376 for (unsigned i = 0; i < NumOperands; ++i) { in remapNamedMDNode()
|
/external/mesa3d/src/gallium/drivers/radeon/MCTargetDesc/ |
D | R600MCCodeEmitter.cpp | 196 unsigned NumOperands = MI.getNumOperands(); in EmitALUInstr() local 199 NumOperands--; in EmitALUInstr() 202 NumOperands--; in EmitALUInstr() 205 NumOperands = 2; in EmitALUInstr() 208 if (NumOperands < 1) { in EmitALUInstr() 216 for (OpIndex = 1; OpIndex < NumOperands; OpIndex++) { in EmitALUInstr() 231 EmitALU(MI, NumOperands - 1, Fixups, OS); in EmitALUInstr() 491 unsigned NumOperands = MI.getNumOperands(); in EmitFCInstr() local 492 if (NumOperands > 0) { in EmitFCInstr() 493 assert(NumOperands == 1); in EmitFCInstr()
|
/external/llvm/utils/TableGen/ |
D | CodeGenTarget.h | 200 unsigned NumOperands; variable 205 ComplexPattern() : NumOperands(0) {} in ComplexPattern() 209 unsigned getNumOperands() const { return NumOperands; } in getNumOperands()
|
D | InstrInfoEmitter.cpp | 206 unsigned NumOperands = 0; in initOperandMapData() local 216 std::pair<std::string, unsigned>(Info.Name, NumOperands++)); in initOperandMapData()
|
D | AsmMatcherEmitter.cpp | 375 static ResOperand getRenderedOp(unsigned AsmOpNum, unsigned NumOperands) { in getRenderedOp() 379 X.MINumOperands = NumOperands; in getRenderedOp() 1652 unsigned NumOperands = OpInfo.MINumOperands; in buildInstructionResultOperands() local 1654 ResOperands.push_back(ResOperand::getRenderedOp(SrcOperand, NumOperands)); in buildInstructionResultOperands() 1659 for (unsigned AI = 0; AI < NumOperands; ++AI) { in buildInstructionResultOperands() 1704 unsigned NumOperands = (SubIdx == -1 ? OpInfo->MINumOperands : 1); in buildAliasResultOperands() local 1706 NumOperands)); in buildAliasResultOperands()
|
D | CodeGenDAGPatterns.h | 229 int NumOperands; variable 238 int getNumOperands() const { return NumOperands; } in getNumOperands()
|
/external/llvm/include/llvm/MC/ |
D | MCInstrDesc.h | 141 unsigned short NumOperands; // Num of args (may be more if variable_ops) variable 164 if (OpNum < NumOperands && in getOperandConstraint() 185 unsigned getNumOperands() const { return NumOperands; } in getNumOperands()
|
/external/llvm/lib/Transforms/Utils/ |
D | ValueMapper.cpp | 113 unsigned OpNo = 0, NumOperands = C->getNumOperands(); in MapValue() local 115 for (; OpNo != NumOperands; ++OpNo) { in MapValue() 128 if (OpNo == NumOperands && NewTy == C->getType()) in MapValue() 134 Ops.reserve(NumOperands); in MapValue() 139 if (OpNo != NumOperands) { in MapValue() 143 for (++OpNo; OpNo != NumOperands; ++OpNo) in MapValue()
|
/external/llvm/lib/CodeGen/ |
D | MachineInstr.cpp | 648 : MCID(&tid), Parent(nullptr), Operands(nullptr), NumOperands(0), Flags(0), in MachineInstr() 667 : MCID(&MI.getDesc()), Parent(nullptr), Operands(nullptr), NumOperands(0), in MachineInstr() 738 if (&Op >= Operands && &Op < Operands + NumOperands) { in addOperand() 787 if (OpNo != NumOperands) in addOperand() 788 moveOperands(Operands + OpNo + 1, OldOperands + OpNo, NumOperands - OpNo, in addOperand() 790 ++NumOperands; in addOperand() 848 if (unsigned N = NumOperands - 1 - OpNo) in RemoveOperand() 850 --NumOperands; in RemoveOperand() 991 unsigned NumOperands = MCID->getNumOperands(); in getNumExplicitOperands() local 993 return NumOperands; in getNumExplicitOperands() [all …]
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
D | AsmPrinterInlineAsm.cpp | 164 unsigned NumOperands = MI->getNumOperands(); in EmitMSInlineAsmStr() local 206 if (Val >= NumOperands-1) in EmitMSInlineAsmStr() 260 unsigned NumOperands = MI->getNumOperands(); in EmitGCCInlineAsmStr() local 371 if (Val >= NumOperands-1) in EmitGCCInlineAsmStr()
|
/external/llvm/include/llvm/Analysis/ |
D | ScalarEvolutionExpressions.h | 142 size_t NumOperands; variable 146 : SCEV(ID, T), Operands(O), NumOperands(N) {} in SCEVNAryExpr() 149 size_t getNumOperands() const { return NumOperands; } in getNumOperands() 151 assert(i < NumOperands && "Operand index out of range!"); in getOperand() 158 op_iterator op_end() const { return Operands + NumOperands; } in op_end()
|
/external/llvm/include/llvm/CodeGen/ |
D | SelectionDAGNodes.h | 410 unsigned short NumOperands, NumValues; 626 unsigned getNumOperands() const { return NumOperands; } 632 assert(Num < NumOperands && "Invalid child # of SDNode!"); 638 op_iterator op_end() const { return OperandList+NumOperands; } 781 ValueList(VTs.VTs), UseList(nullptr), NumOperands(Ops.size()), 784 assert(NumOperands == Ops.size() && 801 UseList(nullptr), NumOperands(0), NumValues(VTs.NumVTs), 812 NumOperands = 1; 823 NumOperands = 2; 837 NumOperands = 3; [all …]
|
D | MachineInstr.h | 79 unsigned NumOperands; // Number of operands on instruction. variable 274 unsigned getNumOperands() const { return NumOperands; } 293 mop_iterator operands_end() { return Operands + NumOperands; } 296 const_mop_iterator operands_end() const { return Operands + NumOperands; }
|
/external/llvm/lib/MC/ |
D | MCInstrDesc.cpp | 46 for (int i = NumOperands, e = MI.getNumOperands(); i != e; ++i) { in mayAffectControlFlow()
|
/external/llvm/lib/Target/X86/ |
D | X86FloatingPoint.cpp | 1137 unsigned NumOperands = MI->getDesc().getNumOperands(); in handleTwoArgFP() local 1138 assert(NumOperands == 3 && "Illegal TwoArgFP instruction!"); in handleTwoArgFP() 1140 unsigned Op0 = getFPReg(MI->getOperand(NumOperands-2)); in handleTwoArgFP() 1141 unsigned Op1 = getFPReg(MI->getOperand(NumOperands-1)); in handleTwoArgFP() 1235 unsigned NumOperands = MI->getDesc().getNumOperands(); in handleCompareFP() local 1236 assert(NumOperands == 2 && "Illegal FUCOM* instruction!"); in handleCompareFP() 1237 unsigned Op0 = getFPReg(MI->getOperand(NumOperands-2)); in handleCompareFP() 1238 unsigned Op1 = getFPReg(MI->getOperand(NumOperands-1)); in handleCompareFP()
|
/external/llvm/lib/IR/ |
D | Metadata.cpp | 406 size_t OpSize = N->NumOperands * sizeof(MDOperand); in operator delete() 410 for (MDOperand *E = O - N->NumOperands; O != E; --O) in operator delete() 417 : Metadata(ID, Storage), NumOperands(Ops1.size() + Ops2.size()), in MDNode() 592 for (unsigned I = 0, E = NumOperands; I != E; ++I) in dropAllReferences() 770 assert(I < NumOperands); in setOperand()
|
/external/llvm/lib/Target/AMDGPU/ |
D | SIInsertWaits.cpp | 444 unsigned NumOperands = I->getNumOperands(); in handleSendMsg() local 445 for (unsigned i = 0; i < NumOperands; i++) { in handleSendMsg()
|
/external/llvm/include/llvm/IR/ |
D | Metadata.h | 750 unsigned NumOperands; 775 MDOperand *mutable_begin() { return mutable_end() - NumOperands; } 941 assert(I < NumOperands && "Out of range"); 946 unsigned getNumOperands() const { return NumOperands; }
|
/external/clang/lib/Sema/ |
D | SemaStmtAsm.cpp | 368 unsigned NumOperands = NS->getNumOutputs() + NS->getNumInputs(); in ActOnGCCAsmStmt() local 372 if (ConstraintIdx >= NumOperands) { in ActOnGCCAsmStmt() 375 for (unsigned Cnt = ConstraintIdx - NumOperands; I != E; ++I) in ActOnGCCAsmStmt()
|
/external/llvm/lib/Target/AArch64/AsmParser/ |
D | AArch64AsmParser.cpp | 3783 unsigned NumOperands = Operands.size(); in MatchAndEmitInstruction() local 3785 if (NumOperands == 4 && Tok == "lsl") { in MatchAndEmitInstruction() 3814 } else if (NumOperands == 4 && Tok == "bfc") { in MatchAndEmitInstruction() 3868 } else if (NumOperands == 5) { in MatchAndEmitInstruction() 3934 } else if (NumOperands == 5 && in MatchAndEmitInstruction() 3990 if (NumOperands == 3 && (Tok == "sxtw" || Tok == "uxtw")) { in MatchAndEmitInstruction() 4001 else if (NumOperands == 3 && (Tok == "sxtb" || Tok == "sxth")) { in MatchAndEmitInstruction() 4017 else if (NumOperands == 3 && (Tok == "uxtb" || Tok == "uxth")) { in MatchAndEmitInstruction() 4034 if (NumOperands == 3 && Tok == "fmov") { in MatchAndEmitInstruction() 4081 NumOperands = Operands.size(); in MatchAndEmitInstruction() [all …]
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | LegalizeTypes.cpp | 275 unsigned NumOperands = N->getNumOperands(); in run() local 278 for (i = 0; i != NumOperands; ++i) { in run() 352 if (i == NumOperands) { in run()
|
D | LegalizeVectorTypes.cpp | 2527 unsigned NumOperands = N->getNumOperands(); in WidenVecRes_CONCAT_VECTORS() local 2537 for (unsigned i=0; i < NumOperands; ++i) in WidenVecRes_CONCAT_VECTORS() 2539 for (unsigned i = NumOperands; i != NumConcat; ++i) in WidenVecRes_CONCAT_VECTORS() 2548 for (i=1; i < NumOperands; ++i) in WidenVecRes_CONCAT_VECTORS() 2552 if (i == NumOperands) in WidenVecRes_CONCAT_VECTORS() 2557 if (NumOperands == 2) { in WidenVecRes_CONCAT_VECTORS() 2576 for (unsigned i=0; i < NumOperands; ++i) { in WidenVecRes_CONCAT_VECTORS() 3138 unsigned NumOperands = N->getNumOperands(); in WidenVecOp_CONCAT_VECTORS() local 3139 for (unsigned i=0; i < NumOperands; ++i) { in WidenVecOp_CONCAT_VECTORS()
|
/external/llvm/lib/Transforms/Vectorize/ |
D | BBVectorize.cpp | 2775 unsigned NumOperands = I->getNumOperands(); in getReplacementInputsForPair() local 2777 for (unsigned p = 0, o = NumOperands-1; p < NumOperands; ++p, --o) { in getReplacementInputsForPair() 2788 if (o == NumOperands-1) { in getReplacementInputsForPair() 2806 } else if (isa<ShuffleVectorInst>(I) && o == NumOperands-1) { in getReplacementInputsForPair() 3103 unsigned NumOperands = I->getNumOperands(); in fuseChosenPairs() local 3104 SmallVector<Value *, 3> ReplacedOperands(NumOperands); in fuseChosenPairs() 3135 for (unsigned o = 0; o < NumOperands; ++o) in fuseChosenPairs()
|
D | LoopVectorize.cpp | 2005 unsigned NumOperands = Gep->getNumOperands(); in isConsecutivePtr() local 2018 for (unsigned i = 1; i < NumOperands; ++i) in isConsecutivePtr() 2030 for (unsigned i = 0; i != NumOperands; ++i) in isConsecutivePtr() 2414 unsigned NumOperands = Gep->getNumOperands(); in vectorizeMemoryInstruction() local 2419 for (unsigned i = 0; i < NumOperands; ++i) { in vectorizeMemoryInstruction() 5284 unsigned NumOperands = Gep->getNumOperands(); in isLikelyComplexAddressComputation() local 5285 for (unsigned i = 1; i < NumOperands; ++i) { in isLikelyComplexAddressComputation() 5686 unsigned NumOperands = Gep->getNumOperands(); in collectValuesToIgnore() local 5692 for (unsigned i = 0; i != NumOperands; ++i) { in collectValuesToIgnore()
|
/external/clang/lib/AST/ |
D | Stmt.cpp | 580 unsigned NumOperands = in AnalyzeAsmString() local 582 if (N >= NumOperands) { in AnalyzeAsmString()
|