HomeSort by relevance Sort by last modified time
    Searched defs:Cast (Results 1 - 25 of 60) sorted by null

1 2 3

  /external/llvm/lib/Target/NVPTX/
NVPTXFavorNonGenericAddrSpaces.cpp 125 Operator *Cast = dyn_cast<Operator>(V);
126 if (Cast == nullptr || Cast->getOpcode() != Instruction::AddrSpaceCast)
129 Value *Src = Cast->getOperand(0);
130 PointerType *SrcTy = cast<PointerType>(Src->getType());
131 PointerType *DestTy = cast<PointerType>(Cast->getType());
154 Operator *Cast = cast<Operator>(NewOperand);
164 GEP->getSourceElementType(), Cast->getOperand(0), Indices
    [all...]
  /external/v8/test/cctest/compiler/
call-tester.h 86 static uintptr_t Cast(R r) { return static_cast<uintptr_t>(r); }
91 static uintptr_t Cast(int* r) { return reinterpret_cast<uintptr_t>(r); }
96 static uintptr_t Cast(void* r) { return reinterpret_cast<uintptr_t>(r); }
106 static int64_t Cast(int32_t r) { return static_cast<int64_t>(r); }
112 static int64_t Cast(uint32_t r) {
241 CallSimulator(FUNCTION_ADDR(f), ParameterTraits<P1>::Cast(p1)));
246 ParameterTraits<P1>::Cast(p1),
247 ParameterTraits<P2>::Cast(p2)));
252 FUNCTION_ADDR(f), ParameterTraits<P1>::Cast(p1),
253 ParameterTraits<P2>::Cast(p2), ParameterTraits<P3>::Cast(p3)))
    [all...]
  /external/webrtc/webrtc/base/
window.h 43 static WindowId Cast(uint64_t id) {
84 static DesktopId Cast(int id, int index) {
  /external/javassist/src/main/javassist/expr/
Cast.java 24 * Explicit type cast.
26 public class Cast extends Expr {
30 protected Cast(int pos, CodeIterator i, CtClass declaring, MethodInfo m) {
35 * Returns the method or constructor containing the type cast
42 * type-cast expression.
51 * Returns the source file containing the type-cast expression.
61 * the type specified by the cast.
82 * Replaces the explicit cast operator with the bytecode derived from
150 + "for cast");
  /external/llvm/lib/Transforms/Utils/
SimplifyIndVar.cpp 118 ConstantInt *D = cast<ConstantInt>(UseInst->getOperand(1));
121 uint32_t BitWidth = cast<IntegerType>(UseInst->getType())->getBitWidth();
204 for (Value *Incoming : cast<PHINode>(IVOperand)->incoming_values()) {
377 unsigned BitWidth = cast<IntegerType>(BO->getType())->getBitWidth();
481 Instruction *UI = cast<Instruction>(U);
580 CastInst *Cast = dyn_cast<CastInst>(UseOper.first);
581 if (V && Cast) {
582 V->visitCast(Cast);
611 Changed |= simplifyUsersOfIV(cast<PHINode>(I), SE, DT, LI, Dead);
LoopUtils.cpp 77 Instruction *I, *J = cast<Instruction>(Phi->use_begin()->getUser());
125 CastInst *Cast = dyn_cast<CastInst>(J);
127 if (!Cast || !Cast->hasOneUse() || !(isa<ZExtInst>(J) || IsSExtInst))
132 unsigned SrcSize = Cast->getSrcTy()->getPrimitiveSizeInBits();
149 CI.insert(Cast);
286 Instruction *UI = cast<Instruction>(U);
722 auto *Use = cast<Instruction>(U);
  /frameworks/compile/slang/
slang_rs_foreach_lowering.cpp 335 nullptr, // C++ cast path
352 clang::CStyleCastExpr* Cast =
362 CE->setArg(1, Cast);
  /system/tools/aidl/
ast_java.cpp 151 : lvalue(l), rvalue(r), cast(NULL) {}
154 : lvalue(l), rvalue(r), cast(c) {}
159 if (this->cast != NULL) {
160 to->Write("(%s)", this->cast->JavaType().c_str());
268 Cast::Cast(const Type* t, Expression* e) : type(t), expression(e) {}
270 void Cast::Write(CodeWriter* to) const {
278 : lvalue(l), cast(c), rvalue(r) {}
286 if (this->cast != NULL) {
287 to->Write("(%s)", this->cast->JavaType().c_str())
    [all...]
ast_java.h 152 const Type* cast; member in struct:android::aidl::java::Assignment
155 Assignment(Variable* lvalue, Expression* rvalue, const Type* cast);
223 struct Cast : public Expression {
227 Cast() = default;
228 Cast(const Type* type, Expression* expression);
229 virtual ~Cast() = default;
235 const Type* cast = nullptr; member in struct:android::aidl::java::VariableDeclaration
240 const Type* cast = NULL);
  /external/llvm/lib/IR/
AutoUpgrade.cpp 297 "cast");
320 "cast");
334 "cast");
357 "cast");
407 "cast");
482 Value *Cast = Builder.CreateBitCast(CI->getArgOperand(0),
484 Value *Load = Builder.CreateLoad(EltTy, Cast);
491 VectorType *SrcTy = cast<VectorType>(CI->getArgOperand(0)->getType());
492 VectorType *DstTy = cast<VectorType>(CI->getType());
522 unsigned Shift = cast<ConstantInt>(CI->getArgOperand(1))->getZExtValue()
    [all...]
  /external/llvm/lib/CodeGen/
StackColoring.cpp 466 << cast<DILocalVariable>(VI.Var)->getName() << "].\n");
488 BitCastInst *Cast = new BitCastInst(Inst, From->getType());
489 Cast->insertAfter(Inst);
490 Inst = Cast;
  /external/llvm/lib/Transforms/InstCombine/
InstCombineLoadStoreAlloca.cpp 67 Instruction *I = cast<Instruction>(U.getUser());
293 Constant *TheSrc = cast<Constant>(Copy->getSource());
294 Constant *Cast
296 Instruction *NewI = ReplaceInstUsesWith(AI, Cast);
313 /// loaded *value* type. This will convert it to a pointer, cast the operand to
362 auto *ITy = cast<IntegerType>(NewTy);
364 ConstantPointerNull::get(cast<PointerType>(Ptr->getType())), ITy);
484 auto *SI = cast<StoreInst>(*UI++);
510 // cast to other types.
696 cast<PointerType>(GEPI->getOperand(0)->getType()->getScalarType()
    [all...]
  /external/llvm/lib/Analysis/
ConstantFolding.cpp 61 // Handle a vector->integer cast.
104 // If this is a scalar -> vector cast, convert the input into a <1 x scalar>
403 PointerType *PTy = cast<PointerType>(C->getType());
495 // If the type sizes are the same and a cast is legal, just directly
496 // cast the constant.
498 Instruction::CastOps Cast = Instruction::BitCast;
499 // If we are going from a pointer to int or vice versa, we spell the cast
502 Cast = Instruction::IntToPtr;
504 Cast = Instruction::PtrToInt;
506 if (CastInst::castIsValid(Cast, C, DestTy)
    [all...]
  /external/v8/src/arm64/
instructions-arm64.h 403 template<typename T> V8_INLINE static Instruction* Cast(T src) {
  /external/vixl/src/vixl/a64/
debugger-a64.cc 95 static RegisterToken* Cast(Token* tok) {
117 static FPRegisterToken* Cast(Token* tok) {
141 static IdentifierToken* Cast(Token* tok) {
159 static AddressToken* Cast(Token* tok) {
176 static IntegerToken* Cast(Token* tok) {
208 static FormatToken* Cast(Token* tok) {
259 explicit DebugCommand(Token* name) : name_(IdentifierToken::Cast(name)) {}
1134 const char* name = IdentifierToken::Cast(args[0])->value();
1237 count = IntegerToken::Cast(first);
    [all...]
instructions-a64.h 371 // Cast the address using a C-style cast. A reinterpret_cast would be
372 // appropriate, but it can't cast one integral type to another.
410 template<typename T> static Instruction* Cast(T src) {
  /external/clang/include/clang/Analysis/Analyses/
ThreadSafetyTIL.h 99 /// Opcode for cast operations.
    [all...]
  /external/clang/utils/TableGen/
NeonEmitter.cpp 1019 // Cast to vector of 8-bit elements.
    [all...]
  /external/gmock/include/gmock/
gmock-matchers.h 492 static Matcher<T> Cast(M polymorphic_matcher_or_value) {
540 static Matcher<T> Cast(const Matcher<U>& source_matcher) {
575 static Matcher<T> Cast(const Matcher<T>& matcher) { return matcher; }
586 return internal::MatcherCastImpl<T, M>::Cast(matcher);
602 static inline Matcher<T> Cast(M polymorphic_matcher_or_value) {
603 return internal::MatcherCastImpl<T, M>::Cast(polymorphic_matcher_or_value);
616 static inline Matcher<T> Cast(const Matcher<U>& matcher) {
641 return SafeMatcherCastImpl<T>::Cast(polymorphic_matcher);
    [all...]
  /external/google-breakpad/src/testing/include/gmock/
gmock-matchers.h 404 static Matcher<T> Cast(M polymorphic_matcher_or_value) {
452 static Matcher<T> Cast(const Matcher<U>& source_matcher) {
487 static Matcher<T> Cast(const Matcher<T>& matcher) { return matcher; }
498 return internal::MatcherCastImpl<T, M>::Cast(matcher);
514 static inline Matcher<T> Cast(M polymorphic_matcher_or_value) {
515 return internal::MatcherCastImpl<T, M>::Cast(polymorphic_matcher_or_value);
528 static inline Matcher<T> Cast(const Matcher<U>& matcher) {
553 return SafeMatcherCastImpl<T>::Cast(polymorphic_matcher);
    [all...]
  /external/llvm/lib/Transforms/IPO/
GlobalOpt.cpp 124 Types.push_back(cast<PointerType>(GV->getType())->getElementType());
134 SequentialType *STy = cast<SequentialType>(Ty);
139 StructType *STy = cast<StructType>(Ty);
171 Instruction *I = cast<Instruction>(V);
288 User *U = cast<User>(UV);
310 // Pointer cast, delete any stores and memsets to the global.
382 !cast<Constant>(GEPI->getOperand(1))->isNullValue())
398 cast<ConstantExpr>(U)->getOpcode() != Instruction::GetElementPtr))
406 !cast<Constant>(U->getOperand(1))->isNullValue() ||
416 ConstantInt *Idx = cast<ConstantInt>(U->getOperand(2))
    [all...]
  /external/opencv3/modules/imgproc/src/
filter.cpp     [all...]
  /external/clang/lib/CodeGen/
CGObjC.cpp 42 return llvm::ConstantPointerNull::get(cast<llvm::PointerType>(type));
85 // and cast value to correct type
96 // Cast type encoding to correct type
99 llvm::Value *Cast = Builder.CreateBitCast(GV, ConvertType(EncodingQT));
101 Args.add(RValue::get(Cast), EncodingQT);
119 DLE = cast<ObjCDictionaryLiteral>(E);
261 // We have applied a substitution. Cast the rvalue appropriately.
445 GetAddrOfLocalVar(cast<ObjCMethodDecl>(CurCodeDecl)->getSelfDecl());
452 const ObjCMethodDecl *OMD = cast<ObjCMethodDecl>(CurFuncDecl);
473 GetAddrOfLocalVar(cast<ObjCMethodDecl>(CurCodeDecl)->getSelfDecl())
    [all...]
ItaniumCXXABI.cpp 50 return cast<ItaniumMangleContext>(CodeGen::CGCXXABI::getMangleContext());
535 cast<CXXRecordDecl>(MPT->getClass()->getAs<RecordType>()->getDecl());
554 // Apply the adjustment and cast back to the original struct type
580 // Cast the adjusted this to a pointer to vtable pointer and load.
624 // Cast to char*.
631 // Cast the address to the appropriate pointer type, adopting the
674 return EmitMemberPointerConversion(E, cast<llvm::Constant>(src));
702 uint64_t offset = cast<llvm::ConstantInt>(adj)->getZExtValue();
750 uint64_t offset = cast<llvm::ConstantInt>(adj)->getZExtValue();
    [all...]
  /external/llvm/lib/Transforms/Scalar/
LoopStrengthReduce.cpp 761 return isHighCostExpansion(cast<SCEVTruncateExpr>(S)->getOperand(),
764 return isHighCostExpansion(cast<SCEVZeroExtendExpr>(S)->getOperand(),
767 return isHighCostExpansion(cast<SCEVSignExtendExpr>(S)->getOperand(),
    [all...]

Completed in 1181 milliseconds

1 2 3