HomeSort by relevance Sort by last modified time
    Searched refs:cast (Results 726 - 750 of 3080) sorted by null

<<21222324252627282930>>

  /external/llvm/lib/Transforms/Scalar/
StraightLineStrengthReduce.cpp 261 return isGEPFoldable(cast<GetElementPtrInst>(C.Ins), TTI);
288 hasOnlyOneNonZeroIndex(cast<GetElementPtrInst>(C.Ins)));
346 allocateCandidatesAndFindBasisForGEP(cast<GetElementPtrInst>(I));
378 ConstantInt *One = ConstantInt::get(cast<IntegerType>(I->getType()), 1);
412 ConstantInt *Zero = ConstantInt::get(cast<IntegerType>(I->getType()), 0);
441 IntegerType *IntPtrTy = cast<IntegerType>(DL->getIntPtrType(I->getType()));
453 Base, ConstantInt::get(cast<IntegerType>(ArrayIdx->getType()), 1),
551 cast<GetElementPtrInst>(Basis.Ins)->getResultElementType()));
634 bool InBounds = cast<GetElementPtrInst>(C.Ins)->isInBounds();
RewriteStatepointsForGC.cpp 403 ConstantPointerNull::get(cast<PointerType>(I->getType())), true);
410 assert(cast<PointerType>(Def->getType())->getAddressSpace() ==
411 cast<PointerType>(CI->getType())->getAddressSpace() &&
413 // If we find a cast instruction here, it means we've found a cast which is
414 // not simply a pointer cast (i.e. an inttoptr). We don't know how to
416 assert(!isa<CastInst>(Def) && "shouldn't find another cast here");
534 cast<Instruction>(V)->getMetadata("is_base_value")) {
784 auto *IE = cast<InsertElementInst>(BDV);
810 Instruction *I = cast<Instruction>(Pair.first)
    [all...]
  /external/llvm/lib/Transforms/Utils/
CloneFunction.cpp 165 cast<BasicBlock>(VMap[&OldFunc->front()])->getIterator(),
473 BasicBlock *NewBB = cast<BasicBlock>(VMap[OldBB]);
480 PHINode *PN = cast<PHINode>(VMap[OPN]);
503 PHINode *PN = cast<PHINode>(NewBB->begin());
533 PN = cast<PHINode>(NewBB->begin());
563 Function::iterator Begin = cast<BasicBlock>(VMap[StartingBB])->getIterator();
614 for (Function::iterator I = cast<BasicBlock>(VMap[StartingBB])->getIterator(),
701 DT->changeImmediateDominator(cast<BasicBlock>(VMap[BB]),
702 cast<BasicBlock>(VMap[IDomBB]));
SSAUpdater.cpp 179 Instruction *User = cast<Instruction>(U.getUser());
196 Instruction *User = cast<Instruction>(U.getUser());
333 SomeVal = cast<StoreInst>(Insts[0])->getOperand(0);
374 LiveInLoads.push_back(cast<LoadInst>(User));
393 LiveInLoads.push_back(cast<LoadInst>(I));
472 replaceLoadWithValue(cast<LoadInst>(User), NewVal);
  /external/swiftshader/third_party/LLVM/lib/VMCore/
Constants.cpp 101 return ConstantPointerNull::get(cast<PointerType>(Ty));
142 VectorType *VTy = cast<VectorType>(Ty);
145 return cast<ConstantVector>(ConstantVector::get(Elts));
166 Constant *CV = cast<Constant>(V);
260 cast<BlockAddress>(LHS->getOperand(0))->getFunction() ==
261 cast<BlockAddress>(RHS->getOperand(0))->getFunction())
268 cast<Constant>(getOperand(i))->getRelocationInfo());
287 VectorType *VT = cast<VectorType>(getType());
423 Constant *C = get(cast<IntegerType>(Ty->getScalarType()), V, isSigned);
520 APFloat apf = cast <ConstantFP>(Constant::getNullValue(Ty))->getValueAPF()
    [all...]
Type.cpp 51 return isIntegerTy() && cast<IntegerType>(this)->getBitWidth() == Bitwidth;
62 return cast<VectorType>(this)->getElementType()->isIntegerTy();
74 return cast<VectorType>(this)->getElementType()->isFloatingPointTy();
81 // Identity cast means no change so return true
140 case Type::IntegerTyID: return cast<IntegerType>(this)->getBitWidth();
141 case Type::VectorTyID: return cast<VectorType>(this)->getBitWidth();
185 if (cast<StructType>(this)->isOpaque())
279 case 1: return cast<IntegerType>(Type::getInt1Ty(C));
280 case 8: return cast<IntegerType>(Type::getInt8Ty(C));
281 case 16: return cast<IntegerType>(Type::getInt16Ty(C))
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Scalar/
GVNExpression.h 218 const auto &OE = cast<BasicExpression>(Other);
288 const MemoryExpression &OtherMCE = cast<MemoryExpression>(Other);
358 cast<LoadExpression>(Other).getLoadInst() == getLoadInst();
398 cast<StoreExpression>(Other).getStoreInst() == getStoreInst();
459 const AggregateValueExpression &OE = cast<AggregateValueExpression>(Other);
521 const PHIExpression &OE = cast<PHIExpression>(Other);
567 const VariableExpression &OC = cast<VariableExpression>(Other);
604 const ConstantExpression &OC = cast<ConstantExpression>(Other);
640 const auto &OU = cast<UnknownExpression>(Other);
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
MemorySSAUpdater.cpp 144 return cast<MemoryAccess>(&U);
200 Same = cast<MemoryAccess>(&*Op);
342 cast<MemoryDef>(DefIter)->setDefiningAccess(NewDef);
374 cast<MemoryDef>(FirstDef)->setDefiningAccess(getPreviousDef(FirstDef));
414 insertUse(cast<MemoryUse>(What));
451 auto *MUD = cast<MemoryUseOrDef>(FirstInNew);
456 : cast<MemoryUseOrDef>(&*NextIt);
493 MA = cast<MemoryAccess>(Arg);
545 NewDefTarget = cast<MemoryUseOrDef>(MA)->getDefiningAccess();
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/ObjCARC/
ObjCARCContract.cpp 144 cast<CallInst>(Retain)->setCalledFunction(Decl);
497 CallInst *CI = cast<CallInst>(Inst);
500 ConstantPointerNull::get(cast<PointerType>(CI->getType()));
646 cast<Instruction>(U.getUser()));
653 Value *Arg = cast<CallInst>(Inst)->getArgOperand(0);
664 cast<GEPOperator>(Arg)->hasAllZeroIndices())
665 Arg = cast<GEPOperator>(Arg)->getPointerOperand();
667 !cast<GlobalAlias>(Arg)->isInterposable())
668 Arg = cast<GlobalAlias>(Arg)->getAliasee();
  /external/tensorflow/tensorflow/contrib/integrate/python/ops/
odes.py 117 dt_cast = math_ops.cast(dt, y0.dtype)
177 dt = math_ops.cast(dt, y0.dtype)
207 x = math_ops.cast((t - t0) / (t1 - t0), dtype)
226 error_ratio = math_ops.cast(error_ratio, last_step.dtype)
227 exponent = math_ops.cast(1 / order, last_step.dtype)
597 dy = math_ops.cast(dy, dtype=y.dtype)
625 dt_cast = math_ops.cast(dt, y.dtype)
636 dt_cast = math_ops.cast(dt, y.dtype)
690 steps_on_intervals = math_ops.cast(steps_on_intervals, dtype=dtypes.int32)
  /external/tensorflow/tensorflow/python/ops/linalg/
linear_operator_circulant.py 306 return math_ops.cast(h, self.dtype)
418 return math_ops.cast(y, self.dtype)
423 return math_ops.cast(det, self.dtype)
428 return math_ops.cast(lad, self.dtype)
440 return math_ops.cast(x, self.dtype)
464 diag_value = self.trace() / math_ops.cast(diag_size, self.dtype)
494 return math_ops.cast(re_d_value, self.dtype)
502 return math_ops.cast(math_ops.complex(re_d_value, im_d_value), self.dtype)
605 spectrum = tf.fft(tf.cast(convolution_kernel, tf.complex64))
644 # Cast the output to float32. This is fine because the operator will b
    [all...]
  /external/v8/src/heap/
heap-inl.h 52 return HeapObject::cast(object_);
56 type* Heap::name() { return type::cast(roots_[k##camel_name##RootIndex]); }
62 return Map::cast(roots_[k##Name##Size##MapRootIndex]); \
69 return AccessorInfo::cast(roots_[k##AccessorName##AccessorRootIndex]); \
310 ExternalString* ext_string = ExternalString::cast(string);
333 return object->IsHeapObject() && InNewSpace(HeapObject::cast(object));
362 return object->IsHeapObject() && InFromSpace(HeapObject::cast(object));
381 return object->IsHeapObject() && InToSpace(HeapObject::cast(object));
469 AllocationMemento* memento_candidate = AllocationMemento::cast(candidate);
  /external/llvm/lib/CodeGen/
TargetLoweringObjectFileImpl.cpp 69 cast<MCSymbolELF>(getContext().getOrCreateSymbol(NameData));
286 cast<GlobalVariable>(GV));
494 SectionVal = cast<MDString>(Val)->getString();
496 LinkerOptions = cast<MDNode>(Val);
504 for (const auto &Piece : cast<MDNode>(Option)->operands())
505 StrOptions.push_back(cast<MDString>(Piece)->getString());
609 cast<GlobalVariable>(GV)) < 32)
617 cast<GlobalVariable>(GV)) < 32)
788 const MCSectionMachO &SMO = cast<MCSectionMachO>(Section);
    [all...]
SjLjEHPrepare.cpp 158 auto *SelI = cast<Instruction>(SelVal);
227 cast<AllocaInst>(AfterAllocaInsPt)->isStaticAlloca())
259 cast<Instruction>(Inst.user_back())->getParent() == &BB &&
272 Instruction *UI = cast<Instruction>(U);
287 PHINode *PN = cast<PHINode>(U);
326 PHIsToDemote.insert(cast<PHINode>(PN));
  /external/llvm/lib/MC/
MCExpr.cpp 36 return cast<MCTargetExpr>(this)->printImpl(OS, MAI);
38 OS << cast<MCConstantExpr>(*this).getValue();
42 const MCSymbolRefExpr &SRE = cast<MCSymbolRefExpr>(*this);
62 const MCUnaryExpr &UE = cast<MCUnaryExpr>(*this);
74 const MCBinaryExpr &BE = cast<MCBinaryExpr>(*this);
611 return cast<MCTargetExpr>(this)->evaluateAsRelocatableImpl(Res, Layout,
615 Res = MCValue::get(cast<MCConstantExpr>(this)->getValue());
619 const MCSymbolRefExpr *SRE = cast<MCSymbolRefExpr>(this);
649 const MCUnaryExpr *AUE = cast<MCUnaryExpr>(this);
667 // The cast avoids undefined behavior if the constant is INT64_MIN
    [all...]
  /external/swiftshader/third_party/LLVM/lib/Target/ARM/
ARMISelDAGToDAG.cpp 292 Imm = cast<ConstantSDNode>(N)->getZExtValue();
451 int FI = cast<FrameIndexSDNode>(N)->getIndex();
475 int FI = cast<FrameIndexSDNode>(Base)->getIndex();
622 int FI = cast<FrameIndexSDNode>(N)->getIndex();
643 int FI = cast<FrameIndexSDNode>(Base)->getIndex();
728 ? cast<LoadSDNode>(Op)->getAddressingMode()
729 : cast<StoreSDNode>(Op)->getAddressingMode();
764 ? cast<LoadSDNode>(Op)->getAddressingMode()
765 : cast<StoreSDNode>(Op)->getAddressingMode();
784 ? cast<LoadSDNode>(Op)->getAddressingMode(
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
InferAddressSpaces.cpp 221 switch (cast<Operator>(V).getOpcode()) {
237 const Operator &Op = cast<Operator>(V);
240 auto IncomingValues = cast<PHINode>(Op).incoming_values();
329 Operator *Op = cast<Operator>(V);
476 PHINode *PHI = cast<PHINode>(I);
486 GetElementPtrInst *GEP = cast<GetElementPtrInst>(I);
522 return ConstantExpr::getBitCast(cast<Constant>(NewOperand), TargetType);
550 NewOperands.push_back(cast<Constant>(NewOperand));
558 // are assumed to wrapped in a addrspace cast later so drop it now.
599 cast<ConstantExpr>(V), NewAddrSpace, ValueWithNewAddrSpace)
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
PredicateInfo.cpp 64 return cast<PredicateWithEdge>(PB)->From;
72 return cast<PredicateWithEdge>(PB)->From->getTerminator();
81 const auto *PEdge = cast<PredicateWithEdge>(PB);
123 return OI.dfsBefore(cast<Instruction>(A), cast<Instruction>(B));
160 auto *PHI = cast<PHINode>(VD.U->getUser());
190 return cast<PredicateAssume>(VD.PInfo)->AssumeInst;
199 return cast<Instruction>(Def);
200 return cast<Instruction>(U->getUser());
331 ConditionsToProcess.push_back(cast<BinaryOperator>(Operand)->getOperand(0))
    [all...]
  /external/swiftshader/third_party/LLVM/lib/Analysis/
ScalarEvolution.cpp 131 WriteAsOperand(OS, cast<SCEVConstant>(this)->getValue(), false);
134 const SCEVTruncateExpr *Trunc = cast<SCEVTruncateExpr>(this);
141 const SCEVZeroExtendExpr *ZExt = cast<SCEVZeroExtendExpr>(this);
148 const SCEVSignExtendExpr *SExt = cast<SCEVSignExtendExpr>(this);
155 const SCEVAddRecExpr *AR = cast<SCEVAddRecExpr>(this);
175 const SCEVNAryExpr *NAry = cast<SCEVNAryExpr>(this);
194 const SCEVUDivExpr *UDiv = cast<SCEVUDivExpr>(this);
199 const SCEVUnknown *U = cast<SCEVUnknown>(this);
234 return cast<SCEVConstant>(this)->getType();
238 return cast<SCEVCastExpr>(this)->getType()
    [all...]
PHITransAddr.cpp 188 if (CastInst *Cast = dyn_cast<CastInst>(Inst)) {
189 if (!Cast->isSafeToSpeculativelyExecute()) return 0;
190 Value *PHIIn = PHITranslateSubExpr(Cast->getOperand(0), CurBB, PredBB, DT);
192 if (PHIIn == Cast->getOperand(0))
193 return Cast;
195 // Find an available version of this cast.
199 return AddAsInput(ConstantExpr::getCast(Cast->getOpcode(),
200 C, Cast->getType()));
207 if (CastI->getOpcode() == Cast->getOpcode() &&
208 CastI->getType() == Cast->getType() &
    [all...]
  /external/clang/include/clang/AST/
DeclTemplate.h 360 // Implement isa/cast/dyncast/etc.
813 // Implement isa/cast/dyncast/etc.
    [all...]
  /external/clang/lib/Index/
CommentToXML.cpp 110 const ParagraphComment *PC = cast<ParagraphComment>(Child);
121 const BlockCommandComment *BCC = cast<BlockCommandComment>(Child);
144 const ParamCommandComment *PCC = cast<ParamCommandComment>(Child);
156 const TParamCommandComment *TPCC = cast<TParamCommandComment>(Child);
168 MiscBlocks.push_back(cast<BlockCommandComment>(Child));
172 const VerbatimLineComment *VLC = cast<VerbatimLineComment>(Child);
    [all...]
  /external/llvm/lib/IR/
ValueTypes.cpp 102 return EVT::getEVT(cast<VectorType>(LLVMTy)->getElementType());
107 return cast<VectorType>(LLVMTy)->getNumElements();
289 return getIntegerVT(cast<IntegerType>(Ty)->getBitWidth());
299 VectorType *VTy = cast<VectorType>(Ty);
314 return getIntegerVT(Ty->getContext(), cast<IntegerType>(Ty)->getBitWidth());
316 VectorType *VTy = cast<VectorType>(Ty);
  /external/lua/src/
lstate.c 46 #define luai_makeseed() cast(unsigned int, time(NULL))
70 #define fromstate(L) (cast(LX *, cast(lu_byte *, (L)) - offsetof(LX, l)))
78 { size_t t = cast(size_t, e); \
261 L1 = &cast(LX *, luaM_newobject(L, LUA_TTHREAD, sizeof(LX)))->l;
299 LG *l = cast(LG *, (*f)(ud, NULL, LUA_TTHREAD, sizeof(LG)));
  /external/swiftshader/third_party/LLVM/lib/Target/PTX/
PTXISelLowering.cpp 153 ISD::CondCode CC = cast<CondCodeSDNode>(Op.getOperand(2))->get();
159 (cast<ConstantSDNode>(Op1)->getZExtValue() == 1 ||
160 cast<ConstantSDNode>(Op1)->isNullValue()) &&
173 const GlobalValue *GV = cast<GlobalAddressSDNode>(Op)->getGlobal();
368 const GlobalValue *GV = cast<GlobalAddressSDNode>(Callee)->getGlobal();
369 assert(cast<Function>(GV)->getCallingConv() == CallingConv::PTX_Device &&

Completed in 1637 milliseconds

<<21222324252627282930>>