Home
last modified time | relevance | path

Searched refs:CreateOr (Results 1 – 25 of 33) sorted by relevance

12

/external/llvm/lib/CodeGen/
DIntrinsicLowering.cpp180 V = Builder.CreateOr(Tmp1, Tmp2, "bswap.i16"); in LowerBSWAP()
198 Tmp4 = Builder.CreateOr(Tmp4, Tmp3, "bswap.or1"); in LowerBSWAP()
199 Tmp2 = Builder.CreateOr(Tmp2, Tmp1, "bswap.or2"); in LowerBSWAP()
200 V = Builder.CreateOr(Tmp4, Tmp2, "bswap.i32"); in LowerBSWAP()
247 Tmp8 = Builder.CreateOr(Tmp8, Tmp7, "bswap.or1"); in LowerBSWAP()
248 Tmp6 = Builder.CreateOr(Tmp6, Tmp5, "bswap.or2"); in LowerBSWAP()
249 Tmp4 = Builder.CreateOr(Tmp4, Tmp3, "bswap.or3"); in LowerBSWAP()
250 Tmp2 = Builder.CreateOr(Tmp2, Tmp1, "bswap.or4"); in LowerBSWAP()
251 Tmp8 = Builder.CreateOr(Tmp8, Tmp6, "bswap.or5"); in LowerBSWAP()
252 Tmp4 = Builder.CreateOr(Tmp4, Tmp2, "bswap.or6"); in LowerBSWAP()
[all …]
/external/llvm/lib/Transforms/Utils/
DIntegerDivision.cpp211 Value *Ret0_3 = Builder.CreateOr(Ret0_1, Ret0_2); in generateUnsignedDivisionCode()
216 Value *Ret0 = Builder.CreateOr(Ret0_3, Ret0_4); in generateUnsignedDivisionCode()
219 Value *EarlyRet = Builder.CreateOr(Ret0, RetDividend); in generateUnsignedDivisionCode()
269 Value *Tmp7 = Builder.CreateOr(Tmp5, Tmp6); in generateUnsignedDivisionCode()
271 Value *Q_1 = Builder.CreateOr(Carry_1, Tmp8); in generateUnsignedDivisionCode()
291 Value *Q_4 = Builder.CreateOr(Carry_2, Tmp13); in generateUnsignedDivisionCode()
DBypassSlowDivision.cpp158 Value *OrV = MainBuilder.CreateOr(Dividend, Divisor); in insertFastDiv()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp153 Value *Or = Builder->CreateOr(X, Together); in OptAndOp()
166 return BinaryOperator::CreateOr(And, OpRHS); in OptAndOp()
642 Value* newOr = Builder->CreateOr(B, D); in foldLogOpOfMaskedICmps()
653 Value* newOr = Builder->CreateOr(B, D); in foldLogOpOfMaskedICmps()
695 Value *newOr1 = Builder->CreateOr(B, D); in foldLogOpOfMaskedICmps()
736 Value *NewOr = Builder->CreateOr(Val, Val2); in FoldAndOfICmps()
742 Value *NewOr = Builder->CreateOr(Val, Val2); in FoldAndOfICmps()
1135 Value *Or = Builder->CreateOr(Op0NotVal, Op1NotVal, in visitAnd()
1490 Value *NewOr = Builder->CreateOr(Val, Val2); in FoldOrOfICmps()
1748 return BinaryOperator::CreateOr(NewOp, V1); in FoldOrWithConstants()
[all …]
DInstCombineSelect.cpp481 return ReplaceInstUsesWith(SI, Builder->CreateOr(AShr, C1)); in visitSelectInstWithICmp()
673 return BinaryOperator::CreateOr(CondVal, FalseVal); in visitSelectInst()
685 return BinaryOperator::CreateOr(NotCond, TrueVal); in visitSelectInst()
691 return BinaryOperator::CreateOr(CondVal, FalseVal); in visitSelectInst()
700 return BinaryOperator::CreateOr(TrueVal, FalseVal); in visitSelectInst()
DInstCombineAddSub.cpp1006 return BinaryOperator::CreateOr(LHS, RHS); in visitAdd()
1130 return BinaryOperator::CreateOr(A, B); in visitAdd()
1135 return BinaryOperator::CreateOr(A, B); in visitAdd()
DInstCombineSimplifyDemanded.cpp324 BinaryOperator::CreateOr(I->getOperand(0), I->getOperand(1), in SimplifyDemandedUseBits()
523 BinaryOperator::CreateOr(I->getOperand(0), I->getOperand(1), in SimplifyDemandedUseBits()
DInstCombineCompares.cpp392 return BinaryOperator::CreateOr(C1, C2); in FoldCmpLoadFromIndexedGlobal()
1270 Op = BinaryOperator::CreateOr(ICIP, ICIQ); in visitICmpInstWithInstAndIntCst()
1905 return BinaryOperator::CreateOr(Not, Op1); in visitICmpInst()
1912 return BinaryOperator::CreateOr(Not, Op0); in visitICmpInst()
/external/llvm/lib/Transforms/Instrumentation/
DBoundsChecking.cpp159 Value *Or = Builder->CreateOr(Cmp2, Cmp3); in instrument()
162 Or = Builder->CreateOr(Cmp1, Or); in instrument()
DMemorySanitizer.cpp963 setShadow(&I, IRB.CreateOr(S1S2, IRB.CreateOr(V1S2, S1V2))); in visitAnd()
985 setShadow(&I, IRB.CreateOr(S1S2, IRB.CreateOr(V1S2, S1V2))); in visitOr()
1023 Shadow = IRB.CreateOr(Shadow, OpShadow, "_msprop"); in Add()
1155 Value *Sc = IRB.CreateOr(Sa, Sb); in handleEqualityComparison()
1182 IRB.CreateOr(IRB.CreateAnd(A, IRB.CreateNot(SaOtherBits)), SaSignBit); in getLowestPossibleValue()
1199 IRB.CreateOr(IRB.CreateAnd(A, IRB.CreateNot(SaSignBit)), SaOtherBits); in getHighestPossibleValue()
1202 return IRB.CreateOr(A, Sa); in getHighestPossibleValue()
1310 setShadow(&I, IRB.CreateOr(Shift, S2Conv)); in handleShift()
DAddressSanitizer.cpp553 return IRB.CreateOr(Shadow, ConstantInt::get(IntptrTy, Mapping.Offset)); in memToShadow()
/external/llvm/include/llvm/Support/
DNoFolder.h140 Instruction *CreateOr(Constant *LHS, Constant *RHS) const { in CreateOr() function
141 return BinaryOperator::CreateOr(LHS, RHS); in CreateOr()
DConstantFolder.h90 Constant *CreateOr(Constant *LHS, Constant *RHS) const { in CreateOr() function
DTargetFolder.h102 Constant *CreateOr(Constant *LHS, Constant *RHS) const { in CreateOr() function
/external/llvm/lib/Transforms/Scalar/
DLowerAtomic.cpp65 Res = Builder.CreateOr(Orig, Val); in LowerAtomicRMWInst()
DGVN.cpp1133 Val = Builder.CreateOr(Val, ShVal); in GetMemInstValueForLoad()
1140 Val = Builder.CreateOr(OneElt, ShVal); in GetMemInstValueForLoad()
DScalarReplAggregates.cpp1011 SV = Builder.CreateOr(Old, SV, "ins"); in ConvertScalar_InsertValue()
2524 ResultVal = BinaryOperator::CreateOr(SrcField, ResultVal, "", LI); in RewriteLoadUserOfWholeAlloca()
/external/llvm/include/llvm/IR/
DIRBuilder.h760 Value *CreateOr(Value *LHS, Value *RHS, const Twine &Name = "") {
765 return Insert(Folder.CreateOr(LC, RC), Name);
767 return Insert(BinaryOperator::CreateOr(LHS, RHS), Name);
769 Value *CreateOr(Value *LHS, const APInt &RHS, const Twine &Name = "") {
770 return CreateOr(LHS, ConstantInt::get(LHS->getType(), RHS), Name);
772 Value *CreateOr(Value *LHS, uint64_t RHS, const Twine &Name = "") {
773 return CreateOr(LHS, ConstantInt::get(LHS->getType(), RHS), Name);
/external/llvm/examples/BrainF/
DBrainF.cpp257 CreateOr(test_0, test_1, testreg); in readloop()
/external/llvm/include/llvm/MC/
DMCExpr.h416 static const MCBinaryExpr *CreateOr(const MCExpr *LHS, const MCExpr *RHS, in CreateOr() function
/external/clang/lib/CodeGen/
DCGExprScalar.cpp446 return Builder.CreateOr(Ops.LHS, Ops.RHS, "or"); in EmitOr()
785 return Builder.CreateOr(Src.first, Src.second, "tobool"); in EmitComplexToScalarConversion()
2044 llvm::Value *Overflow = Builder.CreateOr(LHSCmp, RHSCmp, "or"); in EmitUndefinedBehaviorIntegerDivAndRemCheck()
2718 Result = Builder.CreateOr(ResultR, ResultI, "or.ri"); in EmitCompare()
2864 Value *Or = Builder.CreateOr(LHS, RHS); in VisitBinLOr()
3024 llvm::Value *tmp5 = Builder.CreateOr(tmp3, tmp4, "cond"); in VisitAbstractConditionalOperator()
DItaniumCXXABI.cpp659 llvm::Value *OrAdj = Builder.CreateOr(LAdj, RAdj, "or.adj"); in EmitMemberPointerComparison()
701 Result = Builder.CreateOr(Result, IsVirtual); in EmitMemberPointerIsNotNull()
DCGExprCXX.cpp730 hasOverflow = CGF.Builder.CreateOr(hasOverflow, in EmitCXXNewAllocSize()
756 hasOverflow = CGF.Builder.CreateOr(hasOverflow, overflowed); in EmitCXXNewAllocSize()
795 hasOverflow = CGF.Builder.CreateOr(hasOverflow, overflowed); in EmitCXXNewAllocSize()
/external/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp1122 IsConflict = ChkBuilder.CreateOr(MemoryRuntimeCheck, IsConflict, in addRuntimeCheck()
1828 BlockMask[part] = Builder.CreateOr(BlockMask[part], EM[part]); in createBlockInMask()
/external/llvm/lib/Target/NVPTX/
DNVPTXAsmPrinter.cpp243 case Instruction::Or: return MCBinaryExpr::CreateOr (LHS, RHS, Ctx); in LowerConstant()

12