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

<<31323334353637383940>>

  /external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
SSAUpdater.cpp 206 Instruction *User = cast<Instruction>(U.getUser());
222 Instruction *User = cast<Instruction>(U.getUser());
368 SomeVal = cast<StoreInst>(Insts[0])->getOperand(0);
412 LiveInLoads.push_back(cast<LoadInst>(User));
431 LiveInLoads.push_back(cast<LoadInst>(BlockUses[i]));
513 replaceLoadWithValue(cast<LoadInst>(User), NewVal);
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
SjLjEHPrepare.cpp 161 auto *SelI = cast<Instruction>(SelVal);
230 cast<AllocaInst>(AfterAllocaInsPt)->isStaticAlloca())
269 cast<Instruction>(Inst.user_back())->getParent() == &BB &&
282 Instruction *UI = cast<Instruction>(U);
297 PHINode *PN = cast<PHINode>(U);
336 PHIsToDemote.insert(cast<PHINode>(PN));
ValueTypes.cpp 97 return EVT::getEVT(cast<VectorType>(LLVMTy)->getElementType());
102 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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
GlobalOpt.cpp 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.
370 !cast<Constant>(U->getOperand(1))->isNullValue())
423 cast<ConstantExpr>(U)->getOpcode() != Instruction::GetElementPtr))
554 cast<ConstantExpr>(GEP)->getOpcode()==Instruction::GetElementPtr)||
560 unsigned Val = cast<ConstantInt>(GEP->getOperand(2))->getZExtValue();
574 ConstantExpr::getGetElementPtr(NewTy, cast<Constant>(NewPtr), Idxs)
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
InstCombineVectorOps.cpp 105 PHIUser = cast<Instruction>(U);
123 PHINode *scalarPHI = cast<PHINode>(InsertNewInstWith(
135 BinaryOperator *B0 = cast<BinaryOperator>(PHIUser);
274 // Canonicalize extractelement(cast) -> cast(extractelement).
322 unsigned InsertedIdx = cast<ConstantInt>(IdxOp)->getZExtValue();
335 cast<ConstantInt>(EI->getOperand(1))->getZExtValue();
478 cast<ConstantInt>(EI->getOperand(1))->getZExtValue();
479 unsigned InsertedIdx = cast<ConstantInt>(IdxOp)->getZExtValue();
599 VectorType *VT = cast<VectorType>(InsElt.getType())
    [all...]
InstCombineShifts.cpp 174 SelectInst *SI = cast<SelectInst>(I);
184 PHINode *PN = cast<PHINode>(I);
274 Instruction *I = cast<Instruction>(V);
291 return foldShiftedShift(cast<BinaryOperator>(I), NumBits, isLeftShift,
304 PHINode *PN = cast<PHINode>(I);
356 // cast of lshr(shl(x,c1),c2) as well as other more complex cases.
390 ConstantExpr::getZExt(cast<Constant>(Op1), TrOp->getType());
513 cast<Constant>(Op0BO->getOperand(1)), Op1);
530 cast<Constant>(Op0BO->getOperand(0)), Op1);
557 cast<Constant>(TBO->getOperand(1)), Op1)
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
NaryReassociate.cpp 290 return tryReassociateBinaryOp(cast<BinaryOperator>(I));
292 return tryReassociateGEP(cast<GetElementPtrInst>(I));
328 return cast<IntegerType>(Index->getType())->getBitWidth() < PointerSizeInBits;
387 const SCEV *CandidateExpr = SE->getGEPExpr(cast<GEPOperator>(GEP),
396 // bitcast or pointer cast to make sure they have the same type, so that the
431 cast<GetElementPtrInst>(Builder.CreateGEP(Candidate, RHS));
541 Instruction *CandidateInstruction = cast<Instruction>(Candidate);
RewriteStatepointsForGC.cpp 520 ConstantPointerNull::get(cast<PointerType>(I->getType())), true);
527 assert(cast<PointerType>(Def->getType())->getAddressSpace() ==
528 cast<PointerType>(CI->getType())->getAddressSpace() &&
530 // If we find a cast instruction here, it means we've found a cast which is
531 // not simply a pointer cast (i.e. an inttoptr). We don't know how to
533 assert(!isa<CastInst>(Def) && "shouldn't find another cast here");
649 cast<Instruction>(V)->getMetadata("is_base_value")) {
    [all...]
InductiveRangeCheckElimination.cpp 381 extractRangeChecksFromCond(L, SE, cast<User>(Condition)->getOperandUse(0),
383 extractRangeChecksFromCond(L, SE, cast<User>(Condition)->getOperandUse(1),
415 unsigned BitWidth = cast<IntegerType>(IndexAddRec->getType())->getBitWidth();
515 Result.Header = cast<BasicBlock>(Map(Header));
516 Result.Latch = cast<BasicBlock>(Map(Latch));
517 Result.LatchBr = cast<BranchInst>(Map(LatchBr));
518 Result.LatchExit = cast<BasicBlock>(Map(LatchExit));
694 unsigned BitWidth = cast<IntegerType>(BoundSCEV->getType())->getBitWidth();
740 unsigned BitWidth = cast<IntegerType>(BoundSCEV->getType())->getBitWidth();
788 unsigned BitWidth = cast<IntegerType>(BoundSCEV->getType())->getBitWidth()
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
SSAUpdater.cpp 191 Instruction *User = cast<Instruction>(U.getUser());
208 Instruction *User = cast<Instruction>(U.getUser());
346 SomeVal = cast<StoreInst>(Insts[0])->getOperand(0);
385 LiveInLoads.push_back(cast<LoadInst>(User));
404 LiveInLoads.push_back(cast<LoadInst>(I));
483 replaceLoadWithValue(cast<LoadInst>(User), NewVal);
InlineFunction.cpp 125 PHINode *PHI = cast<PHINode>(I);
129 CallerLPad = cast<LandingPadInst>(I);
159 PHINode *phi = cast<PHINode>(I);
184 PHINode *OuterPHI = cast<PHINode>(I);
225 return cast<CatchSwitchInst>(EHPad)->getParentPad();
258 auto *CatchPad = cast<CatchPadInst>(HandlerBlock->getFirstNonPHI());
267 Instruction *ChildPad = cast<Instruction>(Child);
292 auto *CleanupPad = cast<CleanupPadInst>(CurrentPad);
305 Instruction *ChildPad = cast<Instruction>(U);
497 cast<InvokeInst>(U)->getUnwindDest()->getFirstNonPHI()) =
    [all...]
  /external/v8/src/
compilation-cache.cc 47 CompilationCacheTable::cast(tables_[generation]);
57 CompilationCacheTable::cast(tables_[0])->Age();
103 Handle<Script>(Script::cast(function_info->script()), isolate());
120 isolate(), Handle<String>::cast(name),
121 Handle<String>(String::cast(script->name()), isolate()));
234 Handle<FixedArray> data = Handle<FixedArray>::cast(result);
  /external/v8/src/compiler/
instruction.h 152 static OperandType* cast(InstructionOperand* op) { \
157 static const OperandType* cast(const InstructionOperand* op) { \
162 static OperandType cast(const InstructionOperand& op) { \
503 static LocationOperand* cast(InstructionOperand* op) { function in class:v8::internal::compiler::LocationOperand
508 static const LocationOperand* cast(const InstructionOperand* op) { function in class:v8::internal::compiler::LocationOperand
513 static LocationOperand cast(const InstructionOperand& op) { function in class:v8::internal::compiler::LocationOperand
560 !IsFloatingPoint(LocationOperand::cast(this)->representation());
565 IsFloatingPoint(LocationOperand::cast(this)->representation());
570 LocationOperand::cast(this)->location_kind() ==
577 !IsFloatingPoint(LocationOperand::cast(this)->representation())
    [all...]
  /external/clang/lib/AST/
Type.cpp 202 return cast<ArrayType>(getUnqualifiedDesugaredType())
229 const Class##Type *ty = cast<Class##Type>(this); \
248 const Class##Type *Ty = cast<Class##Type>(CurTy); \
277 const Class##Type *ty = cast<Class##Type>(split.Ty); \
316 const Class##Type *Ty = cast<Class##Type>(Cur); \
349 const Class##Type *Ty = cast<Class##Type>(Cur); \
445 return cast<RecordType>(getUnqualifiedDesugaredType());
464 return cast<RecordType>(getUnqualifiedDesugaredType());
    [all...]
  /external/llvm/lib/Analysis/
ScalarEvolution.cpp 140 cast<SCEVConstant>(this)->getValue()->printAsOperand(OS, false);
143 const SCEVTruncateExpr *Trunc = cast<SCEVTruncateExpr>(this);
150 const SCEVZeroExtendExpr *ZExt = cast<SCEVZeroExtendExpr>(this);
157 const SCEVSignExtendExpr *SExt = cast<SCEVSignExtendExpr>(this);
164 const SCEVAddRecExpr *AR = cast<SCEVAddRecExpr>(this);
184 const SCEVNAryExpr *NAry = cast<SCEVNAryExpr>(this);
211 const SCEVUDivExpr *UDiv = cast<SCEVUDivExpr>(this);
216 const SCEVUnknown *U = cast<SCEVUnknown>(this);
250 return cast<SCEVConstant>(this)->getType();
254 return cast<SCEVCastExpr>(this)->getType()
    [all...]
  /external/llvm/lib/Target/WebAssembly/
WebAssemblyFastISel.cpp 239 unsigned Idx = cast<ConstantInt>(Op)->getZExtValue();
257 cast<ConstantInt>(cast<AddOperator>(Op)->getOperand(1));
260 Op = cast<AddOperator>(Op)->getOperand(0);
278 const AllocaInst *AI = cast<AllocaInst>(Obj);
390 (isa<Argument>(V) && cast<Argument>(V)->hasZExtAttr()))
624 const CallInst *Call = cast<CallInst>(I);
717 const SelectInst *Select = cast<SelectInst>(I);
772 const TruncInst *Trunc = cast<TruncInst>(I);
791 const ZExtInst *ZExt = cast<ZExtInst>(I)
    [all...]
  /external/llvm/lib/Transforms/Scalar/
LoopIdiomRecognize.cpp 290 const SCEVConstant *ConstStride = cast<SCEVConstant>(StoreEv->getOperand(1));
523 cast<SCEVAddRecExpr>(SE->getSCEV(FirstStorePtr));
559 cast<SCEVAddRecExpr>(SE->getSCEV(SecondStorePtr));
625 const SCEVAddRecExpr *StoreEv = cast<SCEVAddRecExpr>(SE->getSCEV(StorePtr));
667 uint64_t SizeInBytes = cast<ConstantInt>(MSI->getLength())->getZExtValue();
850 const SCEVAddRecExpr *StoreEv = cast<SCEVAddRecExpr>(SE->getSCEV(StorePtr));
    [all...]
  /external/clang/lib/Sema/
SemaTemplateDeduction.cpp 356 D = D ? cast<ValueDecl>(D->getCanonicalDecl()) : nullptr;
513 cast<ArrayType>(T)->getElementType());
529 TemplateTemplateParmDecl *TTP = cast<TemplateTemplateParmDecl>(ND);
551 return TemplateParameter(cast<TemplateTemplateParmDecl>(D));
    [all...]
  /external/llvm/lib/IR/
Type.cpp 51 return isIntegerTy() && cast<IntegerType>(this)->getBitWidth() == Bitwidth;
55 // Identity cast means no change so return true
117 case Type::IntegerTyID: return cast<IntegerType>(this)->getBitWidth();
118 case Type::VectorTyID: return cast<VectorType>(this)->getBitWidth();
147 return cast<StructType>(this)->isSized(Visited);
240 case 1: return cast<IntegerType>(Type::getInt1Ty(C));
241 case 8: return cast<IntegerType>(Type::getInt8Ty(C));
242 case 16: return cast<IntegerType>(Type::getInt16Ty(C));
243 case 32: return cast<IntegerType>(Type::getInt32Ty(C));
244 case 64: return cast<IntegerType>(Type::getInt64Ty(C))
    [all...]
  /external/llvm/tools/bugpoint/
CrashDebugger.cpp 152 GlobalVariable* CMGV = cast<GlobalVariable>(VMap[GVs[i]]);
219 auto *OldUsedVal = cast<ConstantArray>(UsedVar->getInitializer());
222 Constant *Op = cast<Constant>(V->stripPointerCasts());
224 Used.push_back(cast<Constant>(V));
248 Function *CMF = cast<Function>(VMap[Funcs[i]]);
282 PointerType *Ty = cast<PointerType>(Alias.getType());
290 PointerType *Ty = cast<PointerType>(I.getType());
355 Blocks.insert(cast<BasicBlock>(VMap[BBs[i]]));
418 Function *F = cast<Function>(GST.lookup(BlockInfo[i].first));
422 BBs.push_back(cast<BasicBlock>(V))
    [all...]
  /external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
InstCombineShifts.cpp 164 SelectInst *SI = cast<SelectInst>(I);
172 PHINode *PN = cast<PHINode>(I);
197 Instruction *I = cast<Instruction>(V);
211 BinaryOperator *BO = cast<BinaryOperator>(I);
215 ConstantInt *CI = cast<ConstantInt>(BO->getOperand(1));
253 BinaryOperator *BO = cast<BinaryOperator>(I);
256 ConstantInt *CI = cast<ConstantInt>(BO->getOperand(1));
300 PHINode *PN = cast<PHINode>(I);
317 // cast of lshr(shl(x,c1),c2) as well as other more complex cases.
434 cast<BinaryOperator>(Op0BOOp1)->getOperand(0)->hasOneUse())
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
AMDGPUPromoteAlloca.cpp 301 GetElementPtrInst *GEP = cast<GetElementPtrInst>(Ptr);
328 LoadInst *LI = cast<LoadInst>(Inst);
337 StoreInst *SI = cast<StoreInst>(Inst);
373 if (!canVectorizeInst(cast<Instruction>(AllocaUser), Alloca))
392 if (!canVectorizeInst(cast<Instruction>(GEPUser), AllocaUser))
405 Instruction *Inst = cast<Instruction>(V);
410 Value *Ptr = cast<LoadInst>(Inst)->getPointerOperand();
423 StoreInst *SI = cast<StoreInst>(Inst);
517 Instruction *UseInst = cast<Instruction>(User);
851 IntrinsicInst *Intr = cast<IntrinsicInst>(Call)
    [all...]
  /external/v8/src/objects/
ordered-hash-table.cc 31 Handle<Derived> table = Handle<Derived>::cast(backing_store);
126 Handle<FixedArray> result = Handle<FixedArray>::cast(table);
229 DCHECK_GE(Smi::cast(hash)->value(), 0);
577 return SmallTable::Delete(Handle<SmallTable>::cast(table), key);
583 return LargeTable::Delete(Handle<LargeTable>::cast(table), key);
590 return Handle<SmallTable>::cast(table)->HasKey(isolate, key);
594 return LargeTable::HasKey(isolate, LargeTable::cast(*table), *key);
650 Handle<SmallOrderedHashMap>::cast(table);
661 return OrderedHashMap::Add(isolate, Handle<OrderedHashMap>::cast(table), key,
670 Handle<SmallOrderedHashSet>::cast(table)
    [all...]
  /external/swiftshader/src/Reactor/
LLVMReactor.cpp 123 llvm::VectorType *ty = llvm::cast<llvm::VectorType>(x->getType());
153 llvm::VectorType *srcTy = llvm::cast<llvm::VectorType>(op->getType());
154 llvm::VectorType *dstTy = llvm::cast<llvm::VectorType>(dstType);
210 llvm::VectorType *ty = llvm::cast<llvm::VectorType>(x->getType());
293 llvm::VectorType *ty = llvm::cast<llvm::VectorType>(x->getType());
302 llvm::VectorType *ty = llvm::cast<llvm::VectorType>(x->getType());
311 llvm::VectorType *ty = llvm::cast<llvm::VectorType>(x->getType());
320 llvm::VectorType *ty = llvm::cast<llvm::VectorType>(x->getType());
344 llvm::VectorType *ty = llvm::cast<llvm::VectorType>(x->getType());
361 llvm::IntegerType *intTy = llvm::cast<llvm::IntegerType>(ty->getElementType())
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
HexagonISelDAGToDAG.cpp 71 int32_t Inc = cast<ConstantSDNode>(Offset.getNode())->getSExtValue();
192 unsigned IntNo = cast<ConstantSDNode>(IntN->getOperand(1))->getZExtValue();
207 auto Inc = cast<ConstantSDNode>(IntN->getOperand(5));
284 switch (cast<ConstantSDNode>(C->getOperand(1))->getZExtValue()) {
325 unsigned IntNo = cast<ConstantSDNode>(IntN->getOperand(1))->getZExtValue();
348 MemOp[0] = cast<MemIntrinsicSDNode>(IntN)->getMemOperand();
367 unsigned IntNo = cast<ConstantSDNode>(IntN->getOperand(1))->getZExtValue();
393 auto Inc = cast<ConstantSDNode>(IntN->getOperand(3));
428 auto Inc = cast<ConstantSDNode>(IntN->getOperand(3));
450 LoadSDNode *LD = cast<LoadSDNode>(N)
    [all...]

Completed in 1365 milliseconds

<<31323334353637383940>>