HomeSort by relevance Sort by last modified time
    Searched refs:Ops (Results 1 - 25 of 138) sorted by null

1 2 3 4 5 6

  /external/llvm/lib/Target/ARM/MCTargetDesc/
ARMUnwindOpAsm.h 30 llvm::SmallVector<uint8_t, 32> Ops;
42 Ops.clear();
71 Ops.push_back(Opcode & 0xff);
76 Ops.push_back((Opcode >> 8) & 0xff);
77 Ops.push_back(Opcode & 0xff);
82 Ops.insert(Ops.end(), Opcode, Opcode + Size);
ARMUnwindOpAsm.cpp 190 size_t TotalSize = Ops.size() + 1;
195 if (Ops.size() <= 3) {
203 size_t TotalSize = Ops.size() + 2;
214 OpStreamer.EmitByte(Ops[j]);
  /external/llvm/lib/Transforms/Scalar/
Reassociate.cpp 62 /// PrintOps - Print out the expression identified in the Ops list.
64 static void PrintOps(Instruction *I, const SmallVectorImpl<ValueEntry> &Ops) {
67 << *Ops[0].Op->getType() << '\t';
68 for (unsigned i = 0, e = Ops.size(); i != e; ++i) {
70 WriteAsOperand(dbgs(), Ops[i].Op, false, M);
71 dbgs() << ", #" << Ops[i].Rank << "] ";
180 void RewriteExprTree(BinaryOperator *I, SmallVectorImpl<ValueEntry> &Ops);
182 SmallVectorImpl<ValueEntry> &Ops);
183 Value *OptimizeAdd(Instruction *I, SmallVectorImpl<ValueEntry> &Ops);
184 Value *OptimizeXor(Instruction *I, SmallVectorImpl<ValueEntry> &Ops);
    [all...]
  /external/clang/lib/CodeGen/
CGBuiltin.cpp     [all...]
CGExprScalar.cpp 407 Value *EmitMul(const BinOpInfo &Ops) {
408 if (Ops.Ty->isSignedIntegerOrEnumerationType()) {
411 return Builder.CreateMul(Ops.LHS, Ops.RHS, "mul");
414 return Builder.CreateNSWMul(Ops.LHS, Ops.RHS, "mul");
417 return EmitOverflowCheckedBinOp(Ops);
421 if (Ops.Ty->isUnsignedIntegerType() && CGF.SanOpts->UnsignedIntegerOverflow)
422 return EmitOverflowCheckedBinOp(Ops);
424 if (Ops.LHS->getType()->isFPOrFPVectorTy()
    [all...]
  /external/llvm/include/llvm/IR/
MDBuilder.h 130 Value *Ops[3] = { createString(Name), Parent, Flags };
131 return MDNode::get(Context, Ops);
133 Value *Ops[2] = { createString(Name), Parent };
134 return MDNode::get(Context, Ops);
163 SmallVector<Value *, 4> Ops(Fields.size() * 2 + 1);
165 Ops[0] = createString(Name);
167 Ops[i * 2 + 1] = Fields[i].first;
168 Ops[i * 2 + 2] = ConstantInt::get(Int64, Fields[i].second);
170 return MDNode::get(Context, Ops);
177 SmallVector<Value *, 4> Ops(3)
    [all...]
Constant.h 47 Constant(Type *ty, ValueTy vty, Use *Ops, unsigned NumOps)
48 : User(ty, vty, Ops, NumOps) {}
  /external/llvm/lib/Target/XCore/
XCoreISelDAGToDAG.cpp 139 SDValue Ops[] = { N->getOperand(0), N->getOperand(1),
142 Ops);
145 SDValue Ops[] = { N->getOperand(0), N->getOperand(1),
148 Ops);
151 SDValue Ops[] = { N->getOperand(0), N->getOperand(1),
154 Ops);
157 SDValue Ops[] = { N->getOperand(0), N->getOperand(1),
160 Ops);
163 SDValue Ops[] = { N->getOperand(0), N->getOperand(1),
166 Ops);
    [all...]
  /external/llvm/lib/IR/
IRBuilder.cpp 55 static CallInst *createCallHelper(Value *Callee, ArrayRef<Value *> Ops,
57 CallInst *CI = CallInst::Create(Callee, Ops, "");
67 Value *Ops[] = { Ptr, Val, Size, getInt32(Align), getInt1(isVolatile) };
72 CallInst *CI = createCallHelper(TheFn, Ops, this);
87 Value *Ops[] = { Dst, Src, Size, getInt32(Align), getInt1(isVolatile) };
92 CallInst *CI = createCallHelper(TheFn, Ops, this);
111 Value *Ops[] = { Dst, Src, Size, getInt32(Align), getInt1(isVolatile) };
116 CallInst *CI = createCallHelper(TheFn, Ops, this);
134 Value *Ops[] = { Size, Ptr };
137 return createCallHelper(TheFn, Ops, this)
    [all...]
  /external/llvm/lib/Analysis/
ScalarEvolution.cpp 639 static void GroupByComplexity(SmallVectorImpl<const SCEV *> &Ops,
641 if (Ops.size() < 2) return; // Noop
642 if (Ops.size() == 2) {
645 const SCEV *&LHS = Ops[0], *&RHS = Ops[1];
652 std::stable_sort(Ops.begin(), Ops.end(), SCEVComplexityCompare(LI));
658 for (unsigned i = 0, e = Ops.size(); i != e-2; ++i) {
659 const SCEV *S = Ops[i];
664 for (unsigned j = i+1; j != e && Ops[j]->getSCEVType() == Complexity; ++j)
    [all...]
ConstantFolding.cpp 102 Constant *Ops = C; // don't take the address of C!
103 return FoldBitCast(ConstantVector::get(Ops), DestTy, TD);
600 static Constant *CastGEPIndices(ArrayRef<Constant *> Ops,
608 for (unsigned i = 1, e = Ops.size(); i != e; ++i) {
610 !isa<StructType>(GetElementPtrInst::getIndexedType(Ops[0]->getType(),
611 Ops.slice(1, i-1)))) &&
612 Ops[i]->getType() != IntPtrTy) {
614 NewIdxs.push_back(ConstantExpr::getCast(CastInst::getCastOpcode(Ops[i],
618 Ops[i], IntPtrTy));
620 NewIdxs.push_back(Ops[i])
    [all...]
  /external/llvm/lib/Target/R600/
AMDGPUISelDAGToDAG.cpp 244 std::vector<SDValue> Ops;
247 Ops.push_back(CurDAG->getRegister(AMDGPU::ALU_CONST, MVT::f32));
249 Ops.push_back(CstOffset);
251 Ops.push_back(I->getOperand(i));
254 CurDAG->UpdateNodeOperands(*I, Ops.data(), Ops.size());
311 const SDValue Ops[] = { RC, N->getOperand(0), SubReg0,
314 SDLoc(N), N->getValueType(0), Ops);
362 std::vector<SDValue> Ops;
364 Ops.push_back(Use->getOperand(i))
    [all...]
SIISelLowering.cpp 453 SmallVector<SDValue, 4> Ops;
454 Ops.push_back(BRCOND.getOperand(0));
456 Ops.push_back(Intr->getOperand(i));
457 Ops.push_back(Target);
462 DAG.getVTList(Res.data(), Res.size()), Ops.data(), Ops.size()).getNode();
466 SDValue Ops[] = {
470 DAG.MorphNodeTo(BR, ISD::BR, BR->getVTList(), Ops, 2);
771 /// \p Ops
772 static bool isNodeChanged(const SDNode *Node, const std::vector<SDValue> &Ops) {
    [all...]
  /external/llvm/lib/Transforms/Utils/
ValueMapper.cpp 148 SmallVector<Constant*, 8> Ops;
149 Ops.reserve(NumOperands);
151 Ops.push_back(cast<Constant>(C->getOperand(j)));
155 Ops.push_back(cast<Constant>(Mapped));
159 Ops.push_back(MapValue(cast<Constant>(C->getOperand(OpNo)), VM,
164 return VM[V] = CE->getWithOperands(Ops, NewTy);
166 return VM[V] = ConstantArray::get(cast<ArrayType>(NewTy), Ops);
168 return VM[V] = ConstantStruct::get(cast<StructType>(NewTy), Ops);
170 return VM[V] = ConstantVector::get(Ops);
  /external/llvm/lib/Target/ARM/
ARMISelDAGToDAG.cpp     [all...]
  /external/clang/test/CodeGenCXX/
mangle.cpp 274 struct Ops {
275 Ops& operator+(const Ops&);
276 Ops& operator-(const Ops&);
277 Ops& operator&(const Ops&);
278 Ops& operator*(const Ops&);
283 // CHECK: define %struct.Ops* @_ZN3OpsplERKS
    [all...]
  /external/llvm/include/llvm/CodeGen/
SelectionDAG.h 452 SDValue Ops[] = { Chain, getRegister(Reg, N.getValueType()), N, Glue };
453 return getNode(ISD::CopyToReg, dl, VTs, Ops, Glue.getNode() ? 4 : 3);
460 SDValue Ops[] = { Chain, Reg, N, Glue };
461 return getNode(ISD::CopyToReg, dl, VTs, Ops, Glue.getNode() ? 4 : 3);
466 SDValue Ops[] = { Chain, getRegister(Reg, VT) };
467 return getNode(ISD::CopyFromReg, dl, VTs, Ops, 2);
476 SDValue Ops[] = { Chain, getRegister(Reg, VT), Glue };
477 return getNode(ISD::CopyFromReg, dl, VTs, Ops, Glue.getNode() ? 3 : 2);
519 SDValue Ops[] = { Chain, Op };
520 return getNode(ISD::CALLSEQ_START, DL, VTs, Ops, 2)
    [all...]
SelectionDAGNodes.h 700 const SDValue *Ops, unsigned NumOps)
709 OperandList[i].setInitial(Ops[i]);
723 void InitOperands(SDUse *Ops, const SDValue &Op0) {
724 Ops[0].setUser(this);
725 Ops[0].setInitial(Op0);
727 OperandList = Ops;
732 void InitOperands(SDUse *Ops, const SDValue &Op0, const SDValue &Op1) {
733 Ops[0].setUser(this);
734 Ops[0].setInitial(Op0);
735 Ops[1].setUser(this)
    [all...]
  /external/llvm/include/llvm/Analysis/
ScalarEvolution.h 585 const SCEV *getAddExpr(SmallVectorImpl<const SCEV *> &Ops,
589 SmallVector<const SCEV *, 2> Ops;
590 Ops.push_back(LHS);
591 Ops.push_back(RHS);
592 return getAddExpr(Ops, Flags);
596 SmallVector<const SCEV *, 3> Ops;
597 Ops.push_back(Op0);
598 Ops.push_back(Op1);
599 Ops.push_back(Op2);
600 return getAddExpr(Ops, Flags)
    [all...]
  /external/llvm/lib/CodeGen/
IntrinsicLowering.cpp 469 Value *Ops[3];
470 Ops[0] = CI->getArgOperand(0);
471 Ops[1] = CI->getArgOperand(1);
472 Ops[2] = Size;
473 ReplaceCallWith("memcpy", CI, Ops, Ops+3, CI->getArgOperand(0)->getType());
480 Value *Ops[3];
481 Ops[0] = CI->getArgOperand(0);
482 Ops[1] = CI->getArgOperand(1);
483 Ops[2] = Size
    [all...]
TargetInstrInfo.cpp 340 const SmallVectorImpl<unsigned> &Ops) const {
341 return MI->isCopy() && Ops.size() == 1 && canFoldCopy(MI, Ops[0]);
352 const SmallVectorImpl<unsigned> &Ops,
355 for (unsigned i = 0, e = Ops.size(); i != e; ++i)
356 if (MI->getOperand(Ops[i]).isDef())
366 if (MachineInstr *NewMI = foldMemoryOperandImpl(MF, MI, Ops, FI)) {
387 if (!MI->isCopy() || Ops.size() != 1)
390 const TargetRegisterClass *RC = canFoldCopy(MI, Ops[0]);
394 const MachineOperand &MO = MI->getOperand(1-Ops[0])
    [all...]
  /external/llvm/lib/Target/X86/
X86SelectionDAGInfo.cpp 143 SDValue Ops[] = { Chain, DAG.getValueType(AVT), InFlag };
144 Chain = DAG.getNode(X86ISD::REP_STOS, dl, Tys, Ops, array_lengthof(Ops));
157 SDValue Ops[] = { Chain, DAG.getValueType(MVT::i8), InFlag };
158 Chain = DAG.getNode(X86ISD::REP_STOS, dl, Tys, Ops, array_lengthof(Ops));
245 SDValue Ops[] = { Chain, DAG.getValueType(AVT), InFlag };
246 SDValue RepMovs = DAG.getNode(X86ISD::REP_MOVS, dl, Tys, Ops,
247 array_lengthof(Ops));
  /frameworks/base/services/java/com/android/server/
AppOpsService.java 89 final SparseArray<HashMap<String, Ops>> mUidOps
90 = new SparseArray<HashMap<String, Ops>>();
92 public final static class Ops extends SparseArray<Op> {
96 public Ops(String _packageName, int _uid) {
204 HashMap<String, Ops> pkgs = mUidOps.valueAt(i);
205 Iterator<Ops> it = pkgs.values().iterator();
207 Ops ops = it.next(); local
210 curUid = mContext.getPackageManager().getPackageUid(ops.packageName,
211 UserHandle.getUserId(ops.uid))
341 Ops ops = getOpsLocked(uid, packageName, false); local
571 Ops ops = getOpsLocked(uid, packageName, true); local
605 Ops ops = getOpsLocked(uid, packageName, true); local
703 Ops ops = pkgOps.get(packageName); local
755 Ops ops = getOpsLocked(uid, packageName, edit); local
900 Ops ops = pkgOps.get(pkgName); local
946 List<AppOpsManager.OpEntry> ops = pkg.getOps(); local
    [all...]
  /external/llvm/lib/Target/PowerPC/
PPCISelDAGToDAG.cpp 461 SDValue Ops[] = { Op0, Op1, getI32Imm(SH), getI32Imm(MB),
463 return CurDAG->getMachineNode(PPC::RLWIMI, dl, MVT::i32, Ops);
728 SDValue Ops[] = { Op, getI32Imm(27), getI32Imm(5), getI32Imm(31) };
729 return CurDAG->SelectNodeTo(N, PPC::RLWINM, MVT::i32, Ops, 4);
740 SDValue Ops[] = { Op, getI32Imm(1), getI32Imm(31), getI32Imm(31) };
741 return CurDAG->SelectNodeTo(N, PPC::RLWINM, MVT::i32, Ops, 4);
747 SDValue Ops[] = { T, getI32Imm(1), getI32Imm(31), getI32Imm(31) };
748 return CurDAG->SelectNodeTo(N, PPC::RLWINM, MVT::i32, Ops, 4);
777 SDValue Ops[] = { AN, getI32Imm(1), getI32Imm(31), getI32Imm(31) };
778 return CurDAG->SelectNodeTo(N, PPC::RLWINM, MVT::i32, Ops, 4)
    [all...]
  /external/llvm/lib/CodeGen/SelectionDAG/
SelectionDAG.cpp 338 const SDValue *Ops, unsigned NumOps) {
339 for (; NumOps; --NumOps, ++Ops) {
340 ID.AddPointer(Ops->getNode());
341 ID.AddInteger(Ops->getResNo());
348 const SDUse *Ops, unsigned NumOps) {
349 for (; NumOps; --NumOps, ++Ops) {
350 ID.AddPointer(Ops->getNode());
351 ID.AddInteger(Ops->getResNo());
738 SDValue Ops[] = { Op };
740 AddNodeIDNode(ID, N->getOpcode(), N->getVTList(), Ops, 1)
    [all...]

Completed in 731 milliseconds

1 2 3 4 5 6