Searched refs:CastOp (Results 1 - 10 of 10) sorted by relevance
/external/llvm/unittests/Analysis/ |
H A D | ValueTrackingTest.cpp | 55 Instruction::CastOps CastOp; local 56 SelectPatternResult R = matchSelectPattern(A, LHS, RHS, &CastOp);
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
H A D | InstCombineLoadStoreAlloca.cpp | 92 Value *CastOp = CI->getOperand(0); local 96 if (PointerType *SrcTy = dyn_cast<PointerType>(CastOp->getType())) { 110 if (Constant *CSrc = dyn_cast<Constant>(CastOp)) 115 CastOp = ConstantExpr::getGetElementPtr(CSrc, Idxs); 116 SrcTy = cast<PointerType>(CastOp->getType()); 133 IC.Builder->CreateLoad(CastOp, LI.isVolatile(), CI->getName()); 258 Value *CastOp = CI->getOperand(0); local 261 PointerType *SrcTy = dyn_cast<PointerType>(CastOp->getType()); 331 CastOp = IC.Builder->CreateInBoundsGEP(CastOp, NewGEPIndice [all...] |
/external/llvm/lib/Analysis/ |
H A D | BasicAliasAnalysis.cpp | 270 Value *CastOp = cast<CastInst>(V)->getOperand(0); local 272 unsigned SmallWidth = CastOp->getType()->getPrimitiveSizeInBits(); 275 GetLinearExpression(CastOp, Scale, Offset, ZExtBits, SExtBits, DL, 295 Result = CastOp; 308 Result = CastOp;
|
H A D | ValueTracking.cpp | 3840 Instruction::CastOps *CastOp) { 3845 *CastOp = CI->getOpcode(); 3900 Instruction::CastOps *CastOp) { 3921 if (CastOp && CmpLHS->getType() != TrueVal->getType()) { 3922 if (Value *C = lookThroughCast(CmpI, TrueVal, FalseVal, CastOp)) 3926 if (Value *C = lookThroughCast(CmpI, FalseVal, TrueVal, CastOp)) 3839 lookThroughCast(CmpInst *CmpI, Value *V1, Value *V2, Instruction::CastOps *CastOp) argument 3899 matchSelectPattern(Value *V, Value *&LHS, Value *&RHS, Instruction::CastOps *CastOp) argument
|
H A D | ScalarEvolution.cpp | 4678 Optional<unsigned> CastOp; 4697 CastOp = SCast->getSCEVType(); 4716 if (CastOp.hasValue()) 4717 switch (*CastOp) { 6642 if (Constant *CastOp = BuildConstantFromSCEV(SS->getOperand())) 6643 return ConstantExpr::getSExt(CastOp, SS->getType()); 6648 if (Constant *CastOp = BuildConstantFromSCEV(SZ->getOperand())) 6649 return ConstantExpr::getZExt(CastOp, SZ->getType()); 6654 if (Constant *CastOp = BuildConstantFromSCEV(ST->getOperand())) 6655 return ConstantExpr::getTrunc(CastOp, S [all...] |
/external/llvm/include/llvm/Analysis/ |
H A D | ValueTracking.h | 434 /// If CastOp is not nullptr, also match MIN/MAX idioms where the type does 437 /// type of LHS and RHS into the type of V is returned in CastOp. 444 /// -> LHS = %a, RHS = i32 4, *CastOp = Instruction::SExt 447 Instruction::CastOps *CastOp = nullptr);
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
H A D | BasicAliasAnalysis.cpp | 225 Value *CastOp = cast<CastInst>(V)->getOperand(0); local 227 unsigned SmallWidth = CastOp->getType()->getPrimitiveSizeInBits(); 232 Value *Result = GetLinearExpression(CastOp, Scale, Offset, Extension,
|
H A D | ScalarEvolution.cpp | 6704 const SCEV *CastOp = Cast->getOperand(); 6705 return Op == CastOp || hasOperand(CastOp, Op);
|
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineSelect.cpp | 1104 Instruction::CastOps CastOp; local 1105 SelectPatternResult SPR = matchSelectPattern(&SI, LHS, RHS, &CastOp); 1124 Value *NewSI = Builder->CreateCast(CastOp,
|
/external/llvm/lib/Bitcode/Reader/ |
H A D | BitcodeReader.cpp | 4572 auto CastOp = (Instruction::CastOps)Opc; local 4573 if (!CastInst::castIsValid(CastOp, Op, ResTy)) 4575 I = CastInst::Create(CastOp, Op, ResTy);
|
Completed in 348 milliseconds