Searched defs:Ops (Results 1 - 25 of 77) sorted by relevance

1234

/external/llvm/include/llvm/
H A DConstant.h47 Constant(Type *ty, ValueTy vty, Use *Ops, unsigned NumOps) argument
48 : User(ty, vty, Ops, NumOps) {}
H A DMDBuilder.h129 Value *Ops[3] = { createString(Name), Parent, Flags }; local
130 return MDNode::get(Context, Ops);
132 Value *Ops[2] = { createString(Name), Parent }; local
133 return MDNode::get(Context, Ops);
H A DConstants.h811 ConstantExpr(Type *ty, unsigned Opcode, Use *Ops, unsigned NumOps) argument
812 : Constant(ty, ConstantExprVal, Ops, NumOps) {
1083 Constant *getWithOperands(ArrayRef<Constant*> Ops) const {
1084 return getWithOperands(Ops, getType());
1091 Constant *getWithOperands(ArrayRef<Constant*> Ops, Type *Ty) const;
H A DGlobalValue.h59 GlobalValue(Type *ty, ValueTy vty, Use *Ops, unsigned NumOps, argument
61 : Constant(ty, vty, Ops, NumOps), Linkage(linkage),
H A DInstrTypes.h38 Use *Ops, unsigned NumOps,
40 : Instruction(Ty, iType, Ops, NumOps, InsertBefore) {}
43 Use *Ops, unsigned NumOps, BasicBlock *InsertAtEnd)
44 : Instruction(Ty, iType, Ops, NumOps, InsertAtEnd) {}
37 TerminatorInst(Type *Ty, Instruction::TermOps iType, Use *Ops, unsigned NumOps, Instruction *InsertBefore = 0) argument
42 TerminatorInst(Type *Ty, Instruction::TermOps iType, Use *Ops, unsigned NumOps, BasicBlock *InsertAtEnd) argument
/external/llvm/lib/Target/Hexagon/
H A DHexagonInstrInfo.h98 const SmallVectorImpl<unsigned> &Ops,
103 const SmallVectorImpl<unsigned> &Ops,
101 foldMemoryOperandImpl(MachineFunction &MF, MachineInstr* MI, const SmallVectorImpl<unsigned> &Ops, MachineInstr* LoadMI) const argument
/external/llvm/lib/CodeGen/
H A DMachineInstrBundle.cpp253 SmallVectorImpl<std::pair<MachineInstr*, unsigned> > *Ops) {
261 if (Ops)
262 Ops->push_back(std::make_pair(MO.getParent(), getOperandNo()));
252 analyzeVirtReg(unsigned Reg, SmallVectorImpl<std::pair<MachineInstr*, unsigned> > *Ops) argument
H A DIntrinsicLowering.cpp463 Value *Ops[3]; local
464 Ops[0] = CI->getArgOperand(0);
465 Ops[1] = CI->getArgOperand(1);
466 Ops[2] = Size;
467 ReplaceCallWith("memcpy", CI, Ops, Ops+3, CI->getArgOperand(0)->getType());
474 Value *Ops[3]; local
475 Ops[0] = CI->getArgOperand(0);
476 Ops[1] = CI->getArgOperand(1);
477 Ops[
485 Value *Ops[3]; local
[all...]
H A DLiveRangeEdit.cpp196 SmallVector<unsigned, 8> Ops; local
197 if (UseMI->readsWritesVirtualRegister(LI->reg, &Ops).second)
200 MachineInstr *FoldMI = TII.foldMemoryOperand(UseMI, Ops, DefMI);
H A DTargetInstrInfoImpl.cpp283 const SmallVectorImpl<unsigned> &Ops) const {
284 return MI->isCopy() && Ops.size() == 1 && canFoldCopy(MI, Ops[0]);
295 const SmallVectorImpl<unsigned> &Ops,
298 for (unsigned i = 0, e = Ops.size(); i != e; ++i)
299 if (MI->getOperand(Ops[i]).isDef())
309 if (MachineInstr *NewMI = foldMemoryOperandImpl(MF, MI, Ops, FI)) {
330 if (!MI->isCopy() || Ops.size() != 1)
333 const TargetRegisterClass *RC = canFoldCopy(MI, Ops[0]);
337 const MachineOperand &MO = MI->getOperand(1-Ops[
294 foldMemoryOperand(MachineBasicBlock::iterator MI, const SmallVectorImpl<unsigned> &Ops, int FI) const argument
352 foldMemoryOperand(MachineBasicBlock::iterator MI, const SmallVectorImpl<unsigned> &Ops, MachineInstr* LoadMI) const argument
[all...]
/external/llvm/lib/Target/MBlaze/
H A DMBlazeISelDAGToDAG.cpp238 SDValue Ops[] = { Callee, GPReg, Chain }; local
240 MVT::i32, MVT::Other, Ops, 3), 0);
/external/llvm/lib/VMCore/
H A DIRBuilder.cpp55 static CallInst *createCallHelper(Value *Callee, ArrayRef<Value *> Ops, argument
57 CallInst *CI = CallInst::Create(Callee, Ops, "");
67 Value *Ops[] = { Ptr, Val, Size, getInt32(Align), getInt1(isVolatile) }; local
72 CallInst *CI = createCallHelper(TheFn, Ops, this);
87 Value *Ops[] = { Dst, Src, Size, getInt32(Align), getInt1(isVolatile) }; local
92 CallInst *CI = createCallHelper(TheFn, Ops, this);
107 Value *Ops[] = { Dst, Src, Size, getInt32(Align), getInt1(isVolatile) }; local
112 CallInst *CI = createCallHelper(TheFn, Ops, this);
130 Value *Ops[] = { Size, Ptr }; local
133 return createCallHelper(TheFn, Ops, thi
145 Value *Ops[] = { Size, Ptr }; local
[all...]
H A DInstruction.cpp23 Instruction::Instruction(Type *ty, unsigned it, Use *Ops, unsigned NumOps, argument
25 : User(ty, Value::InstructionVal + it, Ops, NumOps), Parent(0) {
37 Instruction::Instruction(Type *ty, unsigned it, Use *Ops, unsigned NumOps, argument
39 : User(ty, Value::InstructionVal + it, Ops, NumOps), Parent(0) {
H A DModule.cpp366 Value *Ops[3] = { local
369 getOrInsertModuleFlagsMetadata()->addOperand(MDNode::get(Context, Ops));
/external/llvm/lib/CodeGen/SelectionDAG/
H A DScheduleDAGSDNodes.cpp138 SmallVector<SDValue, 4> Ops; local
140 Ops.push_back(N->getOperand(I));
143 Ops.push_back(ExtraOper);
155 DAG->MorphNodeTo(N, N->getOpcode(), VTList, &Ops[0], Ops.size());
H A DLegalizeTypes.cpp1028 SDValue Ops[2] = { N->getOperand(0), N->getOperand(1) }; local
1029 return MakeLibCall(LC, N->getValueType(0), Ops, 2, isSigned, dl);
1031 SmallVector<SDValue, 8> Ops(NumOps);
1033 Ops[i] = N->getOperand(i);
1035 return MakeLibCall(LC, N->getValueType(0), &Ops[0], NumOps, isSigned, dl);
1041 const SDValue *Ops, unsigned NumOps,
1048 Entry.Node = Ops[i];
1040 MakeLibCall(RTLIB::Libcall LC, EVT RetVT, const SDValue *Ops, unsigned NumOps, bool isSigned, DebugLoc dl) argument
H A DLegalizeVectorOps.cpp126 SmallVector<SDValue, 8> Ops; local
128 Ops.push_back(LegalizeOp(Node->getOperand(i)));
131 SDValue(DAG.UpdateNodeOperands(Op.getNode(), Ops.data(), Ops.size()), 0);
483 SmallVector<SDValue, 8> Ops(NumElem, Mask);
484 Mask = DAG.getNode(ISD::BUILD_VECTOR, DL, MaskTy, &Ops[0], Ops.size());
600 SmallVector<SDValue, 8> Ops(NumElems);
606 Ops[i] = DAG.getNode(ISD::SETCC, dl, TLI.getSetCCResultType(TmpEltVT),
608 Ops[
[all...]
/external/llvm/lib/Target/X86/
H A DX86SelectionDAGInfo.cpp143 SDValue Ops[] = { Chain, DAG.getValueType(AVT), InFlag }; local
144 Chain = DAG.getNode(X86ISD::REP_STOS, dl, Tys, Ops, array_lengthof(Ops));
157 SDValue Ops[] = { Chain, DAG.getValueType(MVT::i8), InFlag }; local
158 Chain = DAG.getNode(X86ISD::REP_STOS, dl, Tys, Ops, array_lengthof(Ops));
237 SDValue Ops[] = { Chain, DAG.getValueType(AVT), InFlag }; local
238 SDValue RepMovs = DAG.getNode(X86ISD::REP_MOVS, dl, Tys, Ops,
239 array_lengthof(Ops));
/external/llvm/lib/Target/XCore/
H A DXCoreISelDAGToDAG.cpp185 SDValue Ops[] = { N->getOperand(0), N->getOperand(1), local
188 Ops, 3);
191 SDValue Ops[] = { N->getOperand(0), N->getOperand(1), local
194 Ops, 3);
197 SDValue Ops[] = { N->getOperand(0), N->getOperand(1), local
200 Ops, 4);
203 SDValue Ops[] = { N->getOperand(0), N->getOperand(1), local
206 Ops, 4);
209 SDValue Ops[] = { N->getOperand(0), N->getOperand(1), local
212 Ops,
218 SDValue Ops[] = { N->getOperand(1), N->getOperand(2), N->getOperand(3) }; local
[all...]
/external/llvm/lib/Target/NVPTX/
H A DNVPTXISelDAGToDAG.cpp229 SDValue Ops[] = { getI32Imm(isVolatile), local
236 MVT::Other, Ops, 7);
259 SDValue Ops[] = { getI32Imm(isVolatile), local
266 MVT::Other, Ops, 8);
289 SDValue Ops[] = { getI32Imm(isVolatile), local
296 MVT::Other, Ops, 8);
318 SDValue Ops[] = { getI32Imm(isVolatile), local
325 MVT::Other, Ops, 7);
415 SDValue Ops[] = { N1, local
423 MVT::Other, Ops,
446 SDValue Ops[] = { N1, local
477 SDValue Ops[] = { N1, local
506 SDValue Ops[] = { N1, local
[all...]
/external/llvm/utils/TableGen/
H A DCodeGenInstruction.cpp198 static void ParseConstraint(const std::string &CStr, CGIOperandList &Ops) { argument
209 std::pair<unsigned,unsigned> Op = Ops.ParseOperandName(Name, false);
212 if (!Ops[Op.first].Constraints[Op.second].isNone())
214 Ops[Op.first].Constraints[Op.second] =
230 std::pair<unsigned,unsigned> DestOp = Ops.ParseOperandName(DestOpName, false);
238 Ops.ParseOperandName(Name.substr(wpos), false);
243 unsigned FlatOpNo = Ops.getFlattenedOperandNumber(SrcOp);
245 if (!Ops[DestOp.first].Constraints[DestOp.second].isNone())
247 Ops[DestOp.first].Constraints[DestOp.second] =
251 static void ParseConstraints(const std::string &CStr, CGIOperandList &Ops) { argument
[all...]
/external/llvm/include/llvm/Analysis/
H A DScalarEvolution.h576 const SCEV *getAddExpr(SmallVectorImpl<const SCEV *> &Ops,
580 SmallVector<const SCEV *, 2> Ops; local
581 Ops.push_back(LHS);
582 Ops.push_back(RHS);
583 return getAddExpr(Ops, Flags);
587 SmallVector<const SCEV *, 3> Ops; local
588 Ops.push_back(Op0);
589 Ops.push_back(Op1);
590 Ops.push_back(Op2);
591 return getAddExpr(Ops, Flag
598 SmallVector<const SCEV *, 2> Ops; local
605 SmallVector<const SCEV *, 3> Ops; local
[all...]
/external/llvm/lib/Analysis/
H A DInlineCost.cpp447 Constant *Ops[1] = { dyn_cast<Constant>(Operand) }; local
448 if (Ops[0] || (Ops[0] = SimplifiedValues.lookup(Operand)))
450 Ops, TD)) {
/external/llvm/lib/Target/Mips/
H A DMipsISelDAGToDAG.cpp429 SDValue Ops[] = { CmpLHS, InFlag.getOperand(1) }; local
435 SDNode *Carry = CurDAG->getMachineNode(Mips::SLTu, dl, VT, Ops, 2);
/external/llvm/lib/Transforms/IPO/
H A DArgumentPromotion.cpp678 std::vector<Value*> Ops; local
684 Ops.reserve(SI->size());
693 Ops.push_back(ConstantInt::get(IdxTy, *II));
698 V = GetElementPtrInst::Create(V, Ops, V->getName()+".idx", Call);
699 Ops.clear();

Completed in 412 milliseconds

1234