Home
last modified time | relevance | path

Searched refs:CI (Results 1 – 25 of 1432) sorted by relevance

12345678910>>...58

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp60 static bool isCallingConvCCompatible(CallInst *CI) { in isCallingConvCCompatible() argument
61 switch(CI->getCallingConv()) { in isCallingConvCCompatible()
72 if (Triple(CI->getModule()->getTargetTriple()).isiOS()) in isCallingConvCCompatible()
75 auto *FuncTy = CI->getFunctionType(); in isCallingConvCCompatible()
104 static bool callHasFloatingPointArgument(const CallInst *CI) { in callHasFloatingPointArgument() argument
105 return any_of(CI->operands(), [](const Use &OI) { in callHasFloatingPointArgument()
110 static bool callHasFP128Argument(const CallInst *CI) { in callHasFP128Argument() argument
111 return any_of(CI->operands(), [](const Use &OI) { in callHasFP128Argument()
116 static Value *convertStrToNumber(CallInst *CI, StringRef &Str, int64_t Base) { in convertStrToNumber() argument
135 if (!isIntN(CI->getType()->getPrimitiveSizeInBits(), Result)) in convertStrToNumber()
[all …]
DLibCallsShrinkWrap.cpp78 void visitCallInst(CallInst &CI) { checkCandidate(CI); } in visitCallInst() argument
81 for (auto &CI : WorkList) { in perform() local
82 LLVM_DEBUG(dbgs() << "CDCE calls: " << CI->getCalledFunction()->getName() in perform()
84 if (perform(CI)) { in perform()
93 bool perform(CallInst *CI);
94 void checkCandidate(CallInst &CI);
95 void shrinkWrapCI(CallInst *CI, Value *Cond);
96 bool performCallDomainErrorOnly(CallInst *CI, const LibFunc &Func);
97 bool performCallErrors(CallInst *CI, const LibFunc &Func);
98 bool performCallRangeErrorOnly(CallInst *CI, const LibFunc &Func);
[all …]
DInjectTLIMappings.cpp47 static std::string mangleTLIName(StringRef VectorName, const CallInst &CI, in mangleTLIName() argument
52 for (unsigned I = 0; I < CI.getNumArgOperands(); ++I) in mangleTLIName()
54 Out << "_" << CI.getCalledFunction()->getName() << "(" << VectorName << ")"; in mangleTLIName()
72 static void addVariantDeclaration(CallInst &CI, const unsigned VF, in addVariantDeclaration() argument
74 Module *M = CI.getModule(); in addVariantDeclaration()
77 Type *RetTy = ToVectorTy(CI.getType(), VF); in addVariantDeclaration()
79 for (Value *ArgOperand : CI.arg_operands()) in addVariantDeclaration()
81 assert(!CI.getFunctionType()->isVarArg() && in addVariantDeclaration()
86 VectorF->copyAttributesFrom(CI.getCalledFunction()); in addVariantDeclaration()
101 static void addMappingsFromTLI(const TargetLibraryInfo &TLI, CallInst &CI) { in addMappingsFromTLI() argument
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/
DSimplifyLibCalls.h53 Value *optimizeCall(CallInst *CI);
56 Value *optimizeMemCpyChk(CallInst *CI, IRBuilder<> &B);
57 Value *optimizeMemMoveChk(CallInst *CI, IRBuilder<> &B);
58 Value *optimizeMemSetChk(CallInst *CI, IRBuilder<> &B);
61 Value *optimizeStrpCpyChk(CallInst *CI, IRBuilder<> &B, LibFunc Func);
62 Value *optimizeStrpNCpyChk(CallInst *CI, IRBuilder<> &B, LibFunc Func);
63 Value *optimizeMemCCpyChk(CallInst *CI, IRBuilder<> &B);
64 Value *optimizeSNPrintfChk(CallInst *CI, IRBuilder<> &B);
65 Value *optimizeSPrintfChk(CallInst *CI,IRBuilder<> &B);
66 Value *optimizeStrCatChk(CallInst *CI, IRBuilder<> &B);
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DIntrinsicLowering.cpp31 static CallInst *ReplaceCallWith(const char *NewFn, CallInst *CI, in ReplaceCallWith() argument
36 Module *M = CI->getModule(); in ReplaceCallWith()
44 IRBuilder<> Builder(CI->getParent(), CI->getIterator()); in ReplaceCallWith()
47 NewCI->setName(CI->getName()); in ReplaceCallWith()
48 if (!CI->use_empty()) in ReplaceCallWith()
49 CI->replaceAllUsesWith(NewCI); in ReplaceCallWith()
203 static void ReplaceFPIntrinsicWithCall(CallInst *CI, const char *Fname, in ReplaceFPIntrinsicWithCall() argument
206 CallSite CS(CI); in ReplaceFPIntrinsicWithCall()
207 switch (CI->getArgOperand(0)->getType()->getTypeID()) { in ReplaceFPIntrinsicWithCall()
210 ReplaceCallWith(Fname, CI, CS.arg_begin(), CS.arg_end(), in ReplaceFPIntrinsicWithCall()
[all …]
DScalarizeMaskedMemIntrin.cpp66 bool optimizeCallInst(CallInst *CI, bool &ModifiedDT);
127 static void scalarizeMaskedLoad(CallInst *CI, bool &ModifiedDT) { in scalarizeMaskedLoad() argument
128 Value *Ptr = CI->getArgOperand(0); in scalarizeMaskedLoad()
129 Value *Alignment = CI->getArgOperand(1); in scalarizeMaskedLoad()
130 Value *Mask = CI->getArgOperand(2); in scalarizeMaskedLoad()
131 Value *Src0 = CI->getArgOperand(3); in scalarizeMaskedLoad()
134 VectorType *VecType = cast<VectorType>(CI->getType()); in scalarizeMaskedLoad()
138 IRBuilder<> Builder(CI->getContext()); in scalarizeMaskedLoad()
139 Instruction *InsertPt = CI; in scalarizeMaskedLoad()
140 BasicBlock *IfBlock = CI->getParent(); in scalarizeMaskedLoad()
[all …]
DPreISelIntrinsicLowering.cpp40 auto CI = dyn_cast<CallInst>(I->getUser()); in lowerLoadRelative() local
42 if (!CI || CI->getCalledValue() != &F) in lowerLoadRelative()
45 IRBuilder<> B(CI); in lowerLoadRelative()
47 B.CreateGEP(Int8Ty, CI->getArgOperand(0), CI->getArgOperand(1)); in lowerLoadRelative()
51 Value *ResultPtr = B.CreateGEP(Int8Ty, CI->getArgOperand(0), OffsetI32); in lowerLoadRelative()
53 CI->replaceAllUsesWith(ResultPtr); in lowerLoadRelative()
54 CI->eraseFromParent(); in lowerLoadRelative()
94 auto *CI = cast<CallInst>(I->getUser()); in lowerObjCCall() local
95 assert(CI->getCalledFunction() && "Cannot lower an indirect call!"); in lowerObjCCall()
98 IRBuilder<> Builder(CI->getParent(), CI->getIterator()); in lowerObjCCall()
[all …]
DGCRootLowering.cpp64 void VisitCallPoint(MachineBasicBlock::iterator CI);
135 if (CallInst *CI = dyn_cast<CallInst>(I)) in CouldBecomeSafePoint() local
136 if (Function *F = CI->getCalledFunction()) in CouldBecomeSafePoint()
199 IntrinsicInst *CI = dyn_cast<IntrinsicInst>(II++); in DoLowering() local
200 if (!CI) in DoLowering()
203 Function *F = CI->getCalledFunction(); in DoLowering()
208 Value *St = new StoreInst(CI->getArgOperand(0), in DoLowering()
209 CI->getArgOperand(2), CI); in DoLowering()
210 CI->replaceAllUsesWith(St); in DoLowering()
211 CI->eraseFromParent(); in DoLowering()
[all …]
DExpandMemCmp.cpp65 CallInst *const CI; member in __anon38726e5f0111::MemCmpExpansion
118 MemCmpExpansion(CallInst *CI, uint64_t Size,
207 CallInst *const CI, uint64_t Size, in MemCmpExpansion() argument
210 : CI(CI), Size(Size), MaxLoadSize(0), NumLoadsNonOneByte(0), in MemCmpExpansion()
212 IsUsedForZeroCmp(IsUsedForZeroCmp), DL(TheDataLayout), Builder(CI) { in MemCmpExpansion()
253 BasicBlock *BB = BasicBlock::Create(CI->getContext(), "loadbb", in createLoadCmpBlocks()
260 ResBlock.BB = BasicBlock::Create(CI->getContext(), "res_block", in createResultBlock()
270 auto *ByteType = Type::getInt8Ty(CI->getContext()); in getPtrToElementAtOffset()
285 Type *LoadSizeType = Type::getInt8Ty(CI->getContext()); in emitLoadCompareByteBlock()
287 getPtrToElementAtOffset(CI->getArgOperand(0), LoadSizeType, OffsetBytes); in emitLoadCompareByteBlock()
[all …]
DAtomicExpandPass.cpp94 void expandAtomicCmpXchgToMaskedIntrinsic(AtomicCmpXchgInst *CI);
96 AtomicCmpXchgInst *convertCmpXchgToIntegerType(AtomicCmpXchgInst *CI);
102 bool tryExpandAtomicCmpXchg(AtomicCmpXchgInst *CI);
104 bool expandAtomicCmpXchg(AtomicCmpXchgInst *CI);
810 void AtomicExpand::expandPartwordCmpXchg(AtomicCmpXchgInst *CI) { in expandPartwordCmpXchg() argument
846 Value *Addr = CI->getPointerOperand(); in expandPartwordCmpXchg()
847 Value *Cmp = CI->getCompareOperand(); in expandPartwordCmpXchg()
848 Value *NewVal = CI->getNewValOperand(); in expandPartwordCmpXchg()
850 BasicBlock *BB = CI->getParent(); in expandPartwordCmpXchg()
852 IRBuilder<> Builder(CI); in expandPartwordCmpXchg()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSILoadStoreOptimizer.cpp209 static bool dmasksCanBeCombined(const CombineInfo &CI,
212 static bool offsetsCanBeCombined(CombineInfo &CI, const MCSubtargetInfo &STI,
214 static bool widthsFit(const GCNSubtarget &STM, const CombineInfo &CI,
216 static unsigned getNewOpcode(const CombineInfo &CI, const CombineInfo &Paired);
217 static std::pair<unsigned, unsigned> getSubRegIdxs(const CombineInfo &CI,
219 const TargetRegisterClass *getTargetRegisterClass(const CombineInfo &CI,
222 bool findMatchingInst(CombineInfo &CI, CombineInfo &Paired);
226 MachineBasicBlock::iterator mergeRead2Pair(CombineInfo &CI, CombineInfo &Paired);
230 MachineBasicBlock::iterator mergeWrite2Pair(CombineInfo &CI, CombineInfo &Paired);
231 MachineBasicBlock::iterator mergeImagePair(CombineInfo &CI, CombineInfo &Paired);
[all …]
DAMDGPULibCalls.cpp77 bool replaceWithNative(CallInst *CI, const FuncInfo &FInfo);
82 bool TDOFold(CallInst *CI, const FuncInfo &FInfo);
87 bool fold_recip(CallInst *CI, IRBuilder<> &B, const FuncInfo &FInfo);
90 bool fold_divide(CallInst *CI, IRBuilder<> &B, const FuncInfo &FInfo);
93 bool fold_pow(CallInst *CI, IRBuilder<> &B, const FuncInfo &FInfo);
96 bool fold_rootn(CallInst *CI, IRBuilder<> &B, const FuncInfo &FInfo);
99 bool fold_fma_mad(CallInst *CI, IRBuilder<> &B, const FuncInfo &FInfo);
110 bool fold_exp(CallInst *CI, IRBuilder<> &B, const FuncInfo &FInfo);
113 bool fold_exp2(CallInst *CI, IRBuilder<> &B, const FuncInfo &FInfo);
116 bool fold_exp10(CallInst *CI, IRBuilder<> &B, const FuncInfo &FInfo);
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DAutoUpgrade.cpp1053 static Value *UpgradeX86VPERMT2Intrinsics(IRBuilder<> &Builder, CallInst &CI, in UpgradeX86VPERMT2Intrinsics() argument
1055 Type *Ty = CI.getType(); in UpgradeX86VPERMT2Intrinsics()
1099 Value *Args[] = { CI.getArgOperand(0) , CI.getArgOperand(1), in UpgradeX86VPERMT2Intrinsics()
1100 CI.getArgOperand(2) }; in UpgradeX86VPERMT2Intrinsics()
1106 Value *V = Builder.CreateCall(Intrinsic::getDeclaration(CI.getModule(), IID), in UpgradeX86VPERMT2Intrinsics()
1109 : Builder.CreateBitCast(CI.getArgOperand(1), in UpgradeX86VPERMT2Intrinsics()
1111 return EmitX86Select(Builder, CI.getArgOperand(3), V, PassThru); in UpgradeX86VPERMT2Intrinsics()
1114 static Value *UpgradeX86AddSubSatIntrinsics(IRBuilder<> &Builder, CallInst &CI, in UpgradeX86AddSubSatIntrinsics() argument
1116 Type *Ty = CI.getType(); in UpgradeX86AddSubSatIntrinsics()
1117 Value *Op0 = CI.getOperand(0); in UpgradeX86AddSubSatIntrinsics()
[all …]
DIRBuilder.cpp78 CallInst *CI = CallInst::Create(Callee, Ops, Name); in createCallHelper() local
80 CI->copyFastMathFlags(FMFSource); in createCallHelper()
81 Builder->GetInsertBlock()->getInstList().insert(Builder->GetInsertPoint(),CI); in createCallHelper()
82 Builder->SetInstDebugLocation(CI); in createCallHelper()
83 return CI; in createCallHelper()
109 CallInst *CI = createCallHelper(TheFn, Ops, this); in CreateMemSet() local
112 cast<MemSetInst>(CI)->setDestAlignment(Align->value()); in CreateMemSet()
116 CI->setMetadata(LLVMContext::MD_tbaa, TBAATag); in CreateMemSet()
119 CI->setMetadata(LLVMContext::MD_alias_scope, ScopeTag); in CreateMemSet()
122 CI->setMetadata(LLVMContext::MD_noalias, NoAliasTag); in CreateMemSet()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DTailRecursionElimination.cpp240 CallInst *CI = dyn_cast<CallInst>(&I); in markTails() local
241 if (!CI || CI->isTailCall() || isa<DbgInfoIntrinsic>(&I)) in markTails()
244 bool IsNoTail = CI->isNoTailCall() || CI->hasOperandBundles(); in markTails()
246 if (!IsNoTail && CI->doesNotAccessMemory()) { in markTails()
255 for (auto &Arg : CI->arg_operands()) { in markTails()
267 return OptimizationRemark(DEBUG_TYPE, "tailcall-readnone", CI) in markTails()
270 CI->setTailCall(); in markTails()
276 if (!IsNoTail && Escaped == UNESCAPED && !Tracker.AllocaUsers.count(CI)) { in markTails()
277 DeferredTails.push_back(CI); in markTails()
310 for (CallInst *CI : DeferredTails) { in markTails()
[all …]
DLowerExpectIntrinsic.cpp59 CallInst *CI = dyn_cast<CallInst>(SI.getCondition()); in handleSwitchExpect() local
60 if (!CI) in handleSwitchExpect()
63 Function *Fn = CI->getCalledFunction(); in handleSwitchExpect()
67 Value *ArgValue = CI->getArgOperand(0); in handleSwitchExpect()
68 ConstantInt *ExpectedValue = dyn_cast<ConstantInt>(CI->getArgOperand(1)); in handleSwitchExpect()
81 MDBuilder(CI->getContext()) in handleSwitchExpect()
88 MDBuilder(CI->getContext()).createBranchWeights(Weights)); in handleSwitchExpect()
189 ConstantInt *CI = dyn_cast<ConstantInt>(PhiOpnd); in handlePhiDef() local
190 if (!CI) in handlePhiDef()
196 if (ExpectedPhiValue == ApplyOperations(CI->getValue())) in handlePhiDef()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DTypeMetadataUtils.cpp26 const CallInst *CI, DominatorTree &DT) { in findCallsAtConstantOffset() argument
35 if (!DT.dominates(CI, User)) in findCallsAtConstantOffset()
38 findCallsAtConstantOffset(DevirtCalls, HasNonCallUses, User, Offset, CI, in findCallsAtConstantOffset()
40 } else if (auto CI = dyn_cast<CallInst>(User)) { in findCallsAtConstantOffset() local
41 DevirtCalls.push_back({Offset, CI}); in findCallsAtConstantOffset()
53 int64_t Offset, const CallInst *CI, DominatorTree &DT) { in findLoadCallsAtConstantOffset() argument
57 findLoadCallsAtConstantOffset(M, DevirtCalls, User, Offset, CI, DT); in findLoadCallsAtConstantOffset()
59 findCallsAtConstantOffset(DevirtCalls, nullptr, User, Offset, CI, DT); in findLoadCallsAtConstantOffset()
67 CI, DT); in findLoadCallsAtConstantOffset()
75 SmallVectorImpl<CallInst *> &Assumes, const CallInst *CI, in findDevirtualizableCallsForTypeTest() argument
[all …]
DAssumptionCache.cpp57 static void findAffectedValues(CallInst *CI, in findAffectedValues() argument
79 Value *Cond = CI->getArgOperand(0), *A, *B; in findAffectedValues()
114 void AssumptionCache::updateAffectedValues(CallInst *CI) { in updateAffectedValues() argument
116 findAffectedValues(CI, Affected); in updateAffectedValues()
120 if (std::find(AVV.begin(), AVV.end(), CI) == AVV.end()) in updateAffectedValues()
121 AVV.push_back(CI); in updateAffectedValues()
125 void AssumptionCache::unregisterAssumption(CallInst *CI) { in unregisterAssumption() argument
127 findAffectedValues(CI, Affected); in unregisterAssumption()
136 remove_if(AssumeHandles, [CI](WeakTrackingVH &VH) { return CI == VH; }), in unregisterAssumption()
190 void AssumptionCache::registerAssumption(CallInst *CI) { in registerAssumption() argument
[all …]
/third_party/node/deps/npm/node_modules/ci-info/
DREADME.md7 if your CI server isn't properly detected :)
25 console.log('The name of the CI server is:', ci.name)
27 console.log('This program is not running on a CI server')
31 ## Supported CI tools
33 Officially supported CI servers:
46 | [Cirrus CI](https://cirrus-ci.org) | `ci.CIRRUS` | ✅ |
50 | [GitLab CI](https://about.gitlab.com/gitlab-ci/) | `ci.GITLAB` | �� |
53 | [Jenkins CI](https://jenkins-ci.org) | `ci.JENKINS` | ✅ |
54 | [Magnum CI](https://magnum-ci.com) | `ci.MAGNUM` | �� |
55 | [Netlify CI](https://www.netlify.com/) | `ci.NETLIFY` | ✅ |
[all …]
/third_party/node/deps/npm/node_modules/is-ci/node_modules/ci-info/
DREADME.md7 if your CI server isn't properly detected :)
25 console.log('The name of the CI server is:', ci.name)
27 console.log('This program is not running on a CI server')
31 ## Supported CI tools
33 Officially supported CI servers:
45 | [Cirrus CI](https://cirrus-ci.org) | `ci.CIRRUS` |
49 | [GitLab CI](https://about.gitlab.com/gitlab-ci/) | `ci.GITLAB` |
52 | [Jenkins CI](https://jenkins-ci.org) | `ci.JENKINS` |
53 | [Magnum CI](https://magnum-ci.com) | `ci.MAGNUM` |
54 | [Sail CI](https://sail.ci/) | `ci.SAIL` |
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp33 if (ConstantInt *CI = dyn_cast<ConstantInt>(Val)) { in decomposeSimpleLinearExpr() local
34 Offset = CI->getZExtValue(); in decomposeSimpleLinearExpr()
84 Instruction *InstCombiner::PromoteCastOfAllocation(BitCastInst &CI, in PromoteCastOfAllocation() argument
86 PointerType *PTy = cast<PointerType>(CI.getType()); in PromoteCastOfAllocation()
157 return replaceInstUsesWith(CI, New); in PromoteCastOfAllocation()
261 Instruction *InstCombiner::commonCastTransforms(CastInst &CI) { in commonCastTransforms() argument
262 Value *Src = CI.getOperand(0); in commonCastTransforms()
266 if (Instruction::CastOps NewOpc = isEliminableCastPair(CSrc, &CI)) { in commonCastTransforms()
269 auto *Ty = CI.getType(); in commonCastTransforms()
273 replaceAllDbgUsesWith(*CSrc, *Res, CI, DT); in commonCastTransforms()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyLowerEmscriptenEHSjLj.cpp261 template <typename CallOrInvoke> Value *wrapInvoke(CallOrInvoke *CI);
265 template <typename CallOrInvoke> Function *getInvokeWrapper(CallOrInvoke *CI);
375 Value *WebAssemblyLowerEmscriptenEHSjLj::wrapInvoke(CallOrInvoke *CI) { in wrapInvoke() argument
376 LLVMContext &C = CI->getModule()->getContext(); in wrapInvoke()
381 if (CI->doesNotReturn()) { in wrapInvoke()
382 if (auto *F = dyn_cast<Function>(CI->getCalledValue())) in wrapInvoke()
384 CI->removeAttribute(AttributeList::FunctionIndex, Attribute::NoReturn); in wrapInvoke()
388 IRB.SetInsertPoint(CI); in wrapInvoke()
398 Args.push_back(CI->getCalledValue()); in wrapInvoke()
399 Args.append(CI->arg_begin(), CI->arg_end()); in wrapInvoke()
[all …]
/third_party/typescript/tests/baselines/reference/
DclassAbstractMergedDeclaration.js8 abstract class CI {}
9 interface CI {}
34 new CI;
54 var CI = /** @class */ (function () { class
55 function CI() { class in CI
57 return CI;
86 new CI;
/third_party/libphonenumber/cpp/src/phonenumbers/utf/
Dunicodetext.h182 typedef const_iterator CI; typedef
214 friend bool operator==(const CI& lhs, const CI& rhs) {
216 friend bool operator!=(const CI& lhs, const CI& rhs) {
218 friend bool operator<(const CI& lhs, const CI& rhs);
219 friend bool operator>(const CI& lhs, const CI& rhs) {
221 friend bool operator<=(const CI& lhs, const CI& rhs) {
223 friend bool operator>=(const CI& lhs, const CI& rhs) {
226 friend difference_type distance(const CI& first, const CI& last);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCLowerMASSVEntries.cpp57 bool lowerMASSVCall(CallInst *CI, Function &Func, Module &M,
102 bool PPCLowerMASSVEntries::lowerMASSVCall(CallInst *CI, Function &Func, in lowerMASSVCall() argument
105 if (CI->use_empty()) in lowerMASSVCall()
112 CallSite CS(CI); in lowerMASSVCall()
113 CI->setCalledFunction(FCache); in lowerMASSVCall()
143 auto *CI = dyn_cast<CallInst>(User); in runOnModule() local
144 if (!CI) in runOnModule()
147 Subtarget = &TM.getSubtarget<PPCSubtarget>(*CI->getParent()->getParent()); in runOnModule()
148 Changed |= lowerMASSVCall(CI, Func, M, Subtarget); in runOnModule()

12345678910>>...58