/external/llvm/lib/Transforms/Vectorize/ |
D | LoadStoreVectorizer.cpp | 287 Instruction *OpB = dyn_cast<Instruction>(GEPB->getOperand(FinalIndex)); in isConsecutiveAccess() local 288 if (!OpA || !OpB || OpA->getOpcode() != OpB->getOpcode() || in isConsecutiveAccess() 289 OpA->getType() != OpB->getType()) in isConsecutiveAccess() 299 OpB = dyn_cast<Instruction>(OpB->getOperand(0)); in isConsecutiveAccess() 300 if (!OpA || !OpB || OpA->getType() != OpB->getType()) in isConsecutiveAccess() 307 if (OpB->getOpcode() == Instruction::Add && in isConsecutiveAccess() 308 isa<ConstantInt>(OpB->getOperand(1)) && in isConsecutiveAccess() 309 cast<ConstantInt>(OpB->getOperand(1))->getSExtValue() > 0) { in isConsecutiveAccess() 311 Safe = cast<BinaryOperator>(OpB)->hasNoSignedWrap(); in isConsecutiveAccess() 313 Safe = cast<BinaryOperator>(OpB)->hasNoUnsignedWrap(); in isConsecutiveAccess() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Vectorize/ |
D | LoadStoreVectorizer.cpp | 386 Instruction *OpB = dyn_cast<Instruction>(GTIB.getOperand()); in lookThroughComplexAddresses() local 387 if (!OpA || !OpB || OpA->getOpcode() != OpB->getOpcode() || in lookThroughComplexAddresses() 388 OpA->getType() != OpB->getType()) in lookThroughComplexAddresses() 395 std::swap(OpA, OpB); in lookThroughComplexAddresses() 411 OpB = dyn_cast<Instruction>(OpB->getOperand(0)); in lookThroughComplexAddresses() 412 if (!OpB || ValA->getType() != OpB->getType()) in lookThroughComplexAddresses() 419 if (OpB->getOpcode() == Instruction::Add && in lookThroughComplexAddresses() 420 isa<ConstantInt>(OpB->getOperand(1)) && in lookThroughComplexAddresses() 421 IdxDiff.sle(cast<ConstantInt>(OpB->getOperand(1))->getSExtValue())) { in lookThroughComplexAddresses() 423 Safe = cast<BinaryOperator>(OpB)->hasNoSignedWrap(); in lookThroughComplexAddresses() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/ |
D | Instructions.cpp | 373 CallInst *CallInst::Create(CallInst *CI, ArrayRef<OperandBundleDef> OpB, in Create() argument 377 auto *NewCI = CallInst::Create(CI->getCalledValue(), Args, OpB, CI->getName(), in Create() 407 ArrayRef<OperandBundleDef> OpB, in createMalloc() argument 459 MCall = CallInst::Create(MallocFunc, AllocSize, OpB, "malloccall", in createMalloc() 466 MCall = CallInst::Create(MallocFunc, AllocSize, OpB, "malloccall"); in createMalloc() 502 ArrayRef<OperandBundleDef> OpB, in CreateMalloc() argument 506 ArraySize, OpB, MallocF, Name); in CreateMalloc() 527 ArrayRef<OperandBundleDef> OpB, in CreateMalloc() argument 530 ArraySize, OpB, MallocF, Name); in CreateMalloc() 641 InvokeInst *InvokeInst::Create(InvokeInst *II, ArrayRef<OperandBundleDef> OpB, in Create() argument [all …]
|
/external/llvm/lib/IR/ |
D | Instructions.cpp | 320 CallInst *CallInst::Create(CallInst *CI, ArrayRef<OperandBundleDef> OpB, in Create() argument 324 auto *NewCI = CallInst::Create(CI->getCalledValue(), Args, OpB, CI->getName(), in Create() 445 ArrayRef<OperandBundleDef> OpB, in createMalloc() argument 497 MCall = CallInst::Create(MallocFunc, AllocSize, OpB, "malloccall", in createMalloc() 504 MCall = CallInst::Create(MallocFunc, AllocSize, OpB, "malloccall"); in createMalloc() 539 ArrayRef<OperandBundleDef> OpB, in CreateMalloc() argument 543 ArraySize, OpB, MallocF, Name); in CreateMalloc() 565 ArrayRef<OperandBundleDef> OpB, in CreateMalloc() argument 568 ArraySize, OpB, MallocF, Name); in CreateMalloc() 680 InvokeInst *InvokeInst::Create(InvokeInst *II, ArrayRef<OperandBundleDef> OpB, in Create() argument [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | TargetInstrInfo.cpp | 806 MachineOperand &OpB = Root.getOperand(OpIdx[Row][1]); in reassociateOps() local 812 unsigned RegB = OpB.getReg(); in reassociateOps()
|
/external/llvm/lib/CodeGen/ |
D | TargetInstrInfo.cpp | 696 MachineOperand &OpB = Root.getOperand(OpIdx[Row][1]); in reassociateOps() local 702 unsigned RegB = OpB.getReg(); in reassociateOps()
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonBitSimplify.cpp | 2361 const MachineOperand &OpB = P.getOperand(i+1); in PhiInfo() local 2362 if (OpB.getMBB() == &B) { in PhiInfo() 2366 PB = OpB.getMBB(); in PhiInfo()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/ |
D | HexagonBitSimplify.cpp | 2944 const MachineOperand &OpB = P.getOperand(i+1); in PhiInfo() local 2945 if (OpB.getMBB() == &B) { in PhiInfo() 2949 PB = OpB.getMBB(); in PhiInfo()
|